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

_ZN7llvm_ks5APIntC2EPmj:
   98|  2.95M|  APInt(uint64_t *val, unsigned bits) : BitWidth(bits), pVal(val) {}
_ZNK7llvm_ks5APInt12isSingleWordEv:
  103|   114M|  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
_ZN7llvm_ks5APInt9whichWordEj:
  108|  22.9k|  static unsigned whichWord(unsigned bitPosition) {
  109|  22.9k|    return bitPosition / APINT_BITS_PER_WORD;
  110|  22.9k|  }
_ZN7llvm_ks5APInt15clearUnusedBitsEv:
  136|  31.3M|  APInt &clearUnusedBits() {
  137|       |    // Compute how many bits are used in the final word
  138|  31.3M|    unsigned wordBits = BitWidth % APINT_BITS_PER_WORD;
  139|  31.3M|    if (wordBits == 0)
  ------------------
  |  Branch (139:9): [True: 31.2M, False: 139k]
  ------------------
  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|  31.2M|      return *this;
  144|       |
  145|       |    // Mask out the high bits.
  146|   139k|    uint64_t mask = ~uint64_t(0ULL) >> (APINT_BITS_PER_WORD - wordBits);
  147|   139k|    if (isSingleWord())
  ------------------
  |  Branch (147:9): [True: 6.68k, False: 133k]
  ------------------
  148|  6.68k|      VAL &= mask;
  149|   133k|    else
  150|   133k|      pVal[getNumWords() - 1] &= mask;
  151|   139k|    return *this;
  152|  31.3M|  }
_ZN7llvm_ks5APIntC2Ejmb:
  237|  26.6M|      : BitWidth(numBits), VAL(0) {
  238|  26.6M|    assert(BitWidth && "bitwidth too small");
  ------------------
  |  Branch (238:5): [True: 26.6M, False: 0]
  |  Branch (238:5): [True: 26.6M, Folded]
  |  Branch (238:5): [True: 26.6M, False: 0]
  ------------------
  239|  26.6M|    if (isSingleWord())
  ------------------
  |  Branch (239:9): [True: 24.7M, False: 1.94M]
  ------------------
  240|  24.7M|      VAL = val;
  241|  1.94M|    else
  242|  1.94M|      initSlowCase(numBits, val, isSigned);
  243|  26.6M|    clearUnusedBits();
  244|  26.6M|  }
_ZN7llvm_ks5APIntC2ERKS0_:
  279|  7.08M|  APInt(const APInt &that) : BitWidth(that.BitWidth), VAL(0) {
  280|  7.08M|    if (isSingleWord())
  ------------------
  |  Branch (280:9): [True: 3.67M, False: 3.40M]
  ------------------
  281|  3.67M|      VAL = that.VAL;
  282|  3.40M|    else
  283|  3.40M|      initSlowCase(that);
  284|  7.08M|  }
_ZN7llvm_ks5APIntC2EOS0_:
  287|  26.2M|  APInt(APInt &&that) : BitWidth(that.BitWidth), VAL(that.VAL) {
  288|  26.2M|    that.BitWidth = 0;
  289|  26.2M|  }
_ZN7llvm_ks5APIntD2Ev:
  292|  66.3M|  ~APInt() {
  293|  66.3M|    if (needsCleanup())
  ------------------
  |  Branch (293:9): [True: 5.09M, False: 61.2M]
  ------------------
  294|  5.09M|      delete[] pVal;
  295|  66.3M|  }
_ZN7llvm_ks5APIntC2Ev:
  302|  3.39M|  explicit APInt() : BitWidth(1), VAL(0) {}
_ZNK7llvm_ks5APInt12needsCleanupEv:
  305|  66.3M|  bool needsCleanup() const { return !isSingleWord(); }
_ZNK7llvm_ks5APInt6isIntNEj:
  373|  1.93M|  bool isIntN(unsigned N) const {
  374|  1.93M|    assert(N && "N == 0 ???");
  ------------------
  |  Branch (374:5): [True: 1.93M, False: 0]
  |  Branch (374:5): [True: 1.93M, Folded]
  |  Branch (374:5): [True: 1.93M, False: 0]
  ------------------
  375|  1.93M|    return getActiveBits() <= N;
  376|  1.93M|  }
_ZNK7llvm_ks5APInt15getLimitedValueEm:
  405|  4.94k|  uint64_t getLimitedValue(uint64_t Limit = ~0ULL) const {
  406|  4.94k|    return (getActiveBits() > 64 || getZExtValue() > Limit) ? Limit
  ------------------
  |  Branch (406:13): [True: 0, False: 4.94k]
  |  Branch (406:37): [True: 0, False: 4.94k]
  ------------------
  407|  4.94k|                                                            : getZExtValue();
  408|  4.94k|  }
_ZNK7llvm_ks5APInt10getRawDataEv:
  574|  2.77k|  const uint64_t *getRawData() const {
  575|  2.77k|    if (isSingleWord())
  ------------------
  |  Branch (575:9): [True: 467, False: 2.30k]
  ------------------
  576|    467|      return &VAL;
  577|  2.30k|    return &pVal[0];
  578|  2.77k|  }
_ZN7llvm_ks5APIntaSERKS0_:
  652|  23.7k|  APInt &operator=(const APInt &RHS) {
  653|       |    // If the bitwidths are the same, we can avoid mucking with memory
  654|  23.7k|    if (isSingleWord() && RHS.isSingleWord()) {
  ------------------
  |  Branch (654:9): [True: 22.2k, False: 1.47k]
  |  Branch (654:27): [True: 20.7k, False: 1.54k]
  ------------------
  655|  20.7k|      VAL = RHS.VAL;
  656|  20.7k|      BitWidth = RHS.BitWidth;
  657|  20.7k|      return clearUnusedBits();
  658|  20.7k|    }
  659|       |
  660|  3.01k|    return AssignSlowCase(RHS);
  661|  23.7k|  }
_ZN7llvm_ks5APIntaSEOS0_:
  664|  3.20M|  APInt &operator=(APInt &&that) {
  665|  3.20M|    if (!isSingleWord()) {
  ------------------
  |  Branch (665:9): [True: 3.20M, False: 749]
  ------------------
  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|  3.20M|      if (this == &that)
  ------------------
  |  Branch (669:11): [True: 0, False: 3.20M]
  ------------------
  670|      0|        return *this;
  671|  3.20M|      delete[] pVal;
  672|  3.20M|    }
  673|       |
  674|       |    // Use memcpy so that type based alias analysis sees both VAL and pVal
  675|       |    // as modified.
  676|  3.20M|    memcpy(&VAL, &that.VAL, sizeof(uint64_t));
  677|       |
  678|       |    // If 'this == &that', avoid zeroing our own bitwidth by storing to 'that'
  679|       |    // first.
  680|  3.20M|    unsigned ThatBitWidth = that.BitWidth;
  681|  3.20M|    that.BitWidth = 0;
  682|  3.20M|    BitWidth = ThatBitWidth;
  683|       |
  684|  3.20M|    return *this;
  685|  3.20M|  }
_ZN7llvm_ks5APIntoREm:
  717|  2.95M|  APInt &operator|=(uint64_t RHS) {
  718|  2.95M|    if (isSingleWord()) {
  ------------------
  |  Branch (718:9): [True: 0, False: 2.95M]
  ------------------
  719|      0|      VAL |= RHS;
  720|      0|      clearUnusedBits();
  721|  2.95M|    } else {
  722|  2.95M|      pVal[0] |= RHS;
  723|  2.95M|    }
  724|  2.95M|    return *this;
  725|  2.95M|  }
_ZN7llvm_ks5APIntlSEj:
  761|  2.95M|  APInt &operator<<=(unsigned shiftAmt) {
  762|  2.95M|    *this = shl(shiftAmt);
  763|  2.95M|    return *this;
  764|  2.95M|  }
_ZNK7llvm_ks5APInt3shlEj:
  869|  2.95M|  APInt LLVM_ATTRIBUTE_UNUSED_RESULT shl(unsigned shiftAmt) const {
  870|  2.95M|    assert(shiftAmt <= BitWidth && "Invalid shift amount");
  ------------------
  |  Branch (870:5): [True: 2.95M, False: 0]
  |  Branch (870:5): [True: 2.95M, Folded]
  |  Branch (870:5): [True: 2.95M, False: 0]
  ------------------
  871|  2.95M|    if (isSingleWord()) {
  ------------------
  |  Branch (871:9): [True: 0, False: 2.95M]
  ------------------
  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|  2.95M|    return shlSlowCase(shiftAmt);
  877|  2.95M|  }
_ZN7llvm_ks5APInt12clearAllBitsEv:
 1240|  11.4k|  void clearAllBits() {
 1241|  11.4k|    if (isSingleWord())
  ------------------
  |  Branch (1241:9): [True: 0, False: 11.4k]
  ------------------
 1242|      0|      VAL = 0;
 1243|  11.4k|    else
 1244|  11.4k|      memset(pVal, 0, getNumWords() * APINT_WORD_SIZE);
 1245|  11.4k|  }
_ZNK7llvm_ks5APInt11getBitWidthEv:
 1274|  3.38M|  unsigned getBitWidth() const { return BitWidth; }
_ZNK7llvm_ks5APInt11getNumWordsEv:
 1281|  31.1M|  unsigned getNumWords() const { return getNumWords(BitWidth); }
_ZN7llvm_ks5APInt11getNumWordsEj:
 1289|  31.1M|  static unsigned getNumWords(unsigned BitWidth) {
 1290|  31.1M|    return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD;
 1291|  31.1M|  }
_ZNK7llvm_ks5APInt13getActiveBitsEv:
 1298|  2.54M|  unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); }
_ZNK7llvm_ks5APInt12getZExtValueEv:
 1328|   887k|  uint64_t getZExtValue() const {
 1329|   887k|    if (isSingleWord())
  ------------------
  |  Branch (1329:9): [True: 307k, False: 580k]
  ------------------
 1330|   307k|      return VAL;
 1331|   887k|    assert(getActiveBits() <= 64 && "Too many bits for uint64_t");
  ------------------
  |  Branch (1331:5): [True: 580k, False: 0]
  |  Branch (1331:5): [True: 580k, Folded]
  |  Branch (1331:5): [True: 580k, False: 0]
  ------------------
 1332|   580k|    return pVal[0];
 1333|   580k|  }
_ZNK7llvm_ks5APInt17countLeadingZerosEv:
 1362|  2.54M|  unsigned countLeadingZeros() const {
 1363|  2.54M|    if (isSingleWord()) {
  ------------------
  |  Branch (1363:9): [True: 255k, False: 2.29M]
  ------------------
 1364|   255k|      unsigned unusedBits = APINT_BITS_PER_WORD - BitWidth;
 1365|   255k|      return llvm_ks::countLeadingZeros(VAL) - unusedBits;
 1366|   255k|    }
 1367|  2.29M|    return countLeadingZerosSlowCase();
 1368|  2.54M|  }
_ZN7llvm_ks8APIntOps4lshrERKNS_5APIntEj:
 1841|    540|inline APInt lshr(const APInt &LHS, unsigned shiftAmt) {
 1842|    540|  return LHS.lshr(shiftAmt);
 1843|    540|}
_ZN7llvm_ks8APIntOps3shlERKNS_5APIntEj:
 1848|    270|inline APInt shl(const APInt &LHS, unsigned shiftAmt) {
 1849|    270|  return LHS.shl(shiftAmt);
 1850|    270|}

_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE5beginEv:
  123|  2.03M|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE3endEv:
  124|  2.11M|    iterator end() const { return Data + Length; }
_ZN7llvm_ks8ArrayRefINS_7SMRangeEEC2ENS_8NoneTypeE:
   54|  87.3k|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINS_7SMFixItEEC2ENS_8NoneTypeE:
   54|  88.6k|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINSt3__14pairIjjEEEC2INS1_9allocatorIS3_EEEERKNS1_6vectorIS3_T_EE:
   79|  1.23k|      : Data(Vec.data()), Length(Vec.size()) {}
_ZN7llvm_ks15MutableArrayRefINS_8AsmTokenEEC2ERS1_:
  233|  11.2k|    /*implicit*/ MutableArrayRef(T &OneElt) : ArrayRef<T>(OneElt) {}
_ZN7llvm_ks8ArrayRefINS_8AsmTokenEEC2ERKS1_:
   58|  11.2k|      : Data(&OneElt), Length(1) {}
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE4sizeEv:
  135|  9.67M|    size_t size() const { return Length; }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE4backEv:
  144|  38.1k|    const T &back() const {
  145|  38.1k|      assert(!empty());
  ------------------
  |  Branch (145:7): [True: 38.1k, False: 0]
  ------------------
  146|  38.1k|      return Data[Length-1];
  147|  38.1k|    }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE5emptyEv:
  130|  38.1k|    bool empty() const { return Length == 0; }
_ZNK7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEE4sizeEv:
  135|  64.5k|    size_t size() const { return Length; }
_ZNK7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEixEm:
  185|  3.90k|    const T &operator[](size_t Index) const {
  186|  3.90k|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 3.90k, False: 0]
  |  Branch (186:7): [True: 3.90k, Folded]
  |  Branch (186:7): [True: 3.90k, False: 0]
  ------------------
  187|  3.90k|      return Data[Index];
  188|  3.90k|    }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEixEm:
  185|  31.7k|    const T &operator[](size_t Index) const {
  186|  31.7k|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 31.7k, False: 0]
  |  Branch (186:7): [True: 31.7k, Folded]
  |  Branch (186:7): [True: 31.7k, False: 0]
  ------------------
  187|  31.7k|      return Data[Index];
  188|  31.7k|    }
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2INSt3__19allocatorIS2_EEEERKNS5_6vectorIS2_T_EE:
   79|  26.1k|      : Data(Vec.data()), Length(Vec.size()) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2INS4_IS6_EEEERKNS2_IS6_T_EE:
   79|  25.4k|      : Data(Vec.data()), Length(Vec.size()) {}
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2ENS_8NoneTypeE:
   54|  9.61M|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2ENS_8NoneTypeE:
   54|  9.61M|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2ERKS2_:
   58|  34.4k|      : Data(&OneElt), Length(1) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2ERKS6_:
   58|  34.4k|      : Data(&OneElt), Length(1) {}
_ZN7llvm_ks8ArrayRefINS_7SMRangeEEC2ERKS1_:
   58|     60|      : Data(&OneElt), Length(1) {}
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE5emptyEv:
  130|  83.1k|    bool empty() const { return Length == 0; }
_ZN7llvm_ks8ArrayRefINS_7SMFixItEEC2IvEERKNS_25SmallVectorTemplateCommonIS1_T_EE:
   73|  83.1k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  83.1k|    }
_ZNK7llvm_ks8ArrayRefINS_7SMRangeEE4sizeEv:
  135|  87.3k|    size_t size() const { return Length; }
_ZNK7llvm_ks8ArrayRefINS_7SMRangeEEixEm:
  185|     60|    const T &operator[](size_t Index) const {
  186|     60|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 60, False: 0]
  |  Branch (186:7): [True: 60, Folded]
  |  Branch (186:7): [True: 60, False: 0]
  ------------------
  187|     60|      return Data[Index];
  188|     60|    }
_ZN7llvm_ks8ArrayRefINSt3__14pairIjjEEEC2IvEERKNS_25SmallVectorTemplateCommonIS3_T_EE:
   73|  87.3k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  87.3k|    }
_ZNK7llvm_ks8ArrayRefINSt3__14pairIjjEEE3vecEv:
  193|  88.6k|    std::vector<T> vec() const {
  194|  88.6k|      return std::vector<T>(Data, Data+Length);
  195|  88.6k|    }
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE5beginEv:
  123|  88.6k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE3endEv:
  124|  88.6k|    iterator end() const { return Data + Length; }
_ZN7llvm_ks12makeArrayRefIcEENS_8ArrayRefIT_EEPKS2_m:
  313|  83.1k|  ArrayRef<T> makeArrayRef(const T *data, size_t length) {
  314|  83.1k|    return ArrayRef<T>(data, length);
  315|  83.1k|  }
_ZN7llvm_ks8ArrayRefIcEC2EPKcm:
   62|  83.1k|      : Data(data), Length(length) {}
_ZNK7llvm_ks8ArrayRefIcE4sizeEv:
  135|  12.9k|    size_t size() const { return Length; }
_ZN7llvm_ks15MutableArrayRefINS_8AsmTokenEEC2ILm3EEERAT__S1_:
  253|    198|      : ArrayRef<T>(Arr) {}
_ZN7llvm_ks8ArrayRefINS_8AsmTokenEEC2ILm3EEERAT__KS1_:
   84|    198|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEEC2ILm86EEERAT__KS1_:
   84|  19.0k|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEEC2ILm68EEERAT__KS1_:
   84|  19.0k|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_7MCFixupEEC2Ev:
   51|  11.6k|    /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks15MutableArrayRefIcEC2Ev:
  227|  11.6k|    /*implicit*/ MutableArrayRef() : ArrayRef<T>() {}
_ZN7llvm_ks8ArrayRefIcEC2Ev:
   51|  11.6k|    /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINS_7MCFixupEEC2IvEERKNS_25SmallVectorTemplateCommonIS1_T_EE:
   73|  11.6k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  11.6k|    }
_ZN7llvm_ks15MutableArrayRefIcEC2ERNS_15SmallVectorImplIcEE:
  244|  11.6k|    : ArrayRef<T>(Vec) {}
_ZN7llvm_ks8ArrayRefIcEC2IvEERKNS_25SmallVectorTemplateCommonIcT_EE:
   73|  11.6k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  11.6k|    }
_ZNK7llvm_ks8ArrayRefINS_7MCFixupEE5beginEv:
  123|  11.6k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_7MCFixupEE3endEv:
  124|  11.6k|    iterator end() const { return Data + Length; }
_ZNK7llvm_ks15MutableArrayRefIcE4dataEv:
  255|  12.9k|    T *data() const { return const_cast<T*>(ArrayRef<T>::data()); }
_ZNK7llvm_ks8ArrayRefIcE4dataEv:
  132|  12.9k|    const T *data() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_8AsmTokenEE4sizeEv:
  135|  34.9k|    size_t size() const { return Length; }
_ZNK7llvm_ks15MutableArrayRefINS_8AsmTokenEEixEm:
  296|  11.7k|    T &operator[](size_t Index) const {
  297|  11.7k|      assert(Index < this->size() && "Invalid index!");
  ------------------
  |  Branch (297:7): [True: 11.7k, False: 0]
  |  Branch (297:7): [True: 11.7k, Folded]
  |  Branch (297:7): [True: 11.7k, False: 0]
  ------------------
  298|  11.7k|      return data()[Index];
  299|  11.7k|    }
_ZNK7llvm_ks15MutableArrayRefINS_8AsmTokenEE4dataEv:
  255|  11.7k|    T *data() const { return const_cast<T*>(ArrayRef<T>::data()); }
_ZNK7llvm_ks8ArrayRefINS_8AsmTokenEE4dataEv:
  132|  11.7k|    const T *data() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE5emptyEv:
  130|  38.0k|    bool empty() const { return Length == 0; }

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

_ZN7llvm_ks12DenseMapInfoIjE11getEmptyKeyEv:
   65|  15.8M|  static inline unsigned getEmptyKey() { return ~0U; }
_ZN7llvm_ks12DenseMapInfoIjE15getTombstoneKeyEv:
   66|  11.1M|  static inline unsigned getTombstoneKey() { return ~0U - 1; }
_ZN7llvm_ks12DenseMapInfoIjE7isEqualERKjS3_:
   68|  78.2M|  static bool isEqual(const unsigned& LHS, const unsigned& RHS) {
   69|  78.2M|    return LHS == RHS;
   70|  78.2M|  }
_ZN7llvm_ks12DenseMapInfoIjE12getHashValueERKj:
   67|  11.0M|  static unsigned getHashValue(const unsigned& Val) { return Val * 37U; }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE11getEmptyKeyEv:
  171|  1.24M|  static inline StringRef getEmptyKey() {
  172|  1.24M|    return StringRef(reinterpret_cast<const char *>(~static_cast<uintptr_t>(0)),
  173|  1.24M|                     0);
  174|  1.24M|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE15getTombstoneKeyEv:
  175|   104k|  static inline StringRef getTombstoneKey() {
  176|   104k|    return StringRef(reinterpret_cast<const char *>(~static_cast<uintptr_t>(1)),
  177|   104k|                     0);
  178|   104k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE12getHashValueES1_:
  179|  16.0k|  static unsigned getHashValue(StringRef Val) {
  180|  16.0k|    assert(Val.data() != getEmptyKey().data() && "Cannot hash the empty key!");
  ------------------
  |  Branch (180:5): [True: 16.0k, False: 0]
  |  Branch (180:5): [True: 16.0k, Folded]
  |  Branch (180:5): [True: 16.0k, False: 0]
  ------------------
  181|  16.0k|    assert(Val.data() != getTombstoneKey().data() &&
  ------------------
  |  Branch (181:5): [True: 16.0k, False: 0]
  |  Branch (181:5): [True: 16.0k, Folded]
  |  Branch (181:5): [True: 16.0k, False: 0]
  ------------------
  182|  16.0k|           "Cannot hash the tombstone key!");
  183|  16.0k|    return (unsigned)(hash_value(Val));
  184|  16.0k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE7isEqualES1_S1_:
  185|   604k|  static bool isEqual(StringRef LHS, StringRef RHS) {
  186|   604k|    if (RHS.data() == getEmptyKey().data())
  ------------------
  |  Branch (186:9): [True: 571k, False: 32.3k]
  ------------------
  187|   571k|      return LHS.data() == getEmptyKey().data();
  188|  32.3k|    if (RHS.data() == getTombstoneKey().data())
  ------------------
  |  Branch (188:9): [True: 32.0k, False: 290]
  ------------------
  189|  32.0k|      return LHS.data() == getTombstoneKey().data();
  190|    290|    return LHS == RHS;
  191|  32.3k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE11getEmptyKeyEv:
   36|   163k|  static inline T* getEmptyKey() {
   37|   163k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|   163k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|   163k|    return reinterpret_cast<T*>(Val);
   40|   163k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE15getTombstoneKeyEv:
   41|  93.3k|  static inline T* getTombstoneKey() {
   42|  93.3k|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|  93.3k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|  93.3k|    return reinterpret_cast<T*>(Val);
   45|  93.3k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE7isEqualES3_S3_:
   50|  3.64M|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE12getHashValueES3_:
   46|  39.9k|  static unsigned getHashValue(const T *PtrVal) {
   47|  39.9k|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|  39.9k|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|  39.9k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE11getEmptyKeyEv:
   36|   427k|  static inline T* getEmptyKey() {
   37|   427k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|   427k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|   427k|    return reinterpret_cast<T*>(Val);
   40|   427k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE15getTombstoneKeyEv:
   41|   409k|  static inline T* getTombstoneKey() {
   42|   409k|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|   409k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|   409k|    return reinterpret_cast<T*>(Val);
   45|   409k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE7isEqualES3_S3_:
   50|  1.79M|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE12getHashValueES3_:
   46|   400k|  static unsigned getHashValue(const T *PtrVal) {
   47|   400k|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|   400k|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|   400k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE11getEmptyKeyEv:
   36|    952|  static inline T* getEmptyKey() {
   37|    952|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|    952|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|    952|    return reinterpret_cast<T*>(Val);
   40|    952|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE15getTombstoneKeyEv:
   41|    559|  static inline T* getTombstoneKey() {
   42|    559|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|    559|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|    559|    return reinterpret_cast<T*>(Val);
   45|    559|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE7isEqualES3_S3_:
   50|  7.71k|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE12getHashValueES3_:
   46|    477|  static unsigned getHashValue(const T *PtrVal) {
   47|    477|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|    477|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|    477|  }

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

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

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

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

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

_ZN7llvm_ks14array_lengthofIbLm4EEEmRAT0__T_:
  283|   247k|LLVM_CONSTEXPR inline size_t array_lengthof(T (&)[N]) {
  284|   247k|  return N;
  285|   247k|}
_ZN7llvm_ks11make_uniqueINS_10X86OperandEJNS1_6KindTyERNS_5SMLocES4_EEENSt3__19enable_ifIXntsr3std8is_arrayIT_EE5valueENS5_10unique_ptrIS7_NS5_14default_deleteIS7_EEEEE4typeEDpOT0_:
  405|   346k|make_unique(Args &&... args) {
  406|   346k|  return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
  407|   346k|}
_ZN7llvm_ks14array_lengthofIjLm4EEEmRAT0__T_:
  283|  3.35k|LLVM_CONSTEXPR inline size_t array_lengthof(T (&)[N]) {
  284|  3.35k|  return N;
  285|  3.35k|}
_ZN7llvm_ks14array_lengthofIKNS_15MCFixupKindInfoELm16EEEmRAT0__T_:
  283|  53.6k|LLVM_CONSTEXPR inline size_t array_lengthof(T (&)[N]) {
  284|  53.6k|  return N;
  285|  53.6k|}

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

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

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

_ZN7llvm_ks15SmallVectorImplIcED2Ev:
  368|  2.37M|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  2.37M|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  2.37M|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 2.34k, False: 2.37M]
  ------------------
  374|  2.34k|      free(this->begin());
  375|  2.37M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE13destroy_rangeEPcS2_:
  284|  2.41M|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE5beginEv:
  113|  3.35M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE3endEv:
  117|   584M|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE7isSmallEv:
   86|  2.37M|  bool isSmall() const {
   87|  2.37M|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  2.37M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE4sizeEv:
  132|  85.5M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE3endEv:
  119|  85.9M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE5beginEv:
  115|  87.1M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE4dataEv:
  139|  38.4k|  pointer data() { return pointer(begin()); }
_ZN7llvm_ks11SmallVectorIcLj1024EEC2Ev:
  872|  19.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  19.0k|  }
_ZN7llvm_ks15SmallVectorImplIcEC2Ej:
  364|  2.37M|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  2.37M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EEC2Em:
  281|  2.37M|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIcvEC2Em:
   78|  2.37M|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorBaseC2EPvm:
   40|  14.9M|    : BeginX(FirstEl), EndX(FirstEl), CapacityX((char*)FirstEl+Size) {}
_ZNK7llvm_ks15SmallVectorBase13size_in_bytesEv:
   48|  19.6k|  size_t size_in_bytes() const {
   49|  19.6k|    return size_t((char*)EndX - (char*)BeginX);
   50|  19.6k|  }
_ZNK7llvm_ks15SmallVectorBase17capacity_in_bytesEv:
   53|  19.6k|  size_t capacity_in_bytes() const {
   54|  19.6k|    return size_t((char*)CapacityX - (char*)BeginX);
   55|  19.6k|  }
_ZNK7llvm_ks15SmallVectorBase5emptyEv:
   57|   499M|  bool LLVM_ATTRIBUTE_UNUSED_RESULT empty() const { return BeginX == EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE4dataEv:
  141|  21.7k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EE13destroy_rangeEPS1_S3_:
  284|   131k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE7isSmallEv:
   86|  50.3k|  bool isSmall() const {
   87|  50.3k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  50.3k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEixEm:
  149|   116k|  const_reference operator[](size_type idx) const {
  150|   116k|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 116k, False: 0]
  ------------------
  151|   116k|    return begin()[idx];
  152|   116k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEixEm:
  144|   101k|  reference operator[](size_type idx) {
  145|   101k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 101k, False: 0]
  ------------------
  146|   101k|    return begin()[idx];
  147|   101k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE4sizeEv:
  132|   288k|  size_type size() const { return end()-begin(); }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EE9push_backERKS1_:
  337|   107k|  void push_back(const T &Elt) {
  338|   107k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|   107k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 107k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|   107k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|   107k|    this->setEnd(this->end()+1);
  342|   107k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE6setEndEPS1_:
   95|   123k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEE5clearEv:
  378|  76.5k|  void clear() {
  379|  76.5k|    this->destroy_range(this->begin(), this->end());
  380|  76.5k|    this->EndX = this->BeginX;
  381|  76.5k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE5beginEv:
  113|   255k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE5beginEv:
  115|   436k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE3endEv:
  117|   346k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE3endEv:
  119|   300k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE13destroy_rangeEPS1_S3_:
  284|  55.4k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE5beginEv:
  113|  97.6k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE3endEv:
  117|   202k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE7isSmallEv:
   86|  51.1k|  bool isSmall() const {
   87|  51.1k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  51.1k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEEaSERKS2_:
  739|  15.8k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|  15.8k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 15.8k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|  15.8k|  size_t RHSSize = RHS.size();
  746|  15.8k|  size_t CurSize = this->size();
  747|  15.8k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 4.23k, False: 11.6k]
  ------------------
  748|       |    // Assign common elements.
  749|  4.23k|    iterator NewEnd;
  750|  4.23k|    if (RHSSize)
  ------------------
  |  Branch (750:9): [True: 4.23k, False: 0]
  ------------------
  751|  4.23k|      NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin());
  752|      0|    else
  753|      0|      NewEnd = this->begin();
  754|       |
  755|       |    // Destroy excess elements.
  756|  4.23k|    this->destroy_range(NewEnd, this->end());
  757|       |
  758|       |    // Trim.
  759|  4.23k|    this->setEnd(NewEnd);
  760|  4.23k|    return *this;
  761|  4.23k|  }
  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|  11.6k|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 0, False: 11.6k]
  ------------------
  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|  11.6k|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 0, False: 11.6k]
  ------------------
  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|  11.6k|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|  11.6k|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|  11.6k|  this->setEnd(this->begin()+RHSSize);
  783|  11.6k|  return *this;
  784|  15.8k|}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE8capacityEv:
  136|  11.6k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE12capacity_ptrEv:
  122|  11.6k|  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|  11.6k|                                           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|  11.6k|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 11.6k, False: 0]
  ------------------
  328|  11.6k|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|  11.6k|  }
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEaSERKS2_:
  900|  8.47k|  const SmallVector &operator=(const SmallVector &RHS) {
  901|  8.47k|    SmallVectorImpl<T>::operator=(RHS);
  902|  8.47k|    return *this;
  903|  8.47k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE9push_backERKc:
  337|  8.39k|  void push_back(const T &Elt) {
  338|  8.39k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  8.39k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 41, False: 8.35k]
  |  |  ------------------
  ------------------
  339|     41|      this->grow();
  340|  8.39k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  8.39k|    this->setEnd(this->end()+1);
  342|  8.39k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE4growEm:
  333|  6.73k|  void grow(size_t MinSize = 0) {
  334|  6.73k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  6.73k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE8grow_podEmm:
   80|  6.73k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  6.73k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  6.73k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE6setEndEPc:
   95|   194M|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELb0EE13destroy_rangeEPS7_S9_:
  180|     62|  static void destroy_range(T *S, T *E) {
  181|     62|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 62]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|     62|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE5beginEv:
  113|     62|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE3endEv:
  117|     62|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE7isSmallEv:
   86|     62|  bool isSmall() const {
   87|     62|    return BeginX == static_cast<const void*>(&FirstEl);
   88|     62|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_11MCDwarfFileELb0EE13destroy_rangeEPS1_S3_:
  180|     62|  static void destroy_range(T *S, T *E) {
  181|     62|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 62]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|     62|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE5beginEv:
  113|     62|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE3endEv:
  117|     62|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE7isSmallEv:
   86|     62|  bool isSmall() const {
   87|     62|    return BeginX == static_cast<const void*>(&FirstEl);
   88|     62|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE3endEv:
  117|   359k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE4growEm:
  333|    901|  void grow(size_t MinSize = 0) {
  334|    901|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    901|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE8grow_podEmm:
   80|    901|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    901|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    901|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE6setEndEPS2_:
   95|   156k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE13destroy_rangeEPS2_S4_:
  284|  33.0k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE5beginEv:
  113|  47.5k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE7isSmallEv:
   86|  19.0k|  bool isSmall() const {
   87|  19.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  19.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_14MCLOHDirectiveELb0EE13destroy_rangeEPS1_S3_:
  180|  19.0k|  static void destroy_range(T *S, T *E) {
  181|  19.0k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 19.0k]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|  19.0k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE5beginEv:
  113|  19.0k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE3endEv:
  117|  19.0k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE7isSmallEv:
   86|  19.0k|  bool isSmall() const {
   87|  19.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  19.0k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEE5clearEv:
  378|  14.0k|  void clear() {
  379|  14.0k|    this->destroy_range(this->begin(), this->end());
  380|  14.0k|    this->EndX = this->BeginX;
  381|  14.0k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE4backEv:
  167|   168M|  const_reference back() const {
  168|   168M|    assert(!empty());
  ------------------
  |  Branch (168:5): [True: 168M, False: 0]
  ------------------
  169|   168M|    return end()[-1];
  170|   168M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE3endEv:
  119|   168M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EE9push_backERKS9_:
  337|  19.0k|  void push_back(const T &Elt) {
  338|  19.0k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  19.0k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 19.0k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  19.0k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  19.0k|    this->setEnd(this->end()+1);
  342|  19.0k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE6setEndEPS9_:
   95|  19.0k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE3endEv:
  117|   126k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE4backEv:
  163|  68.9k|  reference back() {
  164|  68.9k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 68.9k, False: 0]
  ------------------
  165|  68.9k|    return end()[-1];
  166|  68.9k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv:
  115|  2.31M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE4sizeEv:
  132|  2.31M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE3endEv:
  119|  2.31M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplIcE5clearEv:
  378|  38.0k|  void clear() {
  379|  38.0k|    this->destroy_range(this->begin(), this->end());
  380|  38.0k|    this->EndX = this->BeginX;
  381|  38.0k|  }
_ZN7llvm_ks15SmallVectorImplIcE6appendIPKcEEvT_S5_:
  423|   194M|  void append(in_iter in_start, in_iter in_end) {
  424|   194M|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|   194M|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 5.71k, False: 194M]
  ------------------
  427|  5.71k|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|   194M|    this->uninitialized_copy(in_start, in_end, this->end());
  431|   194M|    this->setEnd(this->end() + NumInputs);
  432|   194M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE12capacity_ptrEv:
  121|   194M|  iterator capacity_ptr() { return (iterator)this->CapacityX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIKccEEvPT_S5_PT0_PNSt3__19enable_ifIXsr3std7is_sameINS8_12remove_constIS4_E4typeES6_EE5valueEvE4typeE:
  322|   194M|                                           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|   194M|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 194M, False: 113]
  ------------------
  328|   194M|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|   194M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE9push_backERKS4_:
  337|     13|  void push_back(const T &Elt) {
  338|     13|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|     13|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 13, False: 0]
  |  |  ------------------
  ------------------
  339|     13|      this->grow();
  340|     13|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|     13|    this->setEnd(this->end()+1);
  342|     13|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE4growEm:
  333|     13|  void grow(size_t MinSize = 0) {
  334|     13|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|     13|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE8grow_podEmm:
   80|     13|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|     13|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|     13|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE3endEv:
  117|   723k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE6setEndEPS4_:
   95|     13|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE4sizeEv:
  132|  85.0k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE3endEv:
  119|  85.0k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE5beginEv:
  115|  85.0k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE9push_backERKS1_:
  337|  85.0k|  void push_back(const T &Elt) {
  338|  85.0k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  85.0k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 481, False: 84.5k]
  |  |  ------------------
  ------------------
  339|    481|      this->grow();
  340|  85.0k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  85.0k|    this->setEnd(this->end()+1);
  342|  85.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE4growEm:
  333|    481|  void grow(size_t MinSize = 0) {
  334|    481|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    481|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE8grow_podEmm:
   80|    481|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    481|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    481|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE3endEv:
  117|   922k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE6setEndEPS1_:
   95|   143k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5beginEv:
  113|  78.6M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE5eraseEPS1_:
  462|  26.1M|  iterator erase(iterator I) {
  463|  26.1M|    assert(I >= this->begin() && "Iterator to erase is out of bounds.");
  ------------------
  |  Branch (463:5): [True: 26.1M, False: 0]
  |  Branch (463:5): [True: 26.1M, Folded]
  |  Branch (463:5): [True: 26.1M, False: 0]
  ------------------
  464|  26.1M|    assert(I < this->end() && "Erasing at past-the-end iterator.");
  ------------------
  |  Branch (464:5): [True: 26.1M, False: 0]
  |  Branch (464:5): [True: 26.1M, Folded]
  |  Branch (464:5): [True: 26.1M, False: 0]
  ------------------
  465|       |
  466|  26.1M|    iterator N = I;
  467|       |    // Shift all elts down one.
  468|  26.1M|    this->move(I+1, this->end(), I);
  469|       |    // Drop the last elt.
  470|  26.1M|    this->pop_back();
  471|  26.1M|    return(N);
  472|  26.1M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE3endEv:
  117|   157M|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE4moveIPS1_S4_EET0_T_S6_S5_:
  191|  26.1M|  static It2 move(It1 I, It1 E, It2 Dest) {
  192|  26.1M|    for (; I != E; ++I, ++Dest)
  ------------------
  |  Branch (192:12): [True: 0, False: 26.1M]
  ------------------
  193|      0|      *Dest = ::std::move(*I);
  194|  26.1M|    return Dest;
  195|  26.1M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE8pop_backEv:
  243|  26.1M|  void pop_back() {
  244|  26.1M|    this->setEnd(this->end()-1);
  245|  26.1M|    this->end()->~T();
  246|  26.1M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE6setEndEPS1_:
   95|  52.4M|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE12emplace_backIJS1_EEEvDpOT_:
  659|  26.1M|  template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) {
  660|  26.1M|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  26.1M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 26.1M]
  |  |  ------------------
  ------------------
  661|      0|      this->grow();
  662|  26.1M|    ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...);
  663|  26.1M|    this->setEnd(this->end() + 1);
  664|  26.1M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5beginEv:
  115|   189M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE4sizeEv:
  132|  94.9M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE3endEv:
  119|  94.9M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE13destroy_rangeEPS1_S3_:
  180|  19.0k|  static void destroy_range(T *S, T *E) {
  181|  38.0k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 19.0k, False: 19.0k]
  ------------------
  182|  19.0k|      --E;
  183|  19.0k|      E->~T();
  184|  19.0k|    }
  185|  19.0k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE7isSmallEv:
   86|  19.0k|  bool isSmall() const {
   87|  19.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  19.0k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5frontEv:
  154|  26.1M|  reference front() {
  155|  26.1M|    assert(!empty());
  ------------------
  |  Branch (155:5): [True: 26.1M, False: 0]
  ------------------
  156|  26.1M|    return begin()[0];
  157|  26.1M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvEixEm:
  149|  94.9M|  const_reference operator[](size_type idx) const {
  150|  94.9M|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 94.9M, False: 0]
  ------------------
  151|  94.9M|    return begin()[idx];
  152|  94.9M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EE13destroy_rangeEPS1_S3_:
  180|  88.6k|  static void destroy_range(T *S, T *E) {
  181|  88.6k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 88.6k]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|  88.6k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv:
  113|   177k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE3endEv:
  117|   443k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE7isSmallEv:
   86|  88.6k|  bool isSmall() const {
   87|  88.6k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  88.6k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv:
  115|   166k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE4sizeEv:
  132|  83.1k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE3endEv:
  119|  83.1k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE6setEndEPS1_:
   95|  88.6k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE4dataEv:
  141|  83.1k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks11SmallVectorINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELj3EEC2Ev:
  872|     62|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     62|  }
_ZN7llvm_ks15SmallVectorImplINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEC2Ej:
  364|     62|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|     62|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELb0EEC2Em:
  178|     62|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvEC2Em:
   78|     62|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_11MCDwarfFileELj3EEC2Ev:
  872|     62|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     62|  }
_ZN7llvm_ks15SmallVectorImplINS_11MCDwarfFileEEC2Ej:
  364|     62|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|     62|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_11MCDwarfFileELb0EEC2Em:
  178|     62|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvEC2Em:
   78|     62|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_11MCDwarfFileEED2Ev:
  368|     62|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|     62|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|     62|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 62]
  ------------------
  374|      0|      free(this->begin());
  375|     62|  }
_ZN7llvm_ks15SmallVectorImplINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEED2Ev:
  368|     62|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|     62|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|     62|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 62]
  ------------------
  374|      0|      free(this->begin());
  375|     62|  }
_ZN7llvm_ks11SmallVectorIcLj128EEC2Ev:
  872|  1.26M|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  1.26M|  }
_ZN7llvm_ks11SmallVectorIPvLj4EEC2Ev:
  872|   114k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   114k|  }
_ZN7llvm_ks15SmallVectorImplIPvEC2Ej:
  364|   114k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   114k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EEC2Em:
  281|   114k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvEC2Em:
   78|   114k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINSt3__14pairIPvmEELj0EEC2Ev:
  872|   114k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   114k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEEC2Ej:
  364|   114k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   114k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EEC2Em:
  281|   114k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvEC2Em:
   78|   114k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIPvED2Ev:
  368|   114k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   114k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   114k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 243, False: 114k]
  ------------------
  374|    243|      free(this->begin());
  375|   114k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE13destroy_rangeEPS1_S3_:
  284|   173k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE5beginEv:
  113|   779k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE7isSmallEv:
   86|   114k|  bool isSmall() const {
   87|   114k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   114k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE5beginEv:
  113|   723k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEED2Ev:
  368|   114k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   114k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   114k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 7, False: 114k]
  ------------------
  374|      7|      free(this->begin());
  375|   114k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE13destroy_rangeEPS4_S6_:
  284|   285k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE7isSmallEv:
   86|   114k|  bool isSmall() const {
   87|   114k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   114k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE4backEv:
  163|  77.8k|  reference back() {
  164|  77.8k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 77.8k, False: 0]
  ------------------
  165|  77.8k|    return end()[-1];
  166|  77.8k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEE5clearEv:
  378|   171k|  void clear() {
  379|   171k|    this->destroy_range(this->begin(), this->end());
  380|   171k|    this->EndX = this->BeginX;
  381|   171k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE5frontEv:
  154|  58.8k|  reference front() {
  155|  58.8k|    assert(!empty());
  ------------------
  |  Branch (155:5): [True: 58.8k, False: 0]
  ------------------
  156|  58.8k|    return begin()[0];
  157|  58.8k|  }
_ZN7llvm_ks15SmallVectorImplIPvE5eraseEPS1_S3_:
  474|  58.8k|  iterator erase(iterator S, iterator E) {
  475|  58.8k|    assert(S >= this->begin() && "Range to erase is out of bounds.");
  ------------------
  |  Branch (475:5): [True: 58.8k, False: 0]
  |  Branch (475:5): [True: 58.8k, Folded]
  |  Branch (475:5): [True: 58.8k, False: 0]
  ------------------
  476|  58.8k|    assert(S <= E && "Trying to erase invalid range.");
  ------------------
  |  Branch (476:5): [True: 58.8k, False: 0]
  |  Branch (476:5): [True: 58.8k, Folded]
  |  Branch (476:5): [True: 58.8k, False: 0]
  ------------------
  477|  58.8k|    assert(E <= this->end() && "Trying to erase past the end.");
  ------------------
  |  Branch (477:5): [True: 58.8k, False: 0]
  |  Branch (477:5): [True: 58.8k, Folded]
  |  Branch (477:5): [True: 58.8k, False: 0]
  ------------------
  478|       |
  479|  58.8k|    iterator N = S;
  480|       |    // Shift all elts down.
  481|  58.8k|    iterator I = this->move(E, this->end(), S);
  482|       |    // Drop the last elts.
  483|  58.8k|    this->destroy_range(I, this->end());
  484|  58.8k|    this->setEnd(I);
  485|  58.8k|    return(N);
  486|  58.8k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE4moveIPS1_S4_EET0_T_S6_S5_:
  289|  58.8k|  static It2 move(It1 I, It1 E, It2 Dest) {
  290|  58.8k|    return ::std::copy(I, E, Dest);
  291|  58.8k|  }
_ZN7llvm_ks11SmallVectorIcLj128EEC2IPKcEET_S5_:
  881|   384k|  SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
  882|   384k|    this->append(S, E);
  883|   384k|  }
_ZN7llvm_ks15SmallVectorImplIcE6resizeEm:
  383|   172k|  void resize(size_type N) {
  384|   172k|    if (N < this->size()) {
  ------------------
  |  Branch (384:9): [True: 0, False: 172k]
  ------------------
  385|      0|      this->destroy_range(this->begin()+N, this->end());
  386|      0|      this->setEnd(this->begin()+N);
  387|   172k|    } else if (N > this->size()) {
  ------------------
  |  Branch (387:16): [True: 0, False: 172k]
  ------------------
  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|   172k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE8capacityEv:
  136|   433k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE12capacity_ptrEv:
  122|   433k|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZN7llvm_ks11SmallVectorIcLj128EEC2ERKS1_:
  895|   384k|  SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
  896|   384k|    if (!RHS.empty())
  ------------------
  |  Branch (896:9): [True: 384k, False: 0]
  ------------------
  897|   384k|      SmallVectorImpl<T>::operator=(RHS);
  898|   384k|  }
_ZN7llvm_ks15SmallVectorImplIcEaSERKS1_:
  739|   388k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|   388k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 388k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|   388k|  size_t RHSSize = RHS.size();
  746|   388k|  size_t CurSize = this->size();
  747|   388k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 0, False: 388k]
  ------------------
  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|   388k|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 127, False: 388k]
  ------------------
  767|       |    // Destroy current elements.
  768|    127|    this->destroy_range(this->begin(), this->end());
  769|    127|    this->setEnd(this->begin());
  770|    127|    CurSize = 0;
  771|    127|    this->grow(RHSSize);
  772|   388k|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 4.23k, False: 384k]
  ------------------
  773|       |    // Otherwise, use assignment for the already-constructed elements.
  774|  4.23k|    std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
  775|  4.23k|  }
  776|       |
  777|       |  // Copy construct the new elements in place.
  778|   388k|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|   388k|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|   388k|  this->setEnd(this->begin()+RHSSize);
  783|   388k|  return *this;
  784|   388k|}
_ZN7llvm_ks11SmallVectorIcLj64EEC2Ev:
  872|  4.98k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  4.98k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE4sizeEv:
  132|     61|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE3endEv:
  119|     61|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE5beginEv:
  115|     61|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIccEEvPT_S4_PT0_PNSt3__19enable_ifIXsr3std7is_sameINS7_12remove_constIS3_E4typeES5_EE5valueEvE4typeE:
  322|  32.1k|                                           T2>::value>::type * = nullptr) {
  323|       |    // Use memcpy for PODs iterated by pointers (which includes SmallVector
  324|       |    // iterators): std::uninitialized_copy optimizes to memmove, but we can
  325|       |    // use memcpy here. Note that I and E are iterators and thus might be
  326|       |    // invalid for memcpy if they are equal.
  327|  32.1k|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 32.1k, False: 0]
  ------------------
  328|  32.1k|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|  32.1k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_14MCDataFragmentEED2Ev:
  368|  19.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  19.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  19.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 19.0k]
  ------------------
  374|      0|      free(this->begin());
  375|  19.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_14MCDataFragmentELb1EE13destroy_rangeEPS2_S4_:
  284|  19.0k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE5beginEv:
  113|  19.0k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE3endEv:
  117|  19.0k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE7isSmallEv:
   86|  19.0k|  bool isSmall() const {
   87|  19.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  19.0k|  }
_ZN7llvm_ks11SmallVectorIcLj32EEC2Ev:
  872|  14.7k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  14.7k|  }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEED2Ev:
  368|  51.1k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  51.1k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  51.1k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 468, False: 50.7k]
  ------------------
  374|    468|      free(this->begin());
  375|  51.1k|  }
_ZN7llvm_ks11SmallVectorIPNS_14MCDataFragmentELj4EEC2Ev:
  872|  19.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  19.0k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_14MCDataFragmentEEC2Ej:
  364|  19.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  19.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_14MCDataFragmentELb1EEC2Em:
  281|  19.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvEC2Em:
   78|  19.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorIcLj256EEC2Ev:
  872|   287k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   287k|  }
_ZN7llvm_ks15SmallVectorImplIcE6appendIPcEEvT_S4_:
  423|  32.1k|  void append(in_iter in_start, in_iter in_end) {
  424|  32.1k|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|  32.1k|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 364, False: 31.8k]
  ------------------
  427|    364|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|  32.1k|    this->uninitialized_copy(in_start, in_end, this->end());
  431|  32.1k|    this->setEnd(this->end() + NumInputs);
  432|  32.1k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE4sizeEv:
  132|   118k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE3endEv:
  119|   126k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE5beginEv:
  115|   146k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvEixEm:
  144|  41.7k|  reference operator[](size_type idx) {
  145|  41.7k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 41.7k, False: 0]
  ------------------
  146|  41.7k|    return begin()[idx];
  147|  41.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE9push_backERKS1_:
  337|  73.5k|  void push_back(const T &Elt) {
  338|  73.5k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  73.5k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 1.17k, False: 72.3k]
  |  |  ------------------
  ------------------
  339|  1.17k|      this->grow();
  340|  73.5k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  73.5k|    this->setEnd(this->end()+1);
  342|  73.5k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE4growEm:
  333|  1.17k|  void grow(size_t MinSize = 0) {
  334|  1.17k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  1.17k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE8grow_podEmm:
   80|  1.17k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  1.17k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  1.17k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE6setEndEPS1_:
   95|  77.7k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks11SmallVectorINS_7MCFixupELj4EEC2Ev:
  872|  43.8k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  43.8k|  }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEEC2Ej:
  364|  51.1k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  51.1k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EEC2Em:
  281|  51.1k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvEC2Em:
   78|  51.1k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIPNS_9MCSectionEED2Ev:
  368|  8.80k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  8.80k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  8.80k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 2, False: 8.80k]
  ------------------
  374|      2|      free(this->begin());
  375|  8.80k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE13destroy_rangeEPS2_S4_:
  284|  8.80k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE5beginEv:
  113|  27.1k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE3endEv:
  117|  27.1k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE7isSmallEv:
   86|  8.80k|  bool isSmall() const {
   87|  8.80k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  8.80k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEED2Ev:
  368|  50.3k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  50.3k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  50.3k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 50.3k]
  ------------------
  374|      0|      free(this->begin());
  375|  50.3k|  }
_ZN7llvm_ks11SmallVectorIPNS_9MCSectionELj16EEC2Ev:
  872|  8.80k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  8.80k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_9MCSectionEEC2Ej:
  364|  8.80k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  8.80k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EEC2Em:
  281|  8.80k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvEC2Em:
   78|  8.80k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE9push_backERKS2_:
  337|  9.17k|  void push_back(const T &Elt) {
  338|  9.17k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  9.17k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 2, False: 9.17k]
  |  |  ------------------
  ------------------
  339|      2|      this->grow();
  340|  9.17k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  9.17k|    this->setEnd(this->end()+1);
  342|  9.17k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE4growEm:
  333|      2|  void grow(size_t MinSize = 0) {
  334|      2|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|      2|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE8grow_podEmm:
   80|      2|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|      2|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|      2|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE6setEndEPS2_:
   95|  9.17k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEED2Ev:
  368|  19.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  19.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  19.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 468, False: 18.5k]
  ------------------
  374|    468|      free(this->begin());
  375|  19.0k|  }
_ZN7llvm_ks11SmallVectorIcLj8EEC2Ev:
  872|  7.42k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  7.42k|  }
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEC2Ev:
  872|  42.9k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  42.9k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEEC2Ej:
  364|  50.3k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  50.3k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EEC2Em:
  281|  50.3k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEC2Em:
   78|  50.3k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_7MCFixupELj1EEC2Ev:
  872|  7.37k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  7.37k|  }
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEC2ERKS2_:
  895|  7.37k|  SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
  896|  7.37k|    if (!RHS.empty())
  ------------------
  |  Branch (896:9): [True: 7.37k, False: 0]
  ------------------
  897|  7.37k|      SmallVectorImpl<T>::operator=(RHS);
  898|  7.37k|  }
_ZN7llvm_ks11SmallVectorIPNS_8MCSymbolELj2EEC2Ev:
  872|  19.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  19.0k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEEC2Ej:
  364|  19.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  19.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EEC2Em:
  281|  19.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvEC2Em:
   78|  19.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIcE6resizeEmRKc:
  396|  44.7k|  void resize(size_type N, const T &NV) {
  397|  44.7k|    if (N < this->size()) {
  ------------------
  |  Branch (397:9): [True: 0, False: 44.7k]
  ------------------
  398|      0|      this->destroy_range(this->begin()+N, this->end());
  399|      0|      this->setEnd(this->begin()+N);
  400|  44.7k|    } else if (N > this->size()) {
  ------------------
  |  Branch (400:16): [True: 44.7k, False: 0]
  ------------------
  401|  44.7k|      if (this->capacity() < N)
  ------------------
  |  Branch (401:11): [True: 495, False: 44.2k]
  ------------------
  402|    495|        this->grow(N);
  403|  44.7k|      std::uninitialized_fill(this->end(), this->begin()+N, NV);
  404|  44.7k|      this->setEnd(this->begin()+N);
  405|  44.7k|    }
  406|  44.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE9push_backERKS2_:
  337|   156k|  void push_back(const T &Elt) {
  338|   156k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|   156k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 901, False: 155k]
  |  |  ------------------
  ------------------
  339|    901|      this->grow();
  340|   156k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|   156k|    this->setEnd(this->end()+1);
  342|   156k|  }
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEED2Ev:
  368|  88.6k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  88.6k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  88.6k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 88.6k]
  ------------------
  374|      0|      free(this->begin());
  375|  88.6k|  }
_ZN7llvm_ks11SmallVectorINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELj8EEC2Ev:
  872|  10.7M|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  10.7M|  }
_ZN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEEC2Ej:
  364|  10.7M|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  10.7M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EEC2Em:
  178|  10.7M|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEC2Em:
   78|  10.7M|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_5SMLocELj4EEC2Ev:
  872|  31.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  31.4k|  }
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEEC2Ej:
  364|  31.4k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  31.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EEC2Em:
  281|  31.4k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvEC2Em:
   78|  31.4k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEE6resizeEm:
  383|  45.1k|  void resize(size_type N) {
  384|  45.1k|    if (N < this->size()) {
  ------------------
  |  Branch (384:9): [True: 0, False: 45.1k]
  ------------------
  385|      0|      this->destroy_range(this->begin()+N, this->end());
  386|      0|      this->setEnd(this->begin()+N);
  387|  45.1k|    } else if (N > this->size()) {
  ------------------
  |  Branch (387:16): [True: 18.2k, False: 26.9k]
  ------------------
  388|  18.2k|      if (this->capacity() < N)
  ------------------
  |  Branch (388:11): [True: 2.76k, False: 15.4k]
  ------------------
  389|  2.76k|        this->grow(N);
  390|  85.3k|      for (auto I = this->end(), E = this->begin() + N; I != E; ++I)
  ------------------
  |  Branch (390:57): [True: 67.1k, False: 18.2k]
  ------------------
  391|  67.1k|        new (&*I) T();
  392|  18.2k|      this->setEnd(this->begin()+N);
  393|  18.2k|    }
  394|  45.1k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EE13destroy_rangeEPS1_S3_:
  284|  31.4k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE5beginEv:
  113|  85.4k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE3endEv:
  117|  49.6k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE6setEndEPS1_:
   95|  18.2k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE8capacityEv:
  136|  18.2k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE12capacity_ptrEv:
  122|  18.2k|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE5beginEv:
  115|   140k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EE4growEm:
  333|  2.76k|  void grow(size_t MinSize = 0) {
  334|  2.76k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  2.76k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE8grow_podEmm:
   80|  2.76k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  2.76k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  2.76k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE4sizeEv:
  132|   121k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE3endEv:
  119|   121k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvEixEm:
  144|  15.7k|  reference operator[](size_type idx) {
  145|  15.7k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 15.7k, False: 0]
  ------------------
  146|  15.7k|    return begin()[idx];
  147|  15.7k|  }
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEED2Ev:
  368|  31.4k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  31.4k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  31.4k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 1.84k, False: 29.6k]
  ------------------
  374|  1.84k|      free(this->begin());
  375|  31.4k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE7isSmallEv:
   86|  31.4k|  bool isSmall() const {
   87|  31.4k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  31.4k|  }
_ZN7llvm_ks11SmallVectorIjLj8EEC2Ev:
  872|  28.7k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  28.7k|  }
_ZN7llvm_ks15SmallVectorImplIjEC2Ej:
  364|  28.7k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  28.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIjLb1EEC2Em:
  281|  28.7k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIjvEC2Em:
   78|  28.7k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseIjLb1EE9push_backERKj:
  337|  35.0k|  void push_back(const T &Elt) {
  338|  35.0k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  35.0k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 35.0k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  35.0k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  35.0k|    this->setEnd(this->end()+1);
  342|  35.0k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIjvE3endEv:
  117|   287k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIjvE6setEndEPj:
   95|  35.0k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplIjED2Ev:
  368|  28.7k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  28.7k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  28.7k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 28.7k]
  ------------------
  374|      0|      free(this->begin());
  375|  28.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIjLb1EE13destroy_rangeEPjS2_:
  284|  28.7k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIjvE5beginEv:
  113|  56.3k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIjvE7isSmallEv:
   86|  28.7k|  bool isSmall() const {
   87|  28.7k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  28.7k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEED2Ev:
  368|  10.7M|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  10.7M|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  10.7M|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 586, False: 10.7M]
  ------------------
  374|    586|      free(this->begin());
  375|  10.7M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE13destroy_rangeEPS6_S8_:
  180|  10.7M|  static void destroy_range(T *S, T *E) {
  181|  11.1M|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 366k, False: 10.7M]
  ------------------
  182|   366k|      --E;
  183|   366k|      E->~T();
  184|   366k|    }
  185|  10.7M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE5beginEv:
  113|  10.8M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE3endEv:
  117|  11.5M|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE7isSmallEv:
   86|  10.7M|  bool isSmall() const {
   87|  10.7M|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  10.7M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE4sizeEv:
  132|  1.92M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE3endEv:
  119|  1.92M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE5beginEv:
  115|  2.84M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEixEm:
  144|  50.9k|  reference operator[](size_type idx) {
  145|  50.9k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 50.9k, False: 0]
  ------------------
  146|  50.9k|    return begin()[idx];
  147|  50.9k|  }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEED2Ev:
  368|  19.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  19.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  19.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 19.0k]
  ------------------
  374|      0|      free(this->begin());
  375|  19.0k|  }
_ZN7llvm_ks11SmallVectorINS_8AsmTokenELj1EEC2Ev:
  872|  19.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  19.0k|  }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEEC2Ej:
  364|  19.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  19.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EEC2Em:
  178|  19.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvEC2Em:
   78|  19.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE12emplace_backIJNS1_9TokenKindENS_9StringRefEEEEvDpOT_:
  659|  19.0k|  template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) {
  660|  19.0k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  19.0k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 19.0k]
  |  |  ------------------
  ------------------
  661|      0|      this->grow();
  662|  19.0k|    ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...);
  663|  19.0k|    this->setEnd(this->end() + 1);
  664|  19.0k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjPNS_10MCFragmentEEEED2Ev:
  368|   827k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   827k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   827k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 827k]
  ------------------
  374|      0|      free(this->begin());
  375|   827k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjPNS_10MCFragmentEEELb1EE13destroy_rangeEPS5_S7_:
  284|   827k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE7isSmallEv:
   86|   827k|  bool isSmall() const {
   87|   827k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   827k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairIjPNS_10MCFragmentEEELj1EEC2Ev:
  872|   827k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   827k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjPNS_10MCFragmentEEEEC2Ej:
  364|   827k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   827k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjPNS_10MCFragmentEEELb1EEC2Em:
  281|   827k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvEC2Em:
   78|   827k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE5beginEv:
  113|   827k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE3endEv:
  117|   827k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvEixEm:
  144|  1.30M|  reference operator[](size_type idx) {
  145|  1.30M|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 1.30M, False: 0]
  ------------------
  146|  1.30M|    return begin()[idx];
  147|  1.30M|  }
_ZN7llvm_ks15SmallVectorImplINS_9StringRefEED2Ev:
  368|   213k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   213k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   213k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 1.70k, False: 211k]
  ------------------
  374|  1.70k|      free(this->begin());
  375|   213k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE13destroy_rangeEPS1_S3_:
  284|   213k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE7isSmallEv:
   86|   213k|  bool isSmall() const {
   87|   213k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   213k|  }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj5EEC2Ev:
  872|  4.05k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  4.05k|  }
_ZN7llvm_ks15SmallVectorImplINS_9StringRefEEC2Ej:
  364|   213k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   213k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EEC2Em:
  281|   213k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvEC2Em:
   78|   213k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_9StringRefELj1EEC2Ev:
  872|     18|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     18|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv:
  113|  1.54M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE3endEv:
  117|  1.96M|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEED2Ev:
  368|  19.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  19.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  19.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 19.0k]
  ------------------
  374|      0|      free(this->begin());
  375|  19.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EE13destroy_rangeEPS9_SB_:
  284|  19.0k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE5beginEv:
  113|  19.0k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE7isSmallEv:
   86|  19.0k|  bool isSmall() const {
   87|  19.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  19.0k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELj4EEC2Ev:
  872|  19.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  19.0k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEEC2Ej:
  364|  19.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  19.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EEC2Em:
  281|  19.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvEC2Em:
   78|  19.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorIcLj16384EEC2Ev:
  872|      1|  SmallVector() : SmallVectorImpl<T>(N) {
  873|      1|  }
_ZN7llvm_ks15SmallVectorImplIcE7reserveEm:
  408|      1|  void reserve(size_type N) {
  409|      1|    if (this->capacity() < N)
  ------------------
  |  Branch (409:9): [True: 0, False: 1]
  ------------------
  410|      0|      this->grow(N);
  411|      1|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE6setEndEPS1_:
   95|   867k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj4EEC2Ev:
  872|   190k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   190k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE9push_backERKS1_:
  337|   867k|  void push_back(const T &Elt) {
  338|   867k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|   867k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 3.51k, False: 863k]
  |  |  ------------------
  ------------------
  339|  3.51k|      this->grow();
  340|   867k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|   867k|    this->setEnd(this->end()+1);
  342|   867k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE4growEm:
  333|  3.51k|  void grow(size_t MinSize = 0) {
  334|  3.51k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  3.51k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE8grow_podEmm:
   80|  3.51k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  3.51k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  3.51k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjjEEED2Ev:
  368|  87.3k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  87.3k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  87.3k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 87.3k]
  ------------------
  374|      0|      free(this->begin());
  375|  87.3k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EE13destroy_rangeEPS3_S5_:
  284|  87.3k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE5beginEv:
  113|  87.3k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE3endEv:
  117|  87.5k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE7isSmallEv:
   86|  87.3k|  bool isSmall() const {
   87|  87.3k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  87.3k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairIjjEELj4EEC2Ev:
  872|  87.3k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  87.3k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjjEEEC2Ej:
  364|  87.3k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  87.3k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EEC2Em:
  281|  87.3k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvEC2Em:
   78|  87.3k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EE9push_backERKS3_:
  337|     60|  void push_back(const T &Elt) {
  338|     60|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|     60|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 60]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|     60|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|     60|    this->setEnd(this->end()+1);
  342|     60|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE6setEndEPS3_:
   95|     60|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE4dataEv:
  141|  87.3k|  const_pointer data() const { return const_pointer(begin()); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE5beginEv:
  115|   174k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE4sizeEv:
  132|  87.3k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE3endEv:
  119|  87.3k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks11SmallVectorINS_7SMFixItELj4EEC2IPKS1_EET_S6_:
  881|  88.6k|  SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
  882|  88.6k|    this->append(S, E);
  883|  88.6k|  }
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEEC2Ej:
  364|  88.6k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  88.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EEC2Em:
  178|  88.6k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvEC2Em:
   78|  88.6k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEE6appendIPKS1_EEvT_S6_:
  423|  88.6k|  void append(in_iter in_start, in_iter in_end) {
  424|  88.6k|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|  88.6k|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 0, False: 88.6k]
  ------------------
  427|      0|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|  88.6k|    this->uninitialized_copy(in_start, in_end, this->end());
  431|  88.6k|    this->setEnd(this->end() + NumInputs);
  432|  88.6k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE12capacity_ptrEv:
  121|  88.6k|  iterator capacity_ptr() { return (iterator)this->CapacityX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EE18uninitialized_copyIPKS1_PS1_EEvT_S7_T0_:
  219|  88.6k|  static void uninitialized_copy(It1 I, It1 E, It2 Dest) {
  220|  88.6k|    std::uninitialized_copy(I, E, Dest);
  221|  88.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE9push_backEOS6_:
  236|   353k|  void push_back(T &&Elt) {
  237|   353k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|   353k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 904, False: 353k]
  |  |  ------------------
  ------------------
  238|    904|      this->grow();
  239|   353k|    ::new ((void*) this->end()) T(::std::move(Elt));
  240|   353k|    this->setEnd(this->end()+1);
  241|   353k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE4growEm:
  251|    904|void SmallVectorTemplateBase<T, isPodLike>::grow(size_t MinSize) {
  252|    904|  size_t CurCapacity = this->capacity();
  253|    904|  size_t CurSize = this->size();
  254|       |  // Always grow, even from zero.
  255|    904|  size_t NewCapacity = size_t(NextPowerOf2(CurCapacity+2));
  256|    904|  if (NewCapacity < MinSize)
  ------------------
  |  Branch (256:7): [True: 0, False: 904]
  ------------------
  257|      0|    NewCapacity = MinSize;
  258|    904|  T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T)));
  259|       |
  260|       |  // Move the elements over.
  261|    904|  this->uninitialized_move(this->begin(), this->end(), NewElts);
  262|       |
  263|       |  // Destroy the original elements.
  264|    904|  destroy_range(this->begin(), this->end());
  265|       |
  266|       |  // If this wasn't grown from the inline copy, deallocate the old space.
  267|    904|  if (!this->isSmall())
  ------------------
  |  Branch (267:7): [True: 318, False: 586]
  ------------------
  268|    318|    free(this->begin());
  269|       |
  270|    904|  this->setEnd(NewElts+CurSize);
  271|    904|  this->BeginX = NewElts;
  272|    904|  this->CapacityX = this->begin()+NewCapacity;
  273|    904|}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE8capacityEv:
  136|    904|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE12capacity_ptrEv:
  122|    904|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE18uninitialized_moveIPS6_S9_EEvT_SA_T0_:
  211|    904|  static void uninitialized_move(It1 I, It1 E, It2 Dest) {
  212|  14.4k|    for (; I != E; ++I, ++Dest)
  ------------------
  |  Branch (212:12): [True: 13.5k, False: 904]
  ------------------
  213|  13.5k|      ::new ((void*) &*Dest) T(::std::move(*I));
  214|    904|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE6setEndEPS6_:
   95|   355k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEixEm:
  149|   917k|  const_reference operator[](size_type idx) const {
  150|   917k|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 917k, False: 0]
  ------------------
  151|   917k|    return begin()[idx];
  152|   917k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE8pop_backEv:
  243|    696|  void pop_back() {
  244|    696|    this->setEnd(this->end()-1);
  245|    696|    this->end()->~T();
  246|    696|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE4backEv:
  163|  45.0k|  reference back() {
  164|  45.0k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 45.0k, False: 0]
  ------------------
  165|  45.0k|    return end()[-1];
  166|  45.0k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIjvE4backEv:
  163|   160k|  reference back() {
  164|   160k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 160k, False: 0]
  ------------------
  165|   160k|    return end()[-1];
  166|   160k|  }
X86AsmParser.cpp:_ZN7llvm_ks11SmallVectorIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELj4EEC2Ev:
  872|  28.5k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  28.5k|  }
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEEC2Ej:
  364|  28.5k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  28.5k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELb1EEC2Em:
  281|  28.5k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvEC2Em:
   78|  28.5k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
X86AsmParser.cpp:_ZN7llvm_ks11SmallVectorINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELj4EEC2Ev:
  872|  28.5k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  28.5k|  }
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEEC2Ej:
  364|  47.9k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  47.9k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELb1EEC2Em:
  281|  47.9k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvEC2Em:
   78|  47.9k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEED2Ev:
  368|  28.5k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  28.5k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  28.5k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 182, False: 28.3k]
  ------------------
  374|    182|      free(this->begin());
  375|  28.5k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELb1EE13destroy_rangeEPS3_S5_:
  284|  28.5k|  static void destroy_range(T *, T *) {}
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE5beginEv:
  113|  77.8k|  iterator begin() { return (iterator)this->BeginX; }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE3endEv:
  117|   156k|  iterator end() { return (iterator)this->EndX; }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE7isSmallEv:
   86|  28.5k|  bool isSmall() const {
   87|  28.5k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  28.5k|  }
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEED2Ev:
  368|  47.9k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  47.9k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  47.9k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 2.16k, False: 45.8k]
  ------------------
  374|  2.16k|      free(this->begin());
  375|  47.9k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELb1EE13destroy_rangeEPS6_S8_:
  284|  47.9k|  static void destroy_range(T *, T *) {}
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE5beginEv:
  113|   121k|  iterator begin() { return (iterator)this->BeginX; }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE3endEv:
  117|   460k|  iterator end() { return (iterator)this->EndX; }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE7isSmallEv:
   86|  47.9k|  bool isSmall() const {
   87|  47.9k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  47.9k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELb1EE9push_backERKS6_:
  337|   138k|  void push_back(const T &Elt) {
  338|   138k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|   138k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 3.59k, False: 134k]
  |  |  ------------------
  ------------------
  339|  3.59k|      this->grow();
  340|   138k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|   138k|    this->setEnd(this->end()+1);
  342|   138k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELb1EE4growEm:
  333|  3.59k|  void grow(size_t MinSize = 0) {
  334|  3.59k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  3.59k|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE8grow_podEmm:
   80|  3.59k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  3.59k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  3.59k|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE6setEndEPS6_:
   95|   206k|  void setEnd(T *P) { this->EndX = P; }
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEE12pop_back_valEv:
  413|  67.9k|  T LLVM_ATTRIBUTE_UNUSED_RESULT pop_back_val() {
  414|  67.9k|    T Result = ::std::move(this->back());
  415|  67.9k|    this->pop_back();
  416|  67.9k|    return Result;
  417|  67.9k|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE4backEv:
  163|  67.9k|  reference back() {
  164|  67.9k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 67.9k, False: 0]
  ------------------
  165|  67.9k|    return end()[-1];
  166|  67.9k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELb1EE8pop_backEv:
  344|  67.9k|  void pop_back() {
  345|  67.9k|    this->setEnd(this->end()-1);
  346|  67.9k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELb1EE8pop_backEv:
  344|  35.9k|  void pop_back() {
  345|  35.9k|    this->setEnd(this->end()-1);
  346|  35.9k|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE6setEndEPS3_:
   95|  73.8k|  void setEnd(T *P) { this->EndX = P; }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELb1EE9push_backERKS3_:
  337|  37.8k|  void push_back(const T &Elt) {
  338|  37.8k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  37.8k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 424, False: 37.4k]
  |  |  ------------------
  ------------------
  339|    424|      this->grow();
  340|  37.8k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  37.8k|    this->setEnd(this->end()+1);
  342|  37.8k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELb1EE4growEm:
  333|    424|  void grow(size_t MinSize = 0) {
  334|    424|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    424|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE8grow_podEmm:
   80|    424|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    424|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    424|  }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE4sizeEv:
  132|  98.1k|  size_type size() const { return end()-begin(); }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE3endEv:
  119|  98.1k|  const_iterator end() const { return (const_iterator)this->EndX; }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE5beginEv:
  115|  98.1k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvEixEm:
  144|  49.0k|  reference operator[](size_type idx) {
  145|  49.0k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 49.0k, False: 0]
  ------------------
  146|  49.0k|    return begin()[idx];
  147|  49.0k|  }
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEE12pop_back_valEv:
  413|  15.9k|  T LLVM_ATTRIBUTE_UNUSED_RESULT pop_back_val() {
  414|  15.9k|    T Result = ::std::move(this->back());
  415|  15.9k|    this->pop_back();
  416|  15.9k|    return Result;
  417|  15.9k|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE4backEv:
  163|  15.9k|  reference back() {
  164|  15.9k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 15.9k, False: 0]
  ------------------
  165|  15.9k|    return end()[-1];
  166|  15.9k|  }
X86AsmParser.cpp:_ZN7llvm_ks11SmallVectorINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELj16EEC2Ev:
  872|  19.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  19.4k|  }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE4sizeEv:
  132|   134k|  size_type size() const { return end()-begin(); }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE3endEv:
  119|   134k|  const_iterator end() const { return (const_iterator)this->EndX; }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE5beginEv:
  115|   134k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvEixEm:
  144|  71.0k|  reference operator[](size_type idx) {
  145|  71.0k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 71.0k, False: 0]
  ------------------
  146|  71.0k|    return begin()[idx];
  147|  71.0k|  }
_ZN7llvm_ks11SmallVectorINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELj2EEC2Ev:
  872|  36.1k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  36.1k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEELj2EEC2Ev:
  872|     33|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     33|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEEC2Ej:
  364|     33|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|     33|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEELb0EEC2Em:
  178|     33|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvEC2Em:
   78|     33|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEELb0EE9push_backEOSA_:
  236|      2|  void push_back(T &&Elt) {
  237|      2|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|      2|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  238|      0|      this->grow();
  239|      2|    ::new ((void*) this->end()) T(::std::move(Elt));
  240|      2|    this->setEnd(this->end()+1);
  241|      2|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEELb0EE13destroy_rangeEPSA_SC_:
  180|     33|  static void destroy_range(T *S, T *E) {
  181|     35|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 2, False: 33]
  ------------------
  182|      2|      --E;
  183|      2|      E->~T();
  184|      2|    }
  185|     33|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvE7isSmallEv:
   86|     33|  bool isSmall() const {
   87|     33|    return BeginX == static_cast<const void*>(&FirstEl);
   88|     33|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvE6setEndEPSA_:
   95|      2|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvE5beginEv:
  113|     35|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvE3endEv:
  117|     40|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEED2Ev:
  368|     33|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|     33|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|     33|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 33]
  ------------------
  374|      0|      free(this->begin());
  375|     33|  }
_ZN7llvm_ks11SmallVectorIcLj126EEC2Ev:
  872|      3|  SmallVector() : SmallVectorImpl<T>(N) {
  873|      3|  }
_ZN7llvm_ks11SmallVectorIcLj16EEC2Ev:
  872|  3.35k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  3.35k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE4backEv:
  163|  13.4k|  reference back() {
  164|  13.4k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 13.4k, False: 0]
  ------------------
  165|  13.4k|    return end()[-1];
  166|  13.4k|  }
_ZN7llvm_ks11SmallVectorINS_14MCLOHDirectiveELj32EEC2Ev:
  872|  19.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  19.0k|  }
_ZN7llvm_ks15SmallVectorImplINS_14MCLOHDirectiveEEC2Ej:
  364|  19.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  19.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_14MCLOHDirectiveELb0EEC2Em:
  178|  19.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvEC2Em:
   78|  19.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_14MCLOHDirectiveEED2Ev:
  368|  19.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  19.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  19.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 19.0k]
  ------------------
  374|      0|      free(this->begin());
  375|  19.0k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE4sizeEv:
  132|  35.9k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE3endEv:
  119|  35.9k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE5beginEv:
  115|  35.9k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvEixEm:
  144|  18.3k|  reference operator[](size_type idx) {
  145|  18.3k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 18.3k, False: 0]
  ------------------
  146|  18.3k|    return begin()[idx];
  147|  18.3k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE4dataEv:
  141|  11.6k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEEaSERKS2_:
  739|  4.23k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|  4.23k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 4.23k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|  4.23k|  size_t RHSSize = RHS.size();
  746|  4.23k|  size_t CurSize = this->size();
  747|  4.23k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 4.23k, False: 0]
  ------------------
  748|       |    // Assign common elements.
  749|  4.23k|    iterator NewEnd;
  750|  4.23k|    if (RHSSize)
  ------------------
  |  Branch (750:9): [True: 4.23k, False: 0]
  ------------------
  751|  4.23k|      NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin());
  752|      0|    else
  753|      0|      NewEnd = this->begin();
  754|       |
  755|       |    // Destroy excess elements.
  756|  4.23k|    this->destroy_range(NewEnd, this->end());
  757|       |
  758|       |    // Trim.
  759|  4.23k|    this->setEnd(NewEnd);
  760|  4.23k|    return *this;
  761|  4.23k|  }
  762|       |
  763|       |  // If we have to grow to have enough elements, destroy the current elements.
  764|       |  // This allows us to avoid copying them during the grow.
  765|       |  // FIXME: don't do this if they're efficiently moveable.
  766|      0|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 0, False: 0]
  ------------------
  767|       |    // Destroy current elements.
  768|      0|    this->destroy_range(this->begin(), this->end());
  769|      0|    this->setEnd(this->begin());
  770|      0|    CurSize = 0;
  771|      0|    this->grow(RHSSize);
  772|      0|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 0, False: 0]
  ------------------
  773|       |    // Otherwise, use assignment for the already-constructed elements.
  774|      0|    std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
  775|      0|  }
  776|       |
  777|       |  // Copy construct the new elements in place.
  778|      0|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|      0|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|      0|  this->setEnd(this->begin()+RHSSize);
  783|      0|  return *this;
  784|  4.23k|}
_ZN7llvm_ks11SmallVectorINS_9StringRefELj3EEC2Ev:
  872|  19.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  19.0k|  }

APFloat.cpp:_ZN7llvm_ksL13hexDigitValueEc:
   40|  33.1k|static inline unsigned hexDigitValue(char C) {
   41|  33.1k|  if (C >= '0' && C <= '9') return C-'0';
  ------------------
  |  Branch (41:7): [True: 33.1k, False: 0]
  |  Branch (41:19): [True: 22.1k, False: 11.0k]
  ------------------
   42|  11.0k|  if (C >= 'a' && C <= 'f') return C-'a'+10U;
  ------------------
  |  Branch (42:7): [True: 5.13k, False: 5.90k]
  |  Branch (42:19): [True: 2.48k, False: 2.65k]
  ------------------
   43|  8.55k|  if (C >= 'A' && C <= 'F') return C-'A'+10U;
  ------------------
  |  Branch (43:7): [True: 8.55k, False: 0]
  |  Branch (43:19): [True: 4.92k, False: 3.62k]
  ------------------
   44|  3.62k|  return -1U;
   45|  8.55k|}
StringMap.cpp:_ZN7llvm_ksL10HashStringENS_9StringRefEj:
  112|  7.78M|static inline unsigned HashString(StringRef Str, unsigned Result = 0) {
  113|  67.8M|  for (StringRef::size_type i = 0, e = Str.size(); i != e; ++i)
  ------------------
  |  Branch (113:52): [True: 60.0M, False: 7.78M]
  ------------------
  114|  60.0M|    Result = Result * 33 + (unsigned char)Str[i];
  115|  7.78M|  return Result;
  116|  7.78M|}

_ZN7llvm_ks18StringMapEntryBaseC2Ej:
   35|  4.24M|  explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {}
_ZNK7llvm_ks18StringMapEntryBase12getKeyLengthEv:
   37|  5.76M|  unsigned getKeyLength() const { return StrLen; }
_ZN7llvm_ks13StringMapImplC2Ej:
   55|   152k|      : TheTable(nullptr),
   56|       |        // Initialize the map with zero buckets to allocation.
   57|   152k|        NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {}
_ZN7llvm_ks13StringMapImpl15getTombstoneValEv:
   95|  31.4M|  static StringMapEntryBase *getTombstoneVal() {
   96|  31.4M|    return (StringMapEntryBase*)-1;
   97|  31.4M|  }
_ZNK7llvm_ks13StringMapImpl5emptyEv:
  102|   247k|  bool empty() const { return NumItems == 0; }
_ZN7llvm_ks14StringMapEntryIjE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|   212k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|   212k|    unsigned AllocSize =
  201|   212k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|   212k|    this->~StringMapEntry();
  203|   212k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|   212k|  }
_ZNK7llvm_ks14StringMapEntryIbE5firstEv:
  143|  7.73k|  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
_ZNK7llvm_ks14StringMapEntryIbE10getKeyDataEv:
  141|   411k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEEC2Ev:
  224|  19.1k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEED2Ev:
  385|  19.1k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  19.1k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 19.1k]
  ------------------
  390|      0|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 0, False: 0]
  ------------------
  391|      0|        StringMapEntryBase *Bucket = TheTable[I];
  392|      0|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 0, False: 0]
  |  Branch (392:23): [True: 0, False: 0]
  ------------------
  393|      0|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|      0|        }
  395|      0|      }
  396|      0|    }
  397|  19.1k|    free(TheTable);
  398|  19.1k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEC2ES6_:
  229|  19.0k|    : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {}
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEC2ES4_:
  229|  19.0k|    : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {}
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEEC2Ev:
  224|  19.0k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEEC2Ev:
  224|  19.0k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEED2Ev:
  385|  19.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  19.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 19.0k]
  ------------------
  390|      0|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 0, False: 0]
  ------------------
  391|      0|        StringMapEntryBase *Bucket = TheTable[I];
  392|      0|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 0, False: 0]
  |  Branch (392:23): [True: 0, False: 0]
  ------------------
  393|      0|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|      0|        }
  395|      0|      }
  396|      0|    }
  397|  19.0k|    free(TheTable);
  398|  19.0k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEE7DestroyINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEEvRT_:
  198|  40.2k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  40.2k|    unsigned AllocSize =
  201|  40.2k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  40.2k|    this->~StringMapEntry();
  203|  40.2k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  40.2k|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEED2Ev:
  385|  19.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  19.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 19.0k]
  ------------------
  390|      0|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 0, False: 0]
  ------------------
  391|      0|        StringMapEntryBase *Bucket = TheTable[I];
  392|      0|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 0, False: 0]
  |  Branch (392:23): [True: 0, False: 0]
  ------------------
  393|      0|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|      0|        }
  395|      0|      }
  396|      0|    }
  397|  19.0k|    free(TheTable);
  398|  19.0k|  }
_ZN7llvm_ks14StringMapEntryIbE7DestroyINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEEvRT_:
  198|   403k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|   403k|    unsigned AllocSize =
  201|   403k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|   403k|    this->~StringMapEntry();
  203|   403k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|   403k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEED2Ev:
  385|  19.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  19.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 19.0k]
  ------------------
  390|      0|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 0, False: 0]
  ------------------
  391|      0|        StringMapEntryBase *Bucket = TheTable[I];
  392|      0|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 0, False: 0]
  |  Branch (392:23): [True: 0, False: 0]
  ------------------
  393|      0|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|      0|        }
  395|      0|      }
  396|      0|    }
  397|  19.0k|    free(TheTable);
  398|  19.0k|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    443|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    443|    unsigned AllocSize =
  201|    443|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    443|    this->~StringMapEntry();
  203|    443|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    443|  }
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEED2Ev:
  385|  19.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  19.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 133, False: 18.9k]
  ------------------
  390|  2.26k|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 2.12k, False: 133]
  ------------------
  391|  2.12k|        StringMapEntryBase *Bucket = TheTable[I];
  392|  2.12k|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 133, False: 1.99k]
  |  Branch (392:23): [True: 133, False: 0]
  ------------------
  393|    133|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|    133|        }
  395|  2.12k|      }
  396|    133|    }
  397|  19.0k|    free(TheTable);
  398|  19.0k|  }
_ZN7llvm_ks14StringMapEntryIbE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    133|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    133|    unsigned AllocSize =
  201|    133|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    133|    this->~StringMapEntry();
  203|    133|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    133|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE5clearEv:
  349|  19.0k|  void clear() {
  350|  19.0k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 19.0k]
  ------------------
  351|       |
  352|       |    // Zap all values, resetting the keys back to non-present (not tombstone),
  353|       |    // which is safe because we're removing all elements.
  354|   751k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 732k, False: 19.0k]
  ------------------
  355|   732k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   732k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 403k, False: 328k]
  |  Branch (356:21): [True: 403k, False: 0]
  ------------------
  357|   403k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|   403k|      }
  359|   732k|      Bucket = nullptr;
  360|   732k|    }
  361|       |
  362|  19.0k|    NumItems = 0;
  363|  19.0k|    NumTombstones = 0;
  364|  19.0k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE5clearEv:
  349|  19.0k|  void clear() {
  350|  19.0k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 19.0k]
  ------------------
  351|       |
  352|       |    // Zap all values, resetting the keys back to non-present (not tombstone),
  353|       |    // which is safe because we're removing all elements.
  354|   331k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 312k, False: 19.0k]
  ------------------
  355|   312k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   312k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 40.2k, False: 272k]
  |  Branch (356:21): [True: 40.2k, False: 0]
  ------------------
  357|  40.2k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|  40.2k|      }
  359|   312k|      Bucket = nullptr;
  360|   312k|    }
  361|       |
  362|  19.0k|    NumItems = 0;
  363|  19.0k|    NumTombstones = 0;
  364|  19.0k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEE5clearEv:
  349|  19.0k|  void clear() {
  350|  19.0k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 18.8k, False: 233]
  ------------------
  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|  4.05k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 3.82k, False: 233]
  ------------------
  355|  3.82k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|  3.82k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 443, False: 3.38k]
  |  Branch (356:21): [True: 443, False: 0]
  ------------------
  357|    443|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|    443|      }
  359|  3.82k|      Bucket = nullptr;
  360|  3.82k|    }
  361|       |
  362|    233|    NumItems = 0;
  363|    233|    NumTombstones = 0;
  364|    233|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEE5clearEv:
  349|  19.0k|  void clear() {
  350|  19.0k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 19.0k]
  ------------------
  351|       |
  352|       |    // Zap all values, resetting the keys back to non-present (not tombstone),
  353|       |    // which is safe because we're removing all elements.
  354|   370k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 351k, False: 19.0k]
  ------------------
  355|   351k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   351k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 212k, False: 138k]
  |  Branch (356:21): [True: 212k, False: 0]
  ------------------
  357|   212k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|   212k|      }
  359|   351k|      Bucket = nullptr;
  360|   351k|    }
  361|       |
  362|  19.0k|    NumItems = 0;
  363|  19.0k|    NumTombstones = 0;
  364|  19.0k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEixENS_9StringRefE:
  298|   354k|  ValueTy &operator[](StringRef Key) {
  299|   354k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|   354k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|   354k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   354k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   354k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   354k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 314k, False: 40.2k]
  |  Branch (333:19): [True: 314k, False: 0]
  ------------------
  334|   314k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|   314k|                            false); // Already exists in map.
  336|       |
  337|  40.2k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 40.2k]
  ------------------
  338|      0|      --NumTombstones;
  339|  40.2k|    Bucket =
  340|  40.2k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  40.2k|    ++NumItems;
  342|  40.2k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 40.2k, False: 0]
  ------------------
  343|       |
  344|  40.2k|    BucketNo = RehashTable(BucketNo);
  345|  40.2k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  40.2k|  }
_ZN7llvm_ks17StringMapIteratorIPNS_8MCSymbolEEC2EPPNS_18StringMapEntryBaseEb:
  452|   354k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   354k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEC2EPPNS_18StringMapEntryBaseEb:
  412|  1.29M|  : Ptr(Bucket) {
  413|  1.29M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 354k, False: 936k]
  ------------------
  414|  1.29M|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEE23AdvancePastEmptyBucketsEv:
  440|   354k|  void AdvancePastEmptyBuckets() {
  441|   354k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 354k]
  |  Branch (441:31): [True: 0, False: 354k]
  ------------------
  442|      0|      ++Ptr;
  443|   354k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEE6CreateINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEES2_EEPS3_NS_9StringRefERT_OT0_:
  149|  40.2k|                                InitType &&InitVal) {
  150|  40.2k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|  40.2k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  40.2k|      KeyLength+1;
  156|  40.2k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  40.2k|    StringMapEntry *NewItem =
  159|  40.2k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  40.2k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  40.2k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  40.2k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 40.0k, False: 233]
  ------------------
  167|  40.0k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  40.2k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  40.2k|    return NewItem;
  170|  40.2k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEEC2IS2_EEjOT_:
  127|  40.2k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIPNS_8MCSymbolEE10getKeyDataEv:
  141|  40.2k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIPNS_8MCSymbolEEptEv:
  457|   354k|  StringMapEntry<ValueTy> *operator->() const {
  458|   354k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|   354k|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6insertENSt3__14pairINS_9StringRefEbEE:
  330|   403k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   403k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   403k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   403k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 210, False: 403k]
  |  Branch (333:19): [True: 210, False: 0]
  ------------------
  334|    210|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|    210|                            false); // Already exists in map.
  336|       |
  337|   403k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 403k]
  ------------------
  338|      0|      --NumTombstones;
  339|   403k|    Bucket =
  340|   403k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|   403k|    ++NumItems;
  342|   403k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 403k, False: 0]
  ------------------
  343|       |
  344|   403k|    BucketNo = RehashTable(BucketNo);
  345|   403k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|   403k|  }
_ZN7llvm_ks17StringMapIteratorIbEC2EPPNS_18StringMapEntryBaseEb:
  452|   403k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   403k|  }
_ZN7llvm_ks22StringMapConstIteratorIbEC2EPPNS_18StringMapEntryBaseEb:
  412|   403k|  : Ptr(Bucket) {
  413|   403k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 403k, False: 0]
  ------------------
  414|   403k|  }
_ZN7llvm_ks22StringMapConstIteratorIbE23AdvancePastEmptyBucketsEv:
  440|   403k|  void AdvancePastEmptyBuckets() {
  441|   403k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 403k]
  |  Branch (441:31): [True: 0, False: 403k]
  ------------------
  442|      0|      ++Ptr;
  443|   403k|  }
_ZN7llvm_ks14StringMapEntryIbE6CreateINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEbEEPS1_NS_9StringRefERT_OT0_:
  149|   403k|                                InitType &&InitVal) {
  150|   403k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|   403k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|   403k|      KeyLength+1;
  156|   403k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|   403k|    StringMapEntry *NewItem =
  159|   403k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|   403k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|   403k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|   403k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 403k, False: 233]
  ------------------
  167|   403k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|   403k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|   403k|    return NewItem;
  170|   403k|  }
_ZN7llvm_ks14StringMapEntryIbEC2IbEEjOT_:
  127|   403k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks17StringMapIteratorIbEdeEv:
  454|   423k|  StringMapEntry<ValueTy> &operator*() const {
  455|   423k|    return *static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  456|   423k|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEEixENS_9StringRefE:
  298|   384k|  ValueTy &operator[](StringRef Key) {
  299|   384k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|   384k|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefEjEE:
  330|   384k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   384k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   384k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   384k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 171k, False: 212k]
  |  Branch (333:19): [True: 171k, False: 0]
  ------------------
  334|   171k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|   171k|                            false); // Already exists in map.
  336|       |
  337|   212k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 212k]
  ------------------
  338|      0|      --NumTombstones;
  339|   212k|    Bucket =
  340|   212k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|   212k|    ++NumItems;
  342|   212k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 212k, False: 0]
  ------------------
  343|       |
  344|   212k|    BucketNo = RehashTable(BucketNo);
  345|   212k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|   212k|  }
_ZN7llvm_ks17StringMapIteratorIjEC2EPPNS_18StringMapEntryBaseEb:
  452|   384k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   384k|  }
_ZN7llvm_ks22StringMapConstIteratorIjEC2EPPNS_18StringMapEntryBaseEb:
  412|   384k|  : Ptr(Bucket) {
  413|   384k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 384k, False: 0]
  ------------------
  414|   384k|  }
_ZN7llvm_ks22StringMapConstIteratorIjE23AdvancePastEmptyBucketsEv:
  440|   384k|  void AdvancePastEmptyBuckets() {
  441|   384k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 384k]
  |  Branch (441:31): [True: 0, False: 384k]
  ------------------
  442|      0|      ++Ptr;
  443|   384k|  }
_ZN7llvm_ks14StringMapEntryIjE6CreateINS_15MallocAllocatorEjEEPS1_NS_9StringRefERT_OT0_:
  149|   212k|                                InitType &&InitVal) {
  150|   212k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|   212k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|   212k|      KeyLength+1;
  156|   212k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|   212k|    StringMapEntry *NewItem =
  159|   212k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|   212k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|   212k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|   212k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 212k, False: 0]
  ------------------
  167|   212k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|   212k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|   212k|    return NewItem;
  170|   212k|  }
_ZN7llvm_ks14StringMapEntryIjEC2IjEEjOT_:
  127|   212k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIjE10getKeyDataEv:
  141|   212k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIjEptEv:
  457|   384k|  StringMapEntry<ValueTy> *operator->() const {
  458|   384k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|   384k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6lookupENS_9StringRefE:
  291|   468k|  ValueTy lookup(StringRef Key) const {
  292|   468k|    const_iterator it = find(Key);
  293|   468k|    if (it != end())
  ------------------
  |  Branch (293:9): [True: 455k, False: 13.1k]
  ------------------
  294|   455k|      return it->second;
  295|  13.1k|    return ValueTy();
  296|   468k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE4findENS_9StringRefE:
  283|   468k|  const_iterator find(StringRef Key) const {
  284|   468k|    int Bucket = FindKey(Key);
  285|   468k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (285:9): [True: 13.1k, False: 455k]
  ------------------
  286|   455k|    return const_iterator(TheTable+Bucket, true);
  287|   468k|  }
_ZNK7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEneERKS3_:
  426|   468k|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|   468k|    return Ptr != RHS.Ptr;
  428|   468k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE3endEv:
  273|   481k|  const_iterator end() const {
  274|   481k|    return const_iterator(TheTable+NumBuckets, true);
  275|   481k|  }
_ZNK7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEptEv:
  419|   455k|  const value_type *operator->() const {
  420|   455k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|   455k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEEixENS_9StringRefE:
  298|  4.98k|  ValueTy &operator[](StringRef Key) {
  299|  4.98k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  4.98k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|  4.98k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  4.98k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  4.98k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  4.98k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 4.54k, False: 443]
  |  Branch (333:19): [True: 4.54k, False: 0]
  ------------------
  334|  4.54k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|  4.54k|                            false); // Already exists in map.
  336|       |
  337|    443|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 443]
  ------------------
  338|      0|      --NumTombstones;
  339|    443|    Bucket =
  340|    443|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    443|    ++NumItems;
  342|    443|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 443, False: 0]
  ------------------
  343|       |
  344|    443|    BucketNo = RehashTable(BucketNo);
  345|    443|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    443|  }
_ZN7llvm_ks17StringMapIteratorIPNS_14MCSectionMachOEEC2EPPNS_18StringMapEntryBaseEb:
  452|  4.98k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  4.98k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_14MCSectionMachOEEC2EPPNS_18StringMapEntryBaseEb:
  412|  4.98k|  : Ptr(Bucket) {
  413|  4.98k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 4.98k, False: 0]
  ------------------
  414|  4.98k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_14MCSectionMachOEE23AdvancePastEmptyBucketsEv:
  440|  4.98k|  void AdvancePastEmptyBuckets() {
  441|  4.98k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 4.98k]
  |  Branch (441:31): [True: 0, False: 4.98k]
  ------------------
  442|      0|      ++Ptr;
  443|  4.98k|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE6CreateINS_15MallocAllocatorES2_EEPS3_NS_9StringRefERT_OT0_:
  149|    443|                                InitType &&InitVal) {
  150|    443|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    443|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    443|      KeyLength+1;
  156|    443|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    443|    StringMapEntry *NewItem =
  159|    443|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    443|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    443|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    443|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 443, False: 0]
  ------------------
  167|    443|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    443|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    443|    return NewItem;
  170|    443|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEEC2IS2_EEjOT_:
  127|    443|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE10getKeyDataEv:
  141|    443|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIPNS_14MCSectionMachOEEptEv:
  457|  4.98k|  StringMapEntry<ValueTy> *operator->() const {
  458|  4.98k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  4.98k|  }
_ZN7llvm_ks17StringMapIteratorIbEC2Ev:
  449|    133|  StringMapIterator() {}
_ZN7llvm_ks22StringMapConstIteratorIbEC2Ev:
  408|    133|  StringMapConstIterator() : Ptr(nullptr) { }
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefEbEE:
  330|    133|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|    133|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|    133|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|    133|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 133]
  |  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|    133|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 133]
  ------------------
  338|      0|      --NumTombstones;
  339|    133|    Bucket =
  340|    133|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    133|    ++NumItems;
  342|    133|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 133, False: 0]
  ------------------
  343|       |
  344|    133|    BucketNo = RehashTable(BucketNo);
  345|    133|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    133|  }
_ZN7llvm_ks14StringMapEntryIbE6CreateINS_15MallocAllocatorEbEEPS1_NS_9StringRefERT_OT0_:
  149|    133|                                InitType &&InitVal) {
  150|    133|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    133|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    133|      KeyLength+1;
  156|    133|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    133|    StringMapEntry *NewItem =
  159|    133|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    133|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    133|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    133|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 133, False: 0]
  ------------------
  167|    133|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    133|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    133|    return NewItem;
  170|    133|  }
_ZNK7llvm_ks17StringMapIteratorIbEptEv:
  457|    133|  StringMapEntry<ValueTy> *operator->() const {
  458|    133|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|    133|  }
_ZNK7llvm_ks14StringMapEntryIbE6getKeyEv:
  129|    133|  StringRef getKey() const {
  130|    133|    return StringRef(getKeyData(), getKeyLength());
  131|    133|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEEC2Ev:
  224|  19.0k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEEC2Ev:
  224|  19.0k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEEC2Ev:
  224|  19.0k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEED2Ev:
  385|  19.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  19.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 19.0k, False: 0]
  ------------------
  390|  4.89M|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 4.87M, False: 19.0k]
  ------------------
  391|  4.87M|        StringMapEntryBase *Bucket = TheTable[I];
  392|  4.87M|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 2.28M, False: 2.58M]
  |  Branch (392:23): [True: 2.28M, False: 0]
  ------------------
  393|  2.28M|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|  2.28M|        }
  395|  4.87M|      }
  396|  19.0k|    }
  397|  19.0k|    free(TheTable);
  398|  19.0k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|  2.32M|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  2.32M|    unsigned AllocSize =
  201|  2.32M|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  2.32M|    this->~StringMapEntry();
  203|  2.32M|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  2.32M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEED2Ev:
  385|  19.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  19.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 699, False: 18.3k]
  ------------------
  390|  11.8k|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 11.1k, False: 699]
  ------------------
  391|  11.1k|        StringMapEntryBase *Bucket = TheTable[I];
  392|  11.1k|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 761, False: 10.4k]
  |  Branch (392:23): [True: 761, False: 0]
  ------------------
  393|    761|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|    761|        }
  395|  11.1k|      }
  396|    699|    }
  397|  19.0k|    free(TheTable);
  398|  19.0k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    761|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    761|    unsigned AllocSize =
  201|    761|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    761|    this->~StringMapEntry();
  203|    761|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    761|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEED2Ev:
  385|  19.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  19.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 19.0k, False: 0]
  ------------------
  390|  2.45M|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 2.43M, False: 19.0k]
  ------------------
  391|  2.43M|        StringMapEntryBase *Bucket = TheTable[I];
  392|  2.43M|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 1.25M, False: 1.18M]
  |  Branch (392:23): [True: 1.25M, False: 0]
  ------------------
  393|  1.25M|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|  1.25M|        }
  395|  2.43M|      }
  396|  19.0k|    }
  397|  19.0k|    free(TheTable);
  398|  19.0k|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|  1.25M|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  1.25M|    unsigned AllocSize =
  201|  1.25M|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  1.25M|    this->~StringMapEntry();
  203|  1.25M|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  1.25M|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEEixES5_:
  298|  1.25M|  ValueTy &operator[](StringRef Key) {
  299|  1.25M|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  1.25M|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE6insertENS2_IS5_S9_EE:
  330|  1.25M|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  1.25M|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  1.25M|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  1.25M|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 1.25M]
  |  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.25M|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 1.25M]
  ------------------
  338|      0|      --NumTombstones;
  339|  1.25M|    Bucket =
  340|  1.25M|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  1.25M|    ++NumItems;
  342|  1.25M|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 1.25M, False: 0]
  ------------------
  343|       |
  344|  1.25M|    BucketNo = RehashTable(BucketNo);
  345|  1.25M|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  1.25M|  }
_ZN7llvm_ks17StringMapIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2EPPNS_18StringMapEntryBaseEb:
  452|  1.25M|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  1.25M|  }
_ZN7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2EPPNS_18StringMapEntryBaseEb:
  412|  1.87M|  : Ptr(Bucket) {
  413|  1.87M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 1.25M, False: 618k]
  ------------------
  414|  1.87M|  }
_ZN7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE23AdvancePastEmptyBucketsEv:
  440|  1.25M|  void AdvancePastEmptyBuckets() {
  441|  1.25M|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 1.25M]
  |  Branch (441:31): [True: 0, False: 1.25M]
  ------------------
  442|      0|      ++Ptr;
  443|  1.25M|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE6CreateINS_15MallocAllocatorES9_EEPSA_S5_RT_OT0_:
  149|  1.25M|                                InitType &&InitVal) {
  150|  1.25M|    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.25M|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  1.25M|      KeyLength+1;
  156|  1.25M|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  1.25M|    StringMapEntry *NewItem =
  159|  1.25M|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  1.25M|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  1.25M|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  1.25M|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 1.25M, False: 0]
  ------------------
  167|  1.25M|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  1.25M|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  1.25M|    return NewItem;
  170|  1.25M|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2IS9_EEjOT_:
  127|  1.25M|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE10getKeyDataEv:
  141|  1.25M|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEptEv:
  457|  1.25M|  StringMapEntry<ValueTy> *operator->() const {
  458|  1.25M|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  1.25M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEEixENS_9StringRefE:
  298|  2.32M|  ValueTy &operator[](StringRef Key) {
  299|  2.32M|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  2.32M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES3_EE:
  330|  2.32M|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  2.32M|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  2.32M|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  2.32M|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 2.32M]
  |  Branch (333:19): [True: 0, False: 0]
  ------------------
  334|      0|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|      0|                            false); // Already exists in map.
  336|       |
  337|  2.32M|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 2.32M]
  ------------------
  338|      0|      --NumTombstones;
  339|  2.32M|    Bucket =
  340|  2.32M|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  2.32M|    ++NumItems;
  342|  2.32M|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 2.32M, False: 0]
  ------------------
  343|       |
  344|  2.32M|    BucketNo = RehashTable(BucketNo);
  345|  2.32M|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  2.32M|  }
AsmParser.cpp:_ZN7llvm_ks17StringMapIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2EPPNS_18StringMapEntryBaseEb:
  452|  6.67M|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  6.67M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2EPPNS_18StringMapEntryBaseEb:
  412|  6.67M|  : Ptr(Bucket) {
  413|  6.67M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 2.32M, False: 4.34M]
  ------------------
  414|  6.67M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEE23AdvancePastEmptyBucketsEv:
  440|  2.32M|  void AdvancePastEmptyBuckets() {
  441|  2.32M|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 2.32M]
  |  Branch (441:31): [True: 0, False: 2.32M]
  ------------------
  442|      0|      ++Ptr;
  443|  2.32M|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE6CreateINS_15MallocAllocatorES3_EEPS4_NS_9StringRefERT_OT0_:
  149|  2.32M|                                InitType &&InitVal) {
  150|  2.32M|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|  2.32M|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  2.32M|      KeyLength+1;
  156|  2.32M|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  2.32M|    StringMapEntry *NewItem =
  159|  2.32M|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  2.32M|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  2.32M|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  2.32M|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 2.32M, False: 0]
  ------------------
  167|  2.32M|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  2.32M|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  2.32M|    return NewItem;
  170|  2.32M|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2IS3_EEjOT_:
  127|  2.32M|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE10getKeyDataEv:
  141|  2.32M|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:_ZNK7llvm_ks17StringMapIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEptEv:
  457|  2.32M|  StringMapEntry<ValueTy> *operator->() const {
  458|  2.32M|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  2.32M|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEneERKS4_:
  426|  1.68k|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|  1.68k|    return Ptr != RHS.Ptr;
  428|  1.68k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE4findENS_9StringRefE:
  277|  2.17M|  iterator find(StringRef Key) {
  278|  2.17M|    int Bucket = FindKey(Key);
  279|  2.17M|    if (Bucket == -1) return end();
  ------------------
  |  Branch (279:9): [True: 1.64M, False: 531k]
  ------------------
  280|   531k|    return iterator(TheTable+Bucket, true);
  281|  2.17M|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEeqERKS4_:
  423|  2.17M|  bool operator==(const StringMapConstIterator &RHS) const {
  424|  2.17M|    return Ptr == RHS.Ptr;
  425|  2.17M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE3endEv:
  267|  3.81M|  iterator end() {
  268|  3.81M|    return iterator(TheTable+NumBuckets, true);
  269|  3.81M|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEptEv:
  419|   530k|  const value_type *operator->() const {
  420|   530k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|   530k|  }
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE8getValueEv:
  133|   530k|  const ValueTy &getValue() const { return second; }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE4findENS_9StringRefE:
  277|   643k|  iterator find(StringRef Key) {
  278|   643k|    int Bucket = FindKey(Key);
  279|   643k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (279:9): [True: 614k, False: 28.9k]
  ------------------
  280|  28.9k|    return iterator(TheTable+Bucket, true);
  281|   643k|  }
AsmParser.cpp:_ZN7llvm_ks17StringMapIteratorIN12_GLOBAL__N_110MCAsmMacroEEC2EPPNS_18StringMapEntryBaseEb:
  452|  1.28M|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  1.28M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEEC2EPPNS_18StringMapEntryBaseEb:
  412|  1.28M|  : Ptr(Bucket) {
  413|  1.28M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 761, False: 1.28M]
  ------------------
  414|  1.28M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEE23AdvancePastEmptyBucketsEv:
  440|    761|  void AdvancePastEmptyBuckets() {
  441|    761|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 761]
  |  Branch (441:31): [True: 0, False: 761]
  ------------------
  442|      0|      ++Ptr;
  443|    761|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEEeqERKS3_:
  423|   643k|  bool operator==(const StringMapConstIterator &RHS) const {
  424|   643k|    return Ptr == RHS.Ptr;
  425|   643k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE3endEv:
  267|  1.25M|  iterator end() {
  268|  1.25M|    return iterator(TheTable+NumBuckets, true);
  269|  1.25M|  }
AsmParser.cpp:_ZNK7llvm_ks17StringMapIteratorIN12_GLOBAL__N_110MCAsmMacroEEptEv:
  457|  28.9k|  StringMapEntry<ValueTy> *operator->() const {
  458|  28.9k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  28.9k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE8getValueEv:
  134|  28.9k|  ValueTy &getValue() { return second; }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE6lookupES5_:
  291|   309k|  ValueTy lookup(StringRef Key) const {
  292|   309k|    const_iterator it = find(Key);
  293|   309k|    if (it != end())
  ------------------
  |  Branch (293:9): [True: 7.60k, False: 301k]
  ------------------
  294|  7.60k|      return it->second;
  295|   301k|    return ValueTy();
  296|   309k|  }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE4findES5_:
  283|   309k|  const_iterator find(StringRef Key) const {
  284|   309k|    int Bucket = FindKey(Key);
  285|   309k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (285:9): [True: 301k, False: 7.60k]
  ------------------
  286|  7.60k|    return const_iterator(TheTable+Bucket, true);
  287|   309k|  }
_ZNK7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEneERKSA_:
  426|   309k|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|   309k|    return Ptr != RHS.Ptr;
  428|   309k|  }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE3endEv:
  273|   610k|  const_iterator end() const {
  274|   610k|    return const_iterator(TheTable+NumBuckets, true);
  275|   610k|  }
_ZNK7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEptEv:
  419|  7.60k|  const value_type *operator->() const {
  420|  7.60k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|  7.60k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|    761|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|    761|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|    761|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|    761|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 761]
  |  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|    761|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 761]
  ------------------
  338|      0|      --NumTombstones;
  339|    761|    Bucket =
  340|    761|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    761|    ++NumItems;
  342|    761|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 761, False: 0]
  ------------------
  343|       |
  344|    761|    BucketNo = RehashTable(BucketNo);
  345|    761|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    761|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE6CreateINS_15MallocAllocatorES2_EEPS3_NS_9StringRefERT_OT0_:
  149|    761|                                InitType &&InitVal) {
  150|    761|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    761|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    761|      KeyLength+1;
  156|    761|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    761|    StringMapEntry *NewItem =
  159|    761|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    761|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    761|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    761|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 710, False: 51]
  ------------------
  167|    710|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    761|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    761|    return NewItem;
  170|    761|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEEC2IS2_EEjOT_:
  127|    761|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE10getKeyDataEv:
  141|    761|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE5clearEv:
  349|  19.3k|  void clear() {
  350|  19.3k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 19.0k, False: 325]
  ------------------
  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|  83.5k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 83.2k, False: 325]
  ------------------
  355|  83.2k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|  83.2k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 39.6k, False: 43.5k]
  |  Branch (356:21): [True: 39.6k, False: 0]
  ------------------
  357|  39.6k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|  39.6k|      }
  359|  83.2k|      Bucket = nullptr;
  360|  83.2k|    }
  361|       |
  362|    325|    NumItems = 0;
  363|    325|    NumTombstones = 0;
  364|    325|  }

_ZN7llvm_ks9StringRefC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
   91|  4.18M|      : Data(Str.data()), Length(Str.length()) {}
_ZN7llvm_ks9StringRefC2EPKc:
   72|  27.9M|      : Data(Str) {
   73|       |        //assert(Str && "StringRef cannot be built from a NULL argument");
   74|  27.9M|        if (!Str)
  ------------------
  |  Branch (74:13): [True: 331, False: 27.9M]
  ------------------
   75|    331|            Length = 0;
   76|  27.9M|        else 
   77|  27.9M|            Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior
   78|  27.9M|      }
_ZN7llvm_ks9StringRef13compareMemoryEPKcS2_m:
   58|  16.8M|    static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) {
   59|  16.8M|      if (Length == 0) { return 0; }
  ------------------
  |  Branch (59:11): [True: 3.68k, False: 16.8M]
  ------------------
   60|  16.8M|      return ::memcmp(Lhs,Rhs,Length);
   61|  16.8M|    }
_ZN7llvm_ks9StringRefC2Ev:
   68|  4.51M|    /*implicit*/ StringRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks9StringRefC2EPKcm:
   83|   138M|      : Data(data), Length(length) {
   84|       |        assert((data || length == 0) &&
  ------------------
  |  Branch (84:9): [True: 138M, False: 0]
  |  Branch (84:9): [True: 0, False: 0]
  |  Branch (84:9): [True: 138M, Folded]
  |  Branch (84:9): [True: 138M, False: 0]
  ------------------
   85|   138M|        "StringRef cannot be built from a NULL argument with non-null length");
   86|   138M|      }
_ZNK7llvm_ks9StringRef5beginEv:
   97|  84.0M|    iterator begin() const { return Data; }
_ZNK7llvm_ks9StringRef3endEv:
   99|  89.8M|    iterator end() const { return Data + Length; }
_ZNK7llvm_ks9StringRef4dataEv:
  115|  43.0M|    const char *data() const { return Data; }
_ZNK7llvm_ks9StringRef5emptyEv:
  119|  27.2M|    bool empty() const { return Length == 0; }
_ZNK7llvm_ks9StringRef4sizeEv:
  123|  74.4M|    size_t size() const { return Length; }
_ZNK7llvm_ks9StringRef5frontEv:
  126|  2.75M|    char front() const {
  127|  2.75M|      assert(!empty());
  ------------------
  |  Branch (127:7): [True: 2.75M, False: 0]
  ------------------
  128|  2.75M|      return Data[0];
  129|  2.75M|    }
_ZNK7llvm_ks9StringRef4backEv:
  132|    489|    char back() const {
  133|    489|      assert(!empty());
  ------------------
  |  Branch (133:7): [True: 489, False: 0]
  ------------------
  134|    489|      return Data[Length-1];
  135|    489|    }
_ZNK7llvm_ks9StringRef6equalsES0_:
  147|  8.15M|    bool equals(StringRef RHS) const {
  148|  8.15M|      return (Length == RHS.Length &&
  ------------------
  |  Branch (148:15): [True: 2.93M, False: 5.21M]
  ------------------
  149|  2.93M|              compareMemory(Data, RHS.Data, RHS.Length) == 0);
  ------------------
  |  Branch (149:15): [True: 2.45M, False: 483k]
  ------------------
  150|  8.15M|    }
_ZNK7llvm_ks9StringRef7compareES0_:
  160|  7.04M|    int compare(StringRef RHS) const {
  161|       |      // Check the prefix for a mismatch.
  162|  7.04M|      if (int Res = compareMemory(Data, RHS.Data, std::min(Length, RHS.Length)))
  ------------------
  |  Branch (162:15): [True: 6.02M, False: 1.02M]
  ------------------
  163|  6.02M|        return Res < 0 ? -1 : 1;
  ------------------
  |  Branch (163:16): [True: 2.09M, False: 3.93M]
  ------------------
  164|       |
  165|       |      // Otherwise the prefixes match, so we only need to check the lengths.
  166|  1.02M|      if (Length == RHS.Length)
  ------------------
  |  Branch (166:11): [True: 439k, False: 583k]
  ------------------
  167|   439k|        return 0;
  168|   583k|      return Length < RHS.Length ? -1 : 1;
  ------------------
  |  Branch (168:14): [True: 199k, False: 384k]
  ------------------
  169|  1.02M|    }
_ZNK7llvm_ks9StringRef3strEv:
  200|  1.71M|    std::string str() const {
  201|  1.71M|      if (!Data) return std::string();
  ------------------
  |  Branch (201:11): [True: 0, False: 1.71M]
  ------------------
  202|  1.71M|      return std::string(Data, Length);
  203|  1.71M|    }
_ZNK7llvm_ks9StringRefixEm:
  209|   122M|    char operator[](size_t Index) const {
  210|   122M|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (210:7): [True: 122M, False: 0]
  |  Branch (210:7): [True: 122M, Folded]
  |  Branch (210:7): [True: 122M, False: 0]
  ------------------
  211|   122M|      return Data[Index];
  212|   122M|    }
_ZNK7llvm_ks9StringRefcvNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEv:
  218|  1.26M|    operator std::string() const {
  219|  1.26M|      return str();
  220|  1.26M|    }
_ZNK7llvm_ks9StringRef10startswithES0_:
  228|  4.58M|    bool startswith(StringRef Prefix) const {
  229|  4.58M|      return Length >= Prefix.Length &&
  ------------------
  |  Branch (229:14): [True: 1.51M, False: 3.06M]
  ------------------
  230|  1.51M|             compareMemory(Data, Prefix.Data, Prefix.Length) == 0;
  ------------------
  |  Branch (230:14): [True: 19.5k, False: 1.49M]
  ------------------
  231|  4.58M|    }
_ZNK7llvm_ks9StringRef8endswithES0_:
  238|  5.32M|    bool endswith(StringRef Suffix) const {
  239|  5.32M|      return Length >= Suffix.Length &&
  ------------------
  |  Branch (239:14): [True: 5.32M, False: 0]
  ------------------
  240|  5.32M|        compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0;
  ------------------
  |  Branch (240:9): [True: 1.86k, False: 5.32M]
  ------------------
  241|  5.32M|    }
_ZNK7llvm_ks9StringRef4findEcm:
  255|  1.10M|    size_t find(char C, size_t From = 0) const {
  256|  1.10M|      size_t FindBegin = std::min(From, Length);
  257|  1.10M|      if (FindBegin < Length) { // Avoid calling memchr with nullptr.
  ------------------
  |  Branch (257:11): [True: 1.10M, False: 2.17k]
  ------------------
  258|       |        // Just forward to memchr, which is faster than a hand-rolled loop.
  259|  1.10M|        if (const void *P = ::memchr(Data + FindBegin, C, Length - FindBegin))
  ------------------
  |  Branch (259:25): [True: 729k, False: 377k]
  ------------------
  260|   729k|          return static_cast<const char *>(P) - Data;
  261|  1.10M|      }
  262|   379k|      return npos;
  263|  1.10M|    }
_ZNK7llvm_ks9StringRef6substrEmm:
  421|  4.41M|    StringRef substr(size_t Start, size_t N = npos) const {
  422|  4.41M|      Start = std::min(Start, Length);
  423|  4.41M|      return StringRef(Data + Start, std::min(N, Length - Start));
  424|  4.41M|    }
_ZNK7llvm_ks9StringRef10drop_frontEm:
  429|   119k|    StringRef drop_front(size_t N = 1) const {
  430|   119k|      assert(size() >= N && "Dropping more elements than exist");
  ------------------
  |  Branch (430:7): [True: 119k, False: 0]
  |  Branch (430:7): [True: 119k, Folded]
  |  Branch (430:7): [True: 119k, False: 0]
  ------------------
  431|   119k|      return substr(N);
  432|   119k|    }
_ZNK7llvm_ks9StringRef9drop_backEm:
  437|   119k|    StringRef drop_back(size_t N = 1) const {
  438|   119k|      assert(size() >= N && "Dropping more elements than exist");
  ------------------
  |  Branch (438:7): [True: 119k, False: 0]
  |  Branch (438:7): [True: 119k, Folded]
  |  Branch (438:7): [True: 119k, False: 0]
  ------------------
  439|   119k|      return substr(0, size()-N);
  440|   119k|    }
_ZNK7llvm_ks9StringRef5sliceEmm:
  453|  10.6M|    StringRef slice(size_t Start, size_t End) const {
  454|  10.6M|      Start = std::min(Start, Length);
  455|  10.6M|      End = std::min(std::max(Start, End), Length);
  456|  10.6M|      return StringRef(Data + Start, End - Start);
  457|  10.6M|    }
_ZNK7llvm_ks9StringRef5splitEc:
  469|   406k|    std::pair<StringRef, StringRef> split(char Separator) const {
  470|   406k|      size_t Idx = find(Separator);
  471|   406k|      if (Idx == npos)
  ------------------
  |  Branch (471:11): [True: 330k, False: 75.0k]
  ------------------
  472|   330k|        return std::make_pair(*this, StringRef());
  473|  75.0k|      return std::make_pair(slice(0, Idx), slice(Idx+1, npos));
  474|   406k|    }
_ZNK7llvm_ks9StringRef5ltrimES0_:
  547|   118k|    StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const {
  548|   118k|      return drop_front(std::min(Length, find_first_not_of(Chars)));
  549|   118k|    }
_ZNK7llvm_ks9StringRef5rtrimES0_:
  553|   118k|    StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
  554|   118k|      return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
  555|   118k|    }
_ZNK7llvm_ks9StringRef4trimES0_:
  559|   118k|    StringRef trim(StringRef Chars = " \t\n\v\f\r") const {
  560|   118k|      return ltrim(Chars).rtrim(Chars);
  561|   118k|    }
_ZN7llvm_kseqENS_9StringRefES0_:
  579|  6.81M|  inline bool operator==(StringRef LHS, StringRef RHS) {
  580|  6.81M|    return LHS.equals(RHS);
  581|  6.81M|  }
_ZN7llvm_ksneENS_9StringRefES0_:
  584|   875k|  inline bool operator!=(StringRef LHS, StringRef RHS) {
  585|   875k|    return !(LHS == RHS);
  586|   875k|  }
_ZN7llvm_ksltENS_9StringRefES0_:
  588|  7.04M|  inline bool operator<(StringRef LHS, StringRef RHS) {
  589|  7.04M|    return LHS.compare(RHS) == -1;
  590|  7.04M|  }
_ZN7llvm_kspLERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS_9StringRefE:
  604|  76.3k|  inline std::string &operator+=(std::string &buffer, StringRef string) {
  605|  76.3k|    return buffer.append(string.data(), string.size());
  606|  76.3k|  }

_ZNK7llvm_ks12StringSwitchIiiE7DefaultERKi:
  150|     66|  R Default(const T& Value) const {
  151|     66|    if (Result)
  ------------------
  |  Branch (151:9): [True: 54, False: 12]
  ------------------
  152|     54|      return *Result;
  153|       |
  154|     12|    return Value;
  155|     66|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_EC2ENS_9StringRefE:
   54|  79.0k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|   316k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   316k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 290k, False: 25.4k]
  |  Branch (59:20): [True: 18.0k, False: 272k]
  ------------------
   60|  18.0k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 770, False: 17.3k]
  ------------------
   61|    770|      Result = &Value;
   62|    770|    }
   63|       |
   64|   316k|    return *this;
   65|   316k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|   948k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   948k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 847k, False: 100k]
  |  Branch (59:20): [True: 21.3k, False: 826k]
  ------------------
   60|  21.3k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1.19k, False: 20.1k]
  ------------------
   61|  1.19k|      Result = &Value;
   62|  1.19k|    }
   63|       |
   64|   948k|    return *this;
   65|   948k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|   711k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   711k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 638k, False: 73.6k]
  |  Branch (59:20): [True: 7.94k, False: 630k]
  ------------------
   60|  7.94k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 756, False: 7.19k]
  ------------------
   61|    756|      Result = &Value;
   62|    756|    }
   63|       |
   64|   711k|    return *this;
   65|   711k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj10EEERS3_RAT__KcRKS2_:
   58|   474k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   474k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 415k, False: 58.6k]
  |  Branch (59:20): [True: 6.48k, False: 409k]
  ------------------
   60|  6.48k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 665, False: 5.81k]
  ------------------
   61|    665|      Result = &Value;
   62|    665|    }
   63|       |
   64|   474k|    return *this;
   65|   474k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|  1.26M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.26M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.07M, False: 189k]
  |  Branch (59:20): [True: 17.9k, False: 1.05M]
  ------------------
   60|  17.9k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1.12k, False: 16.8k]
  ------------------
   61|  1.12k|      Result = &Value;
   62|  1.12k|    }
   63|       |
   64|  1.26M|    return *this;
   65|  1.26M|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|   316k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   316k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 293k, False: 23.2k]
  |  Branch (59:20): [True: 7.06k, False: 285k]
  ------------------
   60|  7.06k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 900, False: 6.16k]
  ------------------
   61|    900|      Result = &Value;
   62|    900|    }
   63|       |
   64|   316k|    return *this;
   65|   316k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj12EEERS3_RAT__KcRKS2_:
   58|   553k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   553k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 462k, False: 91.0k]
  |  Branch (59:20): [True: 8.69k, False: 453k]
  ------------------
   60|  8.69k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 983, False: 7.71k]
  ------------------
   61|    983|      Result = &Value;
   62|    983|    }
   63|       |
   64|   553k|    return *this;
   65|   553k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|   869k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   869k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 737k, False: 131k]
  |  Branch (59:20): [True: 11.0k, False: 726k]
  ------------------
   60|  11.0k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 813, False: 10.2k]
  ------------------
   61|    813|      Result = &Value;
   62|    813|    }
   63|       |
   64|   869k|    return *this;
   65|   869k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|   158k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   158k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 141k, False: 17.0k]
  |  Branch (59:20): [True: 996, False: 140k]
  ------------------
   60|    996|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 219, False: 777]
  ------------------
   61|    219|      Result = &Value;
   62|    219|    }
   63|       |
   64|   158k|    return *this;
   65|   158k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj2EEERS3_RAT__KcRKS2_:
   58|   158k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   158k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 149k, False: 8.45k]
  |  Branch (59:20): [True: 17.7k, False: 131k]
  ------------------
   60|  17.7k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 7.80k, False: 9.96k]
  ------------------
   61|  7.80k|      Result = &Value;
   62|  7.80k|    }
   63|       |
   64|   158k|    return *this;
   65|   158k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj3EEERS3_RAT__KcRKS2_:
   58|   158k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   158k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 130k, False: 27.1k]
  |  Branch (59:20): [True: 88.3k, False: 42.6k]
  ------------------
   60|  88.3k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 242, False: 88.1k]
  ------------------
   61|    242|      Result = &Value;
   62|    242|    }
   63|       |
   64|   158k|    return *this;
   65|   158k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj13EEERS3_RAT__KcRKS2_:
   58|   474k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   474k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 387k, False: 86.8k]
  |  Branch (59:20): [True: 4.83k, False: 382k]
  ------------------
   60|  4.83k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 721, False: 4.11k]
  ------------------
   61|    721|      Result = &Value;
   62|    721|    }
   63|       |
   64|   474k|    return *this;
   65|   474k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj14EEERS3_RAT__KcRKS2_:
   58|   316k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   316k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 261k, False: 54.3k]
  |  Branch (59:20): [True: 1.70k, False: 260k]
  ------------------
   60|  1.70k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 192, False: 1.51k]
  ------------------
   61|    192|      Result = &Value;
   62|    192|    }
   63|       |
   64|   316k|    return *this;
   65|   316k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj15EEERS3_RAT__KcRKS2_:
   58|   237k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   237k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 196k, False: 40.8k]
  |  Branch (59:20): [True: 12.2k, False: 184k]
  ------------------
   60|  12.2k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 120, False: 12.1k]
  ------------------
   61|    120|      Result = &Value;
   62|    120|    }
   63|       |
   64|   237k|    return *this;
   65|   237k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj16EEERS3_RAT__KcRKS2_:
   58|  79.0k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  79.0k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 65.1k, False: 13.9k]
  |  Branch (59:20): [True: 487, False: 64.6k]
  ------------------
   60|    487|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 73, False: 414]
  ------------------
   61|     73|      Result = &Value;
   62|     73|    }
   63|       |
   64|  79.0k|    return *this;
   65|  79.0k|  }
_ZNK7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E7DefaultERKS2_:
  150|  79.0k|  R Default(const T& Value) const {
  151|  79.0k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 16.5k, False: 62.4k]
  ------------------
  152|  16.5k|      return *Result;
  153|       |
  154|  62.4k|    return Value;
  155|  79.0k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_EC2ES1_:
   54|   175k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj14EEERS2_RAT__KcRKS1_:
   58|  7.92k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  7.92k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 7.89k, False: 29]
  |  Branch (59:20): [True: 54, False: 7.84k]
  ------------------
   60|     54|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 53]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|  7.92k|    return *this;
   65|  7.92k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj13EEERS2_RAT__KcRKS1_:
   58|  3.96k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  3.96k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 3.96k, False: 0]
  |  Branch (59:20): [True: 328, False: 3.63k]
  ------------------
   60|    328|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 29, False: 299]
  ------------------
   61|     29|      Result = &Value;
   62|     29|    }
   63|       |
   64|  3.96k|    return *this;
   65|  3.96k|  }
_ZNK7llvm_ks12StringSwitchINS_9StringRefES1_E7DefaultERKS1_:
  150|   175k|  R Default(const T& Value) const {
  151|   175k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 30, False: 175k]
  ------------------
  152|     30|      return *Result;
  153|       |
  154|   175k|    return Value;
  155|   175k|  }
_ZN7llvm_ks12StringSwitchIiiEC2ENS_9StringRefE:
   54|     66|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj5ELj5ELj5EEERS3_RAT__KcRAT0__S6_RAT1__S6_RAT2__S6_RKS2_:
  120|   190k|                      const T& Value) {
  121|   190k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 190k, False: 0]
  ------------------
  122|   190k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 190k, False: 0]
  |  Branch (122:32): [True: 190k, False: 0]
  ------------------
  123|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 0]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|      0|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 0, False: 0]
  |  Branch (124:32): [True: 0, False: 0]
  ------------------
  125|   190k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 0]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|   190k|      Result = &Value;
  127|   190k|    }
  128|       |
  129|   190k|    return *this;
  130|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj5ELj5EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   190k|                      const char (&S2)[N2], const T& Value) {
  106|   190k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 0, False: 190k]
  ------------------
  107|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 0]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 0]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|      0|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 0]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   190k|    return *this;
  114|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj6ELj7ELj8EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   190k|                      const char (&S2)[N2], const T& Value) {
  106|   190k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 0, False: 190k]
  ------------------
  107|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 0]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 0]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|      0|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 0]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   190k|    return *this;
  114|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj8ELj6EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   190k|                      const T& Value) {
   93|   190k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 190k]
  ------------------
   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|   190k|    return *this;
  100|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj10ELj4ELj6EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   190k|                      const char (&S2)[N2], const T& Value) {
  106|   190k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 0, False: 190k]
  ------------------
  107|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 0]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 0]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|      0|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 0]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   190k|    return *this;
  114|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj12ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   190k|                      const T& Value) {
   93|   190k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 190k]
  ------------------
   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|   190k|    return *this;
  100|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj7ELj13EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   190k|                      const char (&S2)[N2], const T& Value) {
  106|   190k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 0, False: 190k]
  ------------------
  107|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 0]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 0]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|      0|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 0]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   190k|    return *this;
  114|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj7ELj15EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   190k|                      const T& Value) {
   93|   190k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 190k]
  ------------------
   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|   190k|    return *this;
  100|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj7ELj9EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   190k|                      const T& Value) {
   93|   190k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 190k]
  ------------------
   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|   190k|    return *this;
  100|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj6ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   190k|                      const T& Value) {
   93|   190k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 190k]
  ------------------
   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|   190k|    return *this;
  100|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj8ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   190k|                      const T& Value) {
   93|   190k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 190k]
  ------------------
   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|   190k|    return *this;
  100|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E10StartsWithILj8EEERS3_RAT__KcRKS2_:
   80|   190k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   190k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 0, False: 190k]
  |  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|   190k|    return *this;
   87|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_EC2ENS_9StringRefE:
   54|   228k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|   228k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   228k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 228k, False: 0]
  |  Branch (59:20): [True: 0, False: 228k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   228k|    return *this;
   65|   228k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E4CaseILj3EEERS3_RAT__KcRKS2_:
   58|   228k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   228k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 228k, False: 0]
  |  Branch (59:20): [True: 0, False: 228k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   228k|    return *this;
   65|   228k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|   228k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   228k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 228k, False: 0]
  |  Branch (59:20): [True: 0, False: 228k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   228k|    return *this;
   65|   228k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|  1.59M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.59M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.59M, False: 0]
  |  Branch (59:20): [True: 0, False: 1.59M]
  ------------------
   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.59M|    return *this;
   65|  1.59M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|   457k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   457k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 457k, False: 0]
  |  Branch (59:20): [True: 0, False: 457k]
  ------------------
   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|   457k|    return *this;
   65|   457k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E7DefaultERKS2_:
  150|   228k|  R Default(const T& Value) const {
  151|   228k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 0, False: 228k]
  ------------------
  152|      0|      return *Result;
  153|       |
  154|   228k|    return Value;
  155|   228k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_EC2ENS_9StringRefE:
   54|   228k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj9EEERS3_RAT__KcRKS2_:
   80|   685k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   685k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 685k, False: 0]
  |  Branch (81:20): [True: 0, False: 685k]
  ------------------
   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|   685k|    return *this;
   87|   685k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj7EEERS3_RAT__KcRKS2_:
   80|  1.14M|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|  1.14M|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 1.14M, False: 0]
  |  Branch (81:20): [True: 1.14M, False: 0]
  ------------------
   82|  1.14M|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 1.14M]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|  1.14M|    return *this;
   87|  1.14M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj10EEERS3_RAT__KcRKS2_:
   80|   228k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   228k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 228k, False: 0]
  |  Branch (81:20): [True: 0, False: 228k]
  ------------------
   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|   228k|    return *this;
   87|   228k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj8EEERS3_RAT__KcRKS2_:
   80|  1.14M|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|  1.14M|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 1.14M, False: 0]
  |  Branch (81:20): [True: 1.14M, False: 0]
  ------------------
   82|  1.14M|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 1.14M]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|  1.14M|    return *this;
   87|  1.14M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj4EEERS3_RAT__KcRKS2_:
   80|  1.14M|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|  1.14M|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 1.14M, False: 0]
  |  Branch (81:20): [True: 1.14M, False: 0]
  ------------------
   82|  1.14M|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 1.14M]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|  1.14M|    return *this;
   87|  1.14M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj6EEERS3_RAT__KcRKS2_:
   80|  1.14M|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|  1.14M|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 1.14M, False: 0]
  |  Branch (81:20): [True: 1.14M, False: 0]
  ------------------
   82|  1.14M|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 1.14M]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|  1.14M|    return *this;
   87|  1.14M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj5EEERS3_RAT__KcRKS2_:
   80|   914k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   914k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 914k, False: 0]
  |  Branch (81:20): [True: 914k, False: 0]
  ------------------
   82|   914k|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 914k]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|   914k|    return *this;
   87|   914k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E7DefaultERKS2_:
  150|   228k|  R Default(const T& Value) const {
  151|   228k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 0, False: 228k]
  ------------------
  152|      0|      return *Result;
  153|       |
  154|   228k|    return Value;
  155|   228k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_EC2ENS_9StringRefE:
   54|   190k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E10StartsWithILj7EEERS3_RAT__KcRKS2_:
   80|   761k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   761k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 571k, False: 190k]
  |  Branch (81:20): [True: 571k, False: 0]
  ------------------
   82|   571k|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 190k, False: 380k]
  ------------------
   83|   190k|      Result = &Value;
   84|   190k|    }
   85|       |
   86|   761k|    return *this;
   87|   761k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E10StartsWithILj5EEERS3_RAT__KcRKS2_:
   80|   380k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   380k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 190k, False: 190k]
  |  Branch (81:20): [True: 190k, False: 0]
  ------------------
   82|   190k|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 190k]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|   380k|    return *this;
   87|   380k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E10StartsWithILj10EEERS3_RAT__KcRKS2_:
   80|   380k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   380k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 190k, False: 190k]
  |  Branch (81:20): [True: 0, False: 190k]
  ------------------
   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|   380k|    return *this;
   87|   380k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E10StartsWithILj8EEERS3_RAT__KcRKS2_:
   80|   761k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   761k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 190k, False: 571k]
  |  Branch (81:20): [True: 0, False: 190k]
  ------------------
   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|   761k|    return *this;
   87|   761k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E10StartsWithILj4EEERS3_RAT__KcRKS2_:
   80|   190k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   190k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 0, False: 190k]
  |  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|   190k|    return *this;
   87|   190k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E7DefaultERKS2_:
  150|   190k|  R Default(const T& Value) const {
  151|   190k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 190k, False: 0]
  ------------------
  152|   190k|      return *Result;
  153|       |
  154|      0|    return Value;
  155|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple16ObjectFormatTypeES2_EC2ENS_9StringRefE:
   54|   171k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple16ObjectFormatTypeES2_E8EndsWithILj5EEERS3_RAT__KcRKS2_:
   69|   171k|  StringSwitch& EndsWith(const char (&S)[N], const T &Value) {
   70|   171k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (70:9): [True: 171k, False: 0]
  |  Branch (70:20): [True: 171k, False: 0]
  ------------------
   71|   171k|        std::memcmp(S, Str.data() + Str.size() + 1 - N, N-1) == 0) {
  ------------------
  |  Branch (71:9): [True: 0, False: 171k]
  ------------------
   72|      0|      Result = &Value;
   73|      0|    }
   74|       |
   75|   171k|    return *this;
   76|   171k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple16ObjectFormatTypeES2_E8EndsWithILj4EEERS3_RAT__KcRKS2_:
   69|   171k|  StringSwitch& EndsWith(const char (&S)[N], const T &Value) {
   70|   171k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (70:9): [True: 171k, False: 0]
  |  Branch (70:20): [True: 171k, False: 0]
  ------------------
   71|   171k|        std::memcmp(S, Str.data() + Str.size() + 1 - N, N-1) == 0) {
  ------------------
  |  Branch (71:9): [True: 0, False: 171k]
  ------------------
   72|      0|      Result = &Value;
   73|      0|    }
   74|       |
   75|   171k|    return *this;
   76|   171k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple16ObjectFormatTypeES2_E8EndsWithILj6EEERS3_RAT__KcRKS2_:
   69|   171k|  StringSwitch& EndsWith(const char (&S)[N], const T &Value) {
   70|   171k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (70:9): [True: 171k, False: 0]
  |  Branch (70:20): [True: 171k, False: 0]
  ------------------
   71|   171k|        std::memcmp(S, Str.data() + Str.size() + 1 - N, N-1) == 0) {
  ------------------
  |  Branch (71:9): [True: 0, False: 171k]
  ------------------
   72|      0|      Result = &Value;
   73|      0|    }
   74|       |
   75|   171k|    return *this;
   76|   171k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple16ObjectFormatTypeES2_E7DefaultERKS2_:
  150|   171k|  R Default(const T& Value) const {
  151|   171k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 0, False: 171k]
  ------------------
  152|      0|      return *Result;
  153|       |
  154|   171k|    return Value;
  155|   171k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_EC2ENS_9StringRefE:
   54|   190k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|  1.71M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.71M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 1.71M]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  1.71M|    return *this;
   65|  1.71M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|   190k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   190k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 190k]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   190k|    return *this;
   65|   190k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|  1.71M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.71M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 1.71M]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  1.71M|    return *this;
   65|  1.71M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|   571k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   571k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 571k]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   571k|    return *this;
   65|   571k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|   761k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   761k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 761k]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   761k|    return *this;
   65|   761k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|  1.14M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.14M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 1.14M]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  1.14M|    return *this;
   65|  1.14M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|   380k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   380k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 380k]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   380k|    return *this;
   65|   380k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E7DefaultERKS2_:
  150|   190k|  R Default(const T& Value) const {
  151|   190k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 190k, False: 0]
  ------------------
  152|   190k|      return *Result;
  153|       |
  154|      0|    return Value;
  155|   190k|  }
_ZN7llvm_ks12StringSwitchIjjEC2ENS_9StringRefE:
   54|   279k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj3EEERS1_RAT__KcRKj:
   58|  6.87k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  6.87k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 6.51k, False: 354]
  |  Branch (59:20): [True: 534, False: 5.98k]
  ------------------
   60|    534|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 41, False: 493]
  ------------------
   61|     41|      Result = &Value;
   62|     41|    }
   63|       |
   64|  6.87k|    return *this;
   65|  6.87k|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj4EEERS1_RAT__KcRKj:
   58|  7.76k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  7.76k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 7.25k, False: 509]
  |  Branch (59:20): [True: 521, False: 6.73k]
  ------------------
   60|    521|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 73, False: 448]
  ------------------
   61|     73|      Result = &Value;
   62|     73|    }
   63|       |
   64|  7.76k|    return *this;
   65|  7.76k|  }
_ZNK7llvm_ks12StringSwitchIjjE7DefaultERKj:
  150|   279k|  R Default(const T& Value) const {
  151|   279k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 585, False: 279k]
  ------------------
  152|    585|      return *Result;
  153|       |
  154|   279k|    return Value;
  155|   279k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj4EEERS2_RAT__KcRKS1_:
   58|   685k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   685k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 685k, False: 0]
  |  Branch (59:20): [True: 0, False: 685k]
  ------------------
   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|   685k|    return *this;
   65|   685k|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj7EEERS1_RAT__KcRKj:
   58|  12.7k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  12.7k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 10.8k, False: 1.88k]
  |  Branch (59:20): [True: 856, False: 10.0k]
  ------------------
   60|    856|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 83, False: 773]
  ------------------
   61|     83|      Result = &Value;
   62|     83|    }
   63|       |
   64|  12.7k|    return *this;
   65|  12.7k|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj8EEERS1_RAT__KcRKj:
   58|  4.25k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  4.25k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 3.64k, False: 610]
  |  Branch (59:20): [True: 540, False: 3.10k]
  ------------------
   60|    540|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 2, False: 538]
  ------------------
   61|      2|      Result = &Value;
   62|      2|    }
   63|       |
   64|  4.25k|    return *this;
   65|  4.25k|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj9EEERS1_RAT__KcRKj:
   58|  2.12k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  2.12k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.74k, False: 388]
  |  Branch (59:20): [True: 31, False: 1.70k]
  ------------------
   60|     31|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 2, False: 29]
  ------------------
   61|      2|      Result = &Value;
   62|      2|    }
   63|       |
   64|  2.12k|    return *this;
   65|  2.12k|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj5EEERS1_RAT__KcRKj:
   58|  1.10k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.10k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 930, False: 177]
  |  Branch (59:20): [True: 23, False: 907]
  ------------------
   60|     23|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 3, False: 20]
  ------------------
   61|      3|      Result = &Value;
   62|      3|    }
   63|       |
   64|  1.10k|    return *this;
   65|  1.10k|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj6EEERS1_RAT__KcRKj:
   58|  17.0k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  17.0k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 14.9k, False: 2.13k]
  |  Branch (59:20): [True: 2.79k, False: 12.1k]
  ------------------
   60|  2.79k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 111, False: 2.68k]
  ------------------
   61|    111|      Result = &Value;
   62|    111|    }
   63|       |
   64|  17.0k|    return *this;
   65|  17.0k|  }
_ZN7llvm_ks12StringSwitchIiiE4CaseILj3EEERS1_RAT__KcRKi:
   58|    264|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|    264|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 116, False: 148]
  |  Branch (59:20): [True: 100, False: 16]
  ------------------
   60|    100|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 54, False: 46]
  ------------------
   61|     54|      Result = &Value;
   62|     54|    }
   63|       |
   64|    264|    return *this;
   65|    264|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj3EEERS2_RAT__KcRKS1_:
   58|   171k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   171k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 171k, False: 0]
  |  Branch (59:20): [True: 0, False: 171k]
  ------------------
   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|   171k|    return *this;
   65|   171k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj6EEERS2_RAT__KcRKS1_:
   58|   342k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   342k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 342k, False: 0]
  |  Branch (59:20): [True: 0, False: 342k]
  ------------------
   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|   342k|    return *this;
   65|   342k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj9EEERS2_RAT__KcRKS1_:
   58|   342k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   342k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 342k, False: 0]
  |  Branch (59:20): [True: 0, False: 342k]
  ------------------
   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|   342k|    return *this;
   65|   342k|  }
_ZN7llvm_ks12StringSwitchIjjE5CasesILj5ELj5EEERS1_RAT__KcRAT0__S4_RKj:
   92|   556k|                      const T& Value) {
   93|   556k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 556k, False: 6]
  ------------------
   94|   556k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 4.79k, False: 551k]
  |  Branch (94:32): [True: 13, False: 4.78k]
  ------------------
   95|   556k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 4.78k, False: 551k]
  |  Branch (95:32): [True: 119, False: 4.66k]
  ------------------
   96|    132|      Result = &Value;
   97|    132|    }
   98|       |
   99|   556k|    return *this;
  100|   556k|  }
_ZN7llvm_ks12StringSwitchIjjE5CasesILj6ELj6EEERS1_RAT__KcRAT0__S4_RKj:
   92|  1.39M|                      const T& Value) {
   93|  1.39M|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 1.39M, False: 710]
  ------------------
   94|  1.39M|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 4.96k, False: 1.38M]
  |  Branch (94:32): [True: 5, False: 4.96k]
  ------------------
   95|  1.39M|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 4.96k, False: 1.38M]
  |  Branch (95:32): [True: 8, False: 4.95k]
  ------------------
   96|     13|      Result = &Value;
   97|     13|    }
   98|       |
   99|  1.39M|    return *this;
  100|  1.39M|  }
_ZN7llvm_ks12StringSwitchIjjE5CasesILj7ELj7EEERS1_RAT__KcRAT0__S4_RKj:
   92|   556k|                      const T& Value) {
   93|   556k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 556k, False: 407]
  ------------------
   94|   556k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 1.67k, False: 554k]
  |  Branch (94:32): [True: 5, False: 1.67k]
  ------------------
   95|   556k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 1.67k, False: 554k]
  |  Branch (95:32): [True: 11, False: 1.66k]
  ------------------
   96|     16|      Result = &Value;
   97|     16|    }
   98|       |
   99|   556k|    return *this;
  100|   556k|  }
_ZN7llvm_ks12StringSwitchIjjE5CasesILj8ELj8EEERS1_RAT__KcRAT0__S4_RKj:
   92|   835k|                      const T& Value) {
   93|   835k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 834k, False: 577]
  ------------------
   94|   834k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 1.63k, False: 832k]
  |  Branch (94:32): [True: 23, False: 1.60k]
  ------------------
   95|   834k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 1.60k, False: 832k]
  |  Branch (95:32): [True: 86, False: 1.52k]
  ------------------
   96|    109|      Result = &Value;
   97|    109|    }
   98|       |
   99|   835k|    return *this;
  100|   835k|  }
_ZN7llvm_ks12StringSwitchIPKcS2_E4CaseILj4EEERS3_RAT__S1_RKS2_:
   58|     30|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|     30|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 26, False: 4]
  |  Branch (59:20): [True: 17, False: 9]
  ------------------
   60|     17|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 4, False: 13]
  ------------------
   61|      4|      Result = &Value;
   62|      4|    }
   63|       |
   64|     30|    return *this;
   65|     30|  }
_ZNK7llvm_ks12StringSwitchIPKcS2_E7DefaultERKS2_:
  150|  36.1k|  R Default(const T& Value) const {
  151|  36.1k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 2.62k, False: 33.5k]
  ------------------
  152|  2.62k|      return *Result;
  153|       |
  154|  33.5k|    return Value;
  155|  36.1k|  }
_ZN7llvm_ks12StringSwitchIPKcS2_EC2ENS_9StringRefE:
   54|  36.2k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchIPKcS2_E4CaseILj5EEERS3_RAT__S1_RKS2_:
   58|    172|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|    172|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 150, False: 22]
  |  Branch (59:20): [True: 82, False: 68]
  ------------------
   60|     82|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 50, False: 32]
  ------------------
   61|     50|      Result = &Value;
   62|     50|    }
   63|       |
   64|    172|    return *this;
   65|    172|  }
_ZN7llvm_ks12StringSwitchIPKcS2_E4CaseILj6EEERS3_RAT__S1_RKS2_:
   58|   180k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   180k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 177k, False: 3.24k]
  |  Branch (59:20): [True: 46.0k, False: 131k]
  ------------------
   60|  46.0k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 2.59k, False: 43.4k]
  ------------------
   61|  2.59k|      Result = &Value;
   62|  2.59k|    }
   63|       |
   64|   180k|    return *this;
   65|   180k|  }
_ZNK7llvm_ks12StringSwitchIPKcS2_EcvS2_Ev:
  158|     81|  operator R() const {
  159|     81|    assert(Result && "Fell off the end of a string-switch");
  ------------------
  |  Branch (159:5): [True: 81, False: 0]
  |  Branch (159:5): [True: 81, Folded]
  |  Branch (159:5): [True: 81, False: 0]
  ------------------
  160|     81|    return *Result;
  161|     81|  }
_ZN7llvm_ks12StringSwitchIPKcS2_E4CaseILj7EEERS3_RAT__S1_RKS2_:
   58|   108k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   108k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 105k, False: 3.30k]
  |  Branch (59:20): [True: 2.84k, False: 102k]
  ------------------
   60|  2.84k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 60, False: 2.78k]
  ------------------
   61|     60|      Result = &Value;
   62|     60|    }
   63|       |
   64|   108k|    return *this;
   65|   108k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj5EEERS2_RAT__KcRKS1_:
   58|   342k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   342k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 342k, False: 0]
  |  Branch (59:20): [True: 342k, False: 0]
  ------------------
   60|   342k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 342k]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   342k|    return *this;
   65|   342k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj4ELj5ELj6EEERS2_RAT__KcRAT0__S5_RAT1__S5_RKS1_:
  105|   171k|                      const char (&S2)[N2], const T& Value) {
  106|   171k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 171k, False: 0]
  ------------------
  107|   171k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 171k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   171k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 171k, False: 0]
  |  Branch (108:32): [True: 0, False: 171k]
  ------------------
  109|   171k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 171k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   171k|    return *this;
  114|   171k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj4ELj5EEERS2_RAT__KcRAT0__S5_RKS1_:
   92|   171k|                      const T& Value) {
   93|   171k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 171k, False: 0]
  ------------------
   94|   171k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 171k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   171k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 171k, False: 0]
  |  Branch (95:32): [True: 0, False: 171k]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   171k|    return *this;
  100|   171k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj3ELj4ELj5ELj4EEERS2_RAT__KcRAT0__S5_RAT1__S5_RAT2__S5_RKS1_:
  120|   171k|                      const T& Value) {
  121|   171k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 171k, False: 0]
  ------------------
  122|   171k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 171k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|   171k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 171k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|   171k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 171k, False: 0]
  |  Branch (124:32): [True: 0, False: 171k]
  ------------------
  125|   171k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 171k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|   171k|    return *this;
  130|   171k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj3ELj4ELj8ELj6EEERS2_RAT__KcRAT0__S5_RAT1__S5_RAT2__S5_RKS1_:
  120|   171k|                      const T& Value) {
  121|   171k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 171k, False: 0]
  ------------------
  122|   171k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 171k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|   171k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 171k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|   171k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 0, False: 171k]
  |  Branch (124:32): [True: 0, False: 0]
  ------------------
  125|   171k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 171k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|   171k|    return *this;
  130|   171k|  }

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

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

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

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

_ZN7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES3_EC2IS6_EEOT_:
  239|   104k|      : 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|   104k|      : I(std::forward<U &&>(u)) {}
_ZN7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES4_EC2IS7_EEOT_:
  239|  17.6k|      : 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|  17.6k|      : I(std::forward<U &&>(u)) {}
_ZNK7llvm_ks20iterator_facade_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EENS2_26random_access_iterator_tagES4_lS5_RS4_EneERKS8_:
   96|   105k|  bool operator!=(const DerivedT &RHS) const {
   97|   105k|    return !static_cast<const DerivedT *>(this)->operator==(RHS);
   98|   105k|  }
_ZNK7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EES7_NS2_26random_access_iterator_tagES4_lS5_RS4_NS2_15iterator_traitsIS7_EEEeqERKS8_:
  208|   105k|  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|  53.2k|  DerivedT &operator++() {
  196|  53.2k|    ++I;
  197|  53.2k|    return *static_cast<DerivedT *>(this);
  198|  53.2k|  }
_ZNK7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES3_EdeEv:
  241|  54.4k|  T &operator*() const { return **this->I; }
_ZNK7llvm_ks20iterator_facade_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EENS2_26random_access_iterator_tagES5_lS6_RS5_EneERKS9_:
   96|  68.2k|  bool operator!=(const DerivedT &RHS) const {
   97|  68.2k|    return !static_cast<const DerivedT *>(this)->operator==(RHS);
   98|  68.2k|  }
_ZNK7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EES8_NS2_26random_access_iterator_tagES5_lS6_RS5_NS2_15iterator_traitsIS8_EEEeqERKS9_:
  208|  68.2k|  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|  59.4k|  DerivedT &operator++() {
  196|  59.4k|    ++I;
  197|  59.4k|    return *static_cast<DerivedT *>(this);
  198|  59.4k|  }
_ZNK7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES4_EdeEv:
  241|  59.4k|  T &operator*() const { return **this->I; }

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

_ZN7llvm_ks12MCAsmBackend7setArchEi:
  145|  19.0k|  void setArch(int arch) { KsArch = arch; }
_ZN7llvm_ks12MCAsmBackend17processFixupValueERKNS_11MCAssemblerERKNS_11MCAsmLayoutERKNS_7MCFixupEPKNS_10MCFragmentERKNS_7MCValueERmRb:
   85|  19.7k|                                 bool &IsResolved) {}
_ZNK7llvm_ks12MCAsmBackend17getMinimumNopSizeEv:
  128|     69|  virtual unsigned getMinimumNopSize() const { return 1; }
_ZN7llvm_ks12MCAsmBackend19handleAssemblerFlagENS_15MCAssemblerFlagE:
  137|    675|  virtual void handleAssemblerFlag(MCAssemblerFlag Flag) {}
_ZN7llvm_ks12MCAsmBackend7getArchEv:
  146|  11.2k|  int getArch() { return KsArch; }

_ZN7llvm_ks9MCAsmInfo8setRadixEj:
  480|  21.6k|  void setRadix(unsigned v) { Radix = v; }
_ZN7llvm_ks9MCAsmInfo19setAssemblerDialectEj:
  479|  3.40k|  void setAssemblerDialect(unsigned v) { AssemblerDialect = v; }
_ZN7llvm_ks9MCAsmInfo16setCommentStringEPKc:
  458|    325|  void setCommentString(const char *str) { CommentString = str; }
_ZNK7llvm_ks9MCAsmInfo14isLittleEndianEv:
  379|  83.1M|  bool isLittleEndian() const { return IsLittleEndian; }
_ZNK7llvm_ks9MCAsmInfo24hasSubsectionsViaSymbolsEv:
  384|   518k|  bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
_ZNK7llvm_ks9MCAsmInfo13getDollarIsPCEv:
  450|  3.40k|  bool getDollarIsPC() const { return DollarIsPC; }
_ZNK7llvm_ks9MCAsmInfo18getSeparatorStringEv:
  451|  69.7M|  const char *getSeparatorString() const { return SeparatorString; }
_ZNK7llvm_ks9MCAsmInfo16getCommentStringEv:
  457|  26.7M|  const char *getCommentString() const { return CommentString; }
_ZNK7llvm_ks9MCAsmInfo22getPrivateGlobalPrefixEv:
  463|   384k|  const char *getPrivateGlobalPrefix() const { return PrivateGlobalPrefix; }
_ZNK7llvm_ks9MCAsmInfo19getAssemblerDialectEv:
  478|  1.04M|  unsigned getAssemblerDialect() const { return AssemblerDialect; }
_ZNK7llvm_ks9MCAsmInfo8getRadixEv:
  481|  19.0k|  unsigned getRadix() const { return Radix; }
_ZNK7llvm_ks9MCAsmInfo17doesAllowAtInNameEv:
  482|  58.1k|  bool doesAllowAtInName() const { return AllowAtInName; }
_ZNK7llvm_ks9MCAsmInfo21getAlignmentIsInBytesEv:
  490|  34.0k|  bool getAlignmentIsInBytes() const { return AlignmentIsInBytes; }
_ZNK7llvm_ks9MCAsmInfo21getTextAlignFillValueEv:
  491|  18.6k|  unsigned getTextAlignFillValue() const { return TextAlignFillValue; }
_ZNK7llvm_ks9MCAsmInfo34getCOMMDirectiveAlignmentIsInBytesEv:
  497|    181|  bool getCOMMDirectiveAlignmentIsInBytes() const {
  498|    181|    return COMMDirectiveAlignmentIsInBytes;
  499|    181|  }
_ZNK7llvm_ks9MCAsmInfo30getLCOMMDirectiveAlignmentTypeEv:
  500|    218|  LCOMM::LCOMMType getLCOMMDirectiveAlignmentType() const {
  501|    218|    return LCOMMDirectiveAlignmentType;
  502|    218|  }
_ZNK7llvm_ks9MCAsmInfo25useParensForSymbolVariantEv:
  548|   898k|  bool useParensForSymbolVariant() const { return UseParensForSymbolVariant; }
_ZN7llvm_ks9MCAsmInfo20addInitialFrameStateERKNS_16MCCFIInstructionE:
  550|  38.0k|  void addInitialFrameState(const MCCFIInstruction &Inst) {
  551|  38.0k|    InitialFrameState.push_back(Inst);
  552|  38.0k|  }
_ZNK7llvm_ks9MCAsmInfo21compressDebugSectionsEv:
  566|  8.29k|  bool compressDebugSections() const { return CompressDebugSections; }
_ZNK7llvm_ks9MCAsmInfo19shouldUseLogicalShrEv:
  572|  1.81M|  bool shouldUseLogicalShr() const { return UseLogicalShr; }

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

_ZNK7llvm_ks11MCAssembler8setErrorEj:
   64|  8.61k|  void setError(unsigned E) const { KsError = E; }
_ZNK7llvm_ks11MCAssembler8getErrorEv:
   65|  59.4k|  unsigned getError() const { return KsError; }
_ZNK7llvm_ks11MCAssembler14setSymResolverEPv:
   67|  8.80k|  void setSymResolver(void *h) const { KsSymResolver = h; }
_ZNK7llvm_ks11MCAssembler10getContextEv:
  264|  33.8k|  MCContext &getContext() const { return Context; }
_ZNK7llvm_ks11MCAssembler10getBackendEv:
  266|  86.1k|  MCAsmBackend &getBackend() const { return Backend; }
_ZNK7llvm_ks11MCAssembler10getEmitterEv:
  268|  36.4k|  MCCodeEmitter &getEmitter() const { return Emitter; }
_ZNK7llvm_ks11MCAssembler9getWriterEv:
  270|  98.5k|  MCObjectWriter &getWriter() const { return Writer; }
_ZNK7llvm_ks11MCAssembler11getRelaxAllEv:
  294|  30.9k|  bool getRelaxAll() const { return RelaxAll; }
_ZNK7llvm_ks11MCAssembler17isBundlingEnabledEv:
  297|  83.3M|  bool isBundlingEnabled() const { return BundleAlignSize != 0; }
_ZNK7llvm_ks11MCAssembler18getBundleAlignSizeEv:
  299|      1|  unsigned getBundleAlignSize() const { return BundleAlignSize; }
_ZN7llvm_ks11MCAssembler18setBundleAlignSizeEj:
  301|      1|  void setBundleAlignSize(unsigned Size) {
  302|      1|    assert((Size == 0 || !(Size & (Size - 1))) &&
  ------------------
  |  Branch (302:5): [True: 0, False: 1]
  |  Branch (302:5): [True: 1, False: 0]
  |  Branch (302:5): [True: 1, Folded]
  |  Branch (302:5): [True: 1, False: 0]
  ------------------
  303|      1|           "Expect a power-of-two bundle align size");
  304|      1|    BundleAlignSize = Size;
  305|      1|  }
_ZN7llvm_ks11MCAssembler5beginEv:
  310|  52.2k|  iterator begin() { return Sections.begin(); }
_ZN7llvm_ks11MCAssembler3endEv:
  313|  52.2k|  iterator end() { return Sections.end(); }
_ZN7llvm_ks11MCAssembler12symbol_beginEv:
  321|  8.80k|  symbol_iterator symbol_begin() { return Symbols.begin(); }
_ZN7llvm_ks11MCAssembler10symbol_endEv:
  324|  8.80k|  symbol_iterator symbol_end() { return Symbols.end(); }
_ZN7llvm_ks11MCAssembler7symbolsEv:
  327|  8.80k|  symbol_range symbols() { return make_range(symbol_begin(), symbol_end()); }
_ZN7llvm_ks11MCAssembler11addFileNameENS_9StringRefE:
  411|  9.28k|  void addFileName(StringRef FileName) {
  412|  9.28k|    if (std::find(FileNames.begin(), FileNames.end(), FileName) ==
  ------------------
  |  Branch (412:9): [True: 623, False: 8.66k]
  ------------------
  413|  9.28k|        FileNames.end())
  414|    623|      FileNames.push_back(FileName);
  415|  9.28k|  }

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

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

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

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

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

_ZN7llvm_ks6MCExprC2ENS0_8ExprKindE:
   59|  2.75M|  explicit MCExpr(ExprKind Kind) : Kind(Kind) {}
_ZNK7llvm_ks6MCExpr7getKindEv:
   70|  7.93M|  ExprKind getKind() const { return Kind; }
_ZN7llvm_ks14MCConstantExprC2El:
  134|  1.47M|      : MCExpr(MCExpr::Constant), Value(Value) {}
_ZNK7llvm_ks14MCConstantExpr8getValueEv:
  146|  1.02M|  int64_t getValue() const { return Value; }
_ZN7llvm_ks14MCConstantExpr7classofEPKNS_6MCExprE:
  150|  2.22M|  static bool classof(const MCExpr *E) {
  151|  2.22M|    return E->getKind() == MCExpr::Constant;
  152|  2.22M|  }
_ZNK7llvm_ks15MCSymbolRefExpr9getSymbolEv:
  333|  1.07M|  const MCSymbol &getSymbol() const { return *Symbol; }
_ZNK7llvm_ks15MCSymbolRefExpr7getKindEv:
  335|   162k|  VariantKind getKind() const { return Kind; }
_ZNK7llvm_ks15MCSymbolRefExpr24hasSubsectionsViaSymbolsEv:
  339|  3.72k|  bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
_ZN7llvm_ks15MCSymbolRefExpr7classofEPKNS_6MCExprE:
  351|   914k|  static bool classof(const MCExpr *E) {
  352|   914k|    return E->getKind() == MCExpr::SymbolRef;
  353|   914k|  }
_ZN7llvm_ks11MCUnaryExprC2ENS0_6OpcodeEPKNS_6MCExprE:
  371|   318k|      : MCExpr(MCExpr::Unary), Op(Op), Expr(Expr) {}
_ZN7llvm_ks11MCUnaryExpr10createLNotEPKNS_6MCExprERNS_9MCContextE:
  379|  3.71k|  static const MCUnaryExpr *createLNot(const MCExpr *Expr, MCContext &Ctx) {
  380|  3.71k|    return create(LNot, Expr, Ctx);
  381|  3.71k|  }
_ZN7llvm_ks11MCUnaryExpr11createMinusEPKNS_6MCExprERNS_9MCContextE:
  382|   212k|  static const MCUnaryExpr *createMinus(const MCExpr *Expr, MCContext &Ctx) {
  383|   212k|    return create(Minus, Expr, Ctx);
  384|   212k|  }
_ZN7llvm_ks11MCUnaryExpr9createNotEPKNS_6MCExprERNS_9MCContextE:
  385|  77.3k|  static const MCUnaryExpr *createNot(const MCExpr *Expr, MCContext &Ctx) {
  386|  77.3k|    return create(Not, Expr, Ctx);
  387|  77.3k|  }
_ZN7llvm_ks11MCUnaryExpr10createPlusEPKNS_6MCExprERNS_9MCContextE:
  388|  24.3k|  static const MCUnaryExpr *createPlus(const MCExpr *Expr, MCContext &Ctx) {
  389|  24.3k|    return create(Plus, Expr, Ctx);
  390|  24.3k|  }
_ZNK7llvm_ks11MCUnaryExpr9getOpcodeEv:
  397|   218k|  Opcode getOpcode() const { return Op; }
_ZNK7llvm_ks11MCUnaryExpr10getSubExprEv:
  400|   475k|  const MCExpr *getSubExpr() const { return Expr; }
_ZN7llvm_ks11MCUnaryExpr7classofEPKNS_6MCExprE:
  404|   421k|  static bool classof(const MCExpr *E) {
  405|   421k|    return E->getKind() == MCExpr::Unary;
  406|   421k|  }
_ZN7llvm_ks12MCBinaryExprC2ENS0_6OpcodeEPKNS_6MCExprES4_:
  443|   456k|      : MCExpr(MCExpr::Binary), Op(Op), LHS(LHS), RHS(RHS) {}
_ZN7llvm_ks12MCBinaryExpr9createAddEPKNS_6MCExprES3_RNS_9MCContextE:
  452|  16.0k|                                       MCContext &Ctx) {
  453|  16.0k|    return create(Add, LHS, RHS, Ctx);
  454|  16.0k|  }
_ZNK7llvm_ks12MCBinaryExpr9getOpcodeEv:
  533|   265k|  Opcode getOpcode() const { return Op; }
_ZNK7llvm_ks12MCBinaryExpr6getLHSEv:
  536|   702k|  const MCExpr *getLHS() const { return LHS; }
_ZNK7llvm_ks12MCBinaryExpr6getRHSEv:
  539|   615k|  const MCExpr *getRHS() const { return RHS; }
_ZN7llvm_ks12MCBinaryExpr7classofEPKNS_6MCExprE:
  543|   642k|  static bool classof(const MCExpr *E) {
  544|   642k|    return E->getKind() == MCExpr::Binary;
  545|   642k|  }

_ZN7llvm_ks7MCFixup6createEjPKNS_6MCExprENS_11MCFixupKindENS_5SMLocE:
   87|  64.9k|                        MCFixupKind Kind, SMLoc Loc = SMLoc()) {
   88|  64.9k|    assert(unsigned(Kind) < MaxTargetFixupKind && "Kind out of range!");
  ------------------
  |  Branch (88:5): [True: 64.9k, False: 0]
  |  Branch (88:5): [True: 64.9k, Folded]
  |  Branch (88:5): [True: 64.9k, False: 0]
  ------------------
   89|  64.9k|    MCFixup FI;
   90|  64.9k|    FI.Value = Value;
   91|  64.9k|    FI.Offset = Offset;
   92|  64.9k|    FI.Kind = unsigned(Kind);
   93|  64.9k|    FI.Loc = Loc;
   94|  64.9k|    return FI;
   95|  64.9k|  }
_ZNK7llvm_ks7MCFixup7getKindEv:
  119|  71.2k|  MCFixupKind getKind() const { return MCFixupKind(Kind); }
_ZNK7llvm_ks7MCFixup9getOffsetEv:
  121|  76.5k|  uint32_t getOffset() const { return Offset; }
_ZN7llvm_ks7MCFixup9setOffsetEj:
  122|  8.60k|  void setOffset(uint32_t Value) { Offset = Value; }
_ZNK7llvm_ks7MCFixup8getValueEv:
  124|  37.3k|  const MCExpr *getValue() const { return Value; }
_ZN7llvm_ks7MCFixup14getKindForSizeEjb:
  128|  61.4k|  static MCFixupKind getKindForSize(unsigned Size, bool isPCRel) {
  129|  61.4k|    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: 61.4k]
  ------------------
  131|  8.81k|    case 1: return isPCRel ? FK_PCRel_1 : FK_Data_1;
  ------------------
  |  Branch (131:5): [True: 8.81k, False: 52.6k]
  |  Branch (131:20): [True: 7.54k, False: 1.26k]
  ------------------
  132|  40.0k|    case 2: return isPCRel ? FK_PCRel_2 : FK_Data_2;
  ------------------
  |  Branch (132:5): [True: 40.0k, False: 21.4k]
  |  Branch (132:20): [True: 693, False: 39.3k]
  ------------------
  133|  12.5k|    case 4: return isPCRel ? FK_PCRel_4 : FK_Data_4;
  ------------------
  |  Branch (133:5): [True: 12.5k, False: 48.9k]
  |  Branch (133:20): [True: 7.33k, False: 5.19k]
  ------------------
  134|     73|    case 8: return isPCRel ? FK_PCRel_8 : FK_Data_8;
  ------------------
  |  Branch (134:5): [True: 73, False: 61.4k]
  |  Branch (134:20): [True: 0, False: 73]
  ------------------
  135|  61.4k|    }
  136|  61.4k|  }
_ZNK7llvm_ks7MCFixup6getLocEv:
  162|  3.77k|  SMLoc getLoc() const { return Loc; }

_ZNK7llvm_ks10MCFragment7getKindEv:
   97|   167M|  FragmentType getKind() const { return Kind; }
_ZNK7llvm_ks10MCFragment9getParentEv:
   99|   735k|  MCSection *getParent() const { return Parent; }
_ZN7llvm_ks10MCFragment9setParentEPNS_9MCSectionE:
  100|  58.8k|  void setParent(MCSection *Value) { Parent = Value; }
_ZNK7llvm_ks10MCFragment14getLayoutOrderEv:
  105|   476k|  unsigned getLayoutOrder() const { return LayoutOrder; }
_ZN7llvm_ks10MCFragment14setLayoutOrderEj:
  106|  52.8k|  void setLayoutOrder(unsigned Value) { LayoutOrder = Value; }
_ZNK7llvm_ks10MCFragment15hasInstructionsEv:
  110|      1|  bool hasInstructions() const { return HasInstructions; }
_ZNK7llvm_ks10MCFragment16getBundlePaddingEv:
  121|  36.4k|  uint8_t getBundlePadding() const { return BundlePadding; }
_ZNK7llvm_ks10MCFragment7isDummyEv:
  128|   827k|  bool isDummy() const { return Kind == FT_Dummy; }
_ZN7llvm_ks15MCDummyFragmentC2EPNS_9MCSectionE:
  136|   827k|      : MCFragment(FT_Dummy, false, 0, Sec){};
_ZN7llvm_ks17MCEncodedFragmentC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  147|  22.1k|      : MCFragment(FType, HasInstructions, 0, Sec) {}
_ZN7llvm_ks17MCEncodedFragment7classofEPKNS_10MCFragmentE:
  150|  56.0k|  static bool classof(const MCFragment *F) {
  151|  56.0k|    MCFragment::FragmentType Kind = F->getKind();
  152|  56.0k|    switch (Kind) {
  153|  32.6k|    default:
  ------------------
  |  Branch (153:5): [True: 32.6k, False: 23.3k]
  ------------------
  154|  32.6k|      return false;
  155|  3.87k|    case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (155:5): [True: 3.87k, False: 52.1k]
  ------------------
  156|  3.87k|    case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (156:5): [True: 0, False: 56.0k]
  ------------------
  157|  23.3k|    case MCFragment::FT_Data:
  ------------------
  |  Branch (157:5): [True: 19.4k, False: 36.5k]
  ------------------
  158|  23.3k|      return true;
  159|  56.0k|    }
  160|  56.0k|  }
_ZN7llvm_ks14MCDataFragmentC2EPNS_9MCSectionE:
  222|  14.7k|      : MCEncodedFragmentWithFixups<32, 4>(FT_Data, false, Sec) {}
_ZN7llvm_ks14MCDataFragment18setHasInstructionsEb:
  224|  24.8k|  void setHasInstructions(bool V) { HasInstructions = V; }
_ZN7llvm_ks14MCDataFragment7classofEPKNS_10MCFragmentE:
  226|   166M|  static bool classof(const MCFragment *F) {
  227|   166M|    return F->getKind() == MCFragment::FT_Data;
  228|   166M|  }
_ZN7llvm_ks28MCCompactEncodedInstFragment7classofEPKNS_10MCFragmentE:
  242|  11.6k|  static bool classof(const MCFragment *F) {
  243|  11.6k|    return F->getKind() == MCFragment::FT_CompactEncodedInst;
  244|  11.6k|  }
_ZN7llvm_ks19MCRelaxableFragmentC2ERKNS_6MCInstERKNS_15MCSubtargetInfoEPNS_9MCSectionE:
  261|  7.37k|      : MCEncodedFragmentWithFixups(FT_Relaxable, true, Sec),
  262|  7.37k|        Inst(Inst), STI(STI) {}
_ZNK7llvm_ks19MCRelaxableFragment7getInstEv:
  264|  20.4k|  const MCInst &getInst() const { return Inst; }
_ZN7llvm_ks19MCRelaxableFragment7setInstERKNS_6MCInstE:
  265|  4.23k|  void setInst(const MCInst &Value) { Inst = Value; }
_ZN7llvm_ks19MCRelaxableFragment16getSubtargetInfoEv:
  267|  4.23k|  const MCSubtargetInfo &getSubtargetInfo() { return STI; }
_ZN7llvm_ks19MCRelaxableFragment7classofEPKNS_10MCFragmentE:
  269|  47.7k|  static bool classof(const MCFragment *F) {
  270|  47.7k|    return F->getKind() == MCFragment::FT_Relaxable;
  271|  47.7k|  }
_ZN7llvm_ks15MCAlignFragmentC2EjljjPNS_9MCSectionE:
  297|  19.9k|      : MCFragment(FT_Align, false, 0, Sec), Alignment(Alignment),
  298|  19.9k|        EmitNops(false), Value(Value),
  299|  19.9k|        ValueSize(ValueSize), MaxBytesToEmit(MaxBytesToEmit) {}
_ZNK7llvm_ks15MCAlignFragment12getAlignmentEv:
  304|  37.7k|  unsigned getAlignment() const { return Alignment; }
_ZNK7llvm_ks15MCAlignFragment8getValueEv:
  306|    287|  int64_t getValue() const { return Value; }
_ZNK7llvm_ks15MCAlignFragment12getValueSizeEv:
  308|  55.6k|  unsigned getValueSize() const { return ValueSize; }
_ZNK7llvm_ks15MCAlignFragment17getMaxBytesToEmitEv:
  310|  37.7k|  unsigned getMaxBytesToEmit() const { return MaxBytesToEmit; }
_ZNK7llvm_ks15MCAlignFragment11hasEmitNopsEv:
  312|  18.9k|  bool hasEmitNops() const { return EmitNops; }
_ZN7llvm_ks15MCAlignFragment11setEmitNopsEb:
  313|  1.14k|  void setEmitNops(bool Value) { EmitNops = Value; }
_ZN7llvm_ks15MCAlignFragment7classofEPKNS_10MCFragmentE:
  317|  77.4k|  static bool classof(const MCFragment *F) {
  318|  77.4k|    return F->getKind() == MCFragment::FT_Align;
  319|  77.4k|  }
_ZN7llvm_ks14MCFillFragmentC2EhmPNS_9MCSectionE:
  332|  5.30k|      : MCFragment(FT_Fill, false, 0, Sec), Value(Value), Size(Size) {}
_ZNK7llvm_ks14MCFillFragment8getValueEv:
  334|  5.08k|  uint8_t getValue() const { return Value; }
_ZNK7llvm_ks14MCFillFragment7getSizeEv:
  335|  15.1k|  uint64_t getSize() const { return Size; }
_ZN7llvm_ks14MCFillFragment7classofEPKNS_10MCFragmentE:
  337|  20.5k|  static bool classof(const MCFragment *F) {
  338|  20.5k|    return F->getKind() == MCFragment::FT_Fill;
  339|  20.5k|  }
_ZN7llvm_ks13MCOrgFragmentC2ERKNS_6MCExprEaPNS_9MCSectionE:
  352|  11.4k|      : MCFragment(FT_Org, false, 0, Sec), Offset(&Offset), Value(Value) {}
_ZNK7llvm_ks13MCOrgFragment9getOffsetEv:
  357|  9.70k|  const MCExpr &getOffset() const { return *Offset; }
_ZNK7llvm_ks13MCOrgFragment8getValueEv:
  359|  97.6M|  uint8_t getValue() const { return Value; }
_ZN7llvm_ks13MCOrgFragment7classofEPKNS_10MCFragmentE:
  363|  23.9k|  static bool classof(const MCFragment *F) {
  364|  23.9k|    return F->getKind() == MCFragment::FT_Org;
  365|  23.9k|  }
_ZN7llvm_ks13MCLEBFragmentC2ERKNS_6MCExprEbPNS_9MCSectionE:
  380|     47|      : MCFragment(FT_LEB, false, 0, Sec), Value(&Value_), IsSigned(IsSigned_) {
  381|     47|    Contents.push_back(0);
  382|     47|  }
_ZN7llvm_ks13MCLEBFragment7classofEPKNS_10MCFragmentE:
  396|     47|  static bool classof(const MCFragment *F) {
  397|     47|    return F->getKind() == MCFragment::FT_LEB;
  398|     47|  }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj32ELj4EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  195|  14.7k|      : MCEncodedFragmentWithContents<ContentsSize>(FType, HasInstructions,
  196|  14.7k|                                                    Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj32EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  174|  14.7k|      : MCEncodedFragment(FType, HasInstructions, Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj32EE11getContentsEv:
  177|   166M|  SmallVectorImpl<char> &getContents() { return Contents; }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj32ELj4EE9getFixupsEv:
  202|  63.0k|  SmallVectorImpl<MCFixup> &getFixups() { return Fixups; }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj8ELj1EE9getFixupsEv:
  202|  28.2k|  SmallVectorImpl<MCFixup> &getFixups() { return Fixups; }
_ZNK7llvm_ks29MCEncodedFragmentWithContentsILj32EE11getContentsEv:
  178|  23.7k|  const SmallVectorImpl<char> &getContents() const { return Contents; }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj8ELj1EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  195|  7.37k|      : MCEncodedFragmentWithContents<ContentsSize>(FType, HasInstructions,
  196|  7.37k|                                                    Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj8EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  174|  7.37k|      : MCEncodedFragment(FType, HasInstructions, Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj8EE11getContentsEv:
  177|  13.5k|  SmallVectorImpl<char> &getContents() { return Contents; }
_ZNK7llvm_ks29MCEncodedFragmentWithContentsILj8EE11getContentsEv:
  178|  12.9k|  const SmallVectorImpl<char> &getContents() const { return Contents; }
_ZNK7llvm_ks27MCEncodedFragmentWithFixupsILj8ELj1EE9getFixupsEv:
  203|  7.69k|  const SmallVectorImpl<MCFixup> &getFixups() const { return Fixups; }

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

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

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

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

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

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

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

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

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

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

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

_ZN7llvm_ks20MCAsmParserExtension10getContextEv:
   54|  58.0k|  MCContext &getContext() { return getParser().getContext(); }
_ZN7llvm_ks20MCAsmParserExtension8getLexerEv:
   56|  2.82M|  MCAsmLexer &getLexer() { return getParser().getLexer(); }
_ZN7llvm_ks20MCAsmParserExtension9getParserEv:
   61|  7.28M|  MCAsmParser &getParser() { return *Parser; }
_ZN7llvm_ks20MCAsmParserExtension11getStreamerEv:
   67|  55.3k|  MCStreamer &getStreamer() { return getParser().getStreamer(); }
_ZN7llvm_ks20MCAsmParserExtension7WarningENS_5SMLocERKNS_5TwineE:
   68|  1.86k|  bool Warning(SMLoc L, const Twine &Msg) {
   69|  1.86k|    return getParser().Warning(L, Msg);
   70|  1.86k|  }
_ZN7llvm_ks20MCAsmParserExtension5ErrorENS_5SMLocERKNS_5TwineE:
   71|    351|  bool Error(SMLoc L, const Twine &Msg) {
   72|    351|    return getParser().Error(L, Msg);
   73|    351|  }
_ZN7llvm_ks20MCAsmParserExtension8TokErrorERKNS_5TwineE:
   77|    936|  bool TokError(const Twine &Msg) {
   78|    936|    return getParser().TokError(Msg);
   79|    936|  }
_ZN7llvm_ks20MCAsmParserExtension3LexEv:
   81|  11.8k|  const AsmToken &Lex() { return getParser().Lex(); }
_ZN7llvm_ks20MCAsmParserExtension6getTokEv:
   83|  17.7k|  const AsmToken &getTok() { return getParser().getTok(); }
_ZNK7llvm_ks20MCAsmParserExtension21HasBracketExpressionsEv:
   85|    316|  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|     33|                              SMLoc DirectiveLoc) {
   37|     33|    T *Obj = static_cast<T*>(Target);
   38|     33|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     33|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseDirectiveDumpOrLoadES5_S6_EEEEbPS0_S5_S6_:
   36|  1.19k|                              SMLoc DirectiveLoc) {
   37|  1.19k|    T *Obj = static_cast<T*>(Target);
   38|  1.19k|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|  1.19k|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_21parseDirectiveSectionES5_S6_EEEEbPS0_S5_S6_:
   36|  4.20k|                              SMLoc DirectiveLoc) {
   37|  4.20k|    T *Obj = static_cast<T*>(Target);
   38|  4.20k|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|  4.20k|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_18parseDirectiveTBSSES5_S6_EEEEbPS0_S5_S6_:
   36|    905|                              SMLoc DirectiveLoc) {
   37|    905|    T *Obj = static_cast<T*>(Target);
   38|    905|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    905|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseSectionDirectiveBssES5_S6_EEEEbPS0_S5_S6_:
   36|    450|                              SMLoc DirectiveLoc) {
   37|    450|    T *Obj = static_cast<T*>(Target);
   38|    450|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    450|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_26parseSectionDirectiveConstES5_S6_EEEEbPS0_S5_S6_:
   36|     68|                              SMLoc DirectiveLoc) {
   37|     68|    T *Obj = static_cast<T*>(Target);
   38|     68|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     68|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_25parseSectionDirectiveDataES5_S6_EEEEbPS0_S5_S6_:
   36|    506|                              SMLoc DirectiveLoc) {
   37|    506|    T *Obj = static_cast<T*>(Target);
   38|    506|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    506|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_25parseSectionDirectiveDyldES5_S6_EEEEbPS0_S5_S6_:
   36|      6|                              SMLoc DirectiveLoc) {
   37|      6|    T *Obj = static_cast<T*>(Target);
   38|      6|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      6|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_26parseSectionDirectiveTDataES5_S6_EEEEbPS0_S5_S6_:
   36|      2|                              SMLoc DirectiveLoc) {
   37|      2|    T *Obj = static_cast<T*>(Target);
   38|      2|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      2|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_25parseSectionDirectiveTextES5_S6_EEEEbPS0_S5_S6_:
   36|      1|                              SMLoc DirectiveLoc) {
   37|      1|    T *Obj = static_cast<T*>(Target);
   38|      1|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      1|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseSectionDirectiveTLVES5_S6_EEEEbPS0_S5_S6_:
   36|      2|                              SMLoc DirectiveLoc) {
   37|      2|    T *Obj = static_cast<T*>(Target);
   38|      2|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      2|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_26parseSectionDirectiveIdentES5_S6_EEEEbPS0_S5_S6_:
   36|    205|                              SMLoc DirectiveLoc) {
   37|    205|    T *Obj = static_cast<T*>(Target);
   38|    205|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    205|  }

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

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

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

_ZN7llvm_ks17ilist_node_traitsINS_10MCFragmentEE13addNodeToListEPS1_:
   40|  58.8k|  void addNodeToList(MCFragment *) {}
_ZN7llvm_ks17ilist_node_traitsINS_10MCFragmentEE18removeNodeFromListEPS1_:
   41|  58.8k|  void removeNodeFromList(MCFragment *) {}
_ZNK7llvm_ks9MCSection10getVariantEv:
  113|  19.6k|  SectionVariant getVariant() const { return Variant; }
_ZN7llvm_ks9MCSection14getBeginSymbolEv:
  115|  45.0k|  MCSymbol *getBeginSymbol() { return Begin; }
_ZNK7llvm_ks9MCSection14getBeginSymbolEv:
  116|  3.84k|  const MCSymbol *getBeginSymbol() const {
  117|  3.84k|    return const_cast<MCSection *>(this)->getBeginSymbol();
  118|  3.84k|  }
_ZN7llvm_ks9MCSection14setBeginSymbolEPNS_8MCSymbolE:
  119|  19.5k|  void setBeginSymbol(MCSymbol *Sym) {
  120|  19.5k|    assert(!Begin);
  ------------------
  |  Branch (120:5): [True: 19.5k, False: 0]
  ------------------
  121|  19.5k|    Begin = Sym;
  122|  19.5k|  }
_ZNK7llvm_ks9MCSection12getAlignmentEv:
  126|  28.3k|  unsigned getAlignment() const { return Alignment; }
_ZN7llvm_ks9MCSection12setAlignmentEj:
  127|    340|  void setAlignment(unsigned Value) { Alignment = Value; }
_ZN7llvm_ks9MCSection10setOrdinalEj:
  130|  9.17k|  void setOrdinal(unsigned Value) { Ordinal = Value; }
_ZN7llvm_ks9MCSection14setLayoutOrderEj:
  133|  9.17k|  void setLayoutOrder(unsigned Value) { LayoutOrder = Value; }
_ZNK7llvm_ks9MCSection14isBundleLockedEv:
  137|  70.3k|  bool isBundleLocked() const { return BundleLockState != NotBundleLocked; }
_ZNK7llvm_ks9MCSection15hasInstructionsEv:
  146|      1|  bool hasInstructions() const { return HasInstructions; }
_ZN7llvm_ks9MCSection18setHasInstructionsEb:
  147|  32.2k|  void setHasInstructions(bool Value) { HasInstructions = Value; }
_ZNK7llvm_ks9MCSection12isRegisteredEv:
  149|  20.5k|  bool isRegistered() const { return IsRegistered; }
_ZN7llvm_ks9MCSection15setIsRegisteredEb:
  150|  19.5k|  void setIsRegistered(bool Value) { IsRegistered = Value; }
_ZN7llvm_ks9MCSection15getFragmentListEv:
  152|  83.8M|  MCSection::FragmentListType &getFragmentList() { return Fragments; }
_ZN7llvm_ks9MCSection16getSublistAccessEPNS_10MCFragmentE:
  158|  59.7k|  static FragmentListType MCSection::*getSublistAccess(MCFragment *) {
  159|  59.7k|    return &MCSection::Fragments;
  160|  59.7k|  }
_ZN7llvm_ks9MCSection16getDummyFragmentEv:
  163|   192k|  MCDummyFragment &getDummyFragment() { return DummyFragment; }
_ZNK7llvm_ks9MCSection5beginEv:
  166|  8.29k|  MCSection::const_iterator begin() const {
  167|  8.29k|    return const_cast<MCSection *>(this)->begin();
  168|  8.29k|  }
_ZNK7llvm_ks9MCSection3endEv:
  171|  8.29k|  MCSection::const_iterator end() const {
  172|  8.29k|    return const_cast<MCSection *>(this)->end();
  173|  8.29k|  }

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

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

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

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

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

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

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

_ZNK7llvm_ks7MCValue11getConstantEv:
   46|  1.02M|  int64_t getConstant() const { return Cst; }
_ZNK7llvm_ks7MCValue7getSymAEv:
   47|   551k|  const MCSymbolRefExpr *getSymA() const { return SymA; }
_ZNK7llvm_ks7MCValue7getSymBEv:
   48|   475k|  const MCSymbolRefExpr *getSymB() const { return SymB; }
_ZNK7llvm_ks7MCValue10isAbsoluteEv:
   52|   751k|  bool isAbsolute() const { return !SymA && !SymB; }
  ------------------
  |  Branch (52:36): [True: 369k, False: 381k]
  |  Branch (52:45): [True: 361k, False: 8.19k]
  ------------------
_ZN7llvm_ks7MCValue3getEPKNS_15MCSymbolRefExprES3_lj:
   64|   603k|                     int64_t Val = 0, uint32_t RefKind = 0) {
   65|   603k|    MCValue R;
   66|   603k|    R.Cst = Val;
   67|   603k|    R.SymA = SymA;
   68|   603k|    R.SymB = SymB;
   69|   603k|    R.RefKind = RefKind;
   70|   603k|    return R;
   71|   603k|  }
_ZN7llvm_ks7MCValue3getEl:
   73|   443k|  static MCValue get(int64_t Val) {
   74|   443k|    MCValue R;
   75|   443k|    R.Cst = Val;
   76|   443k|    R.SymA = nullptr;
   77|   443k|    R.SymB = nullptr;
   78|   443k|    R.RefKind = 0;
   79|   443k|    return R;
   80|   443k|  }

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

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

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

_ZN7llvm_ks7alignOfINS_12MCSectionELFEEEjv:
  106|   152k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14MCSectionMachOEEEjv:
  106|    932|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_15MCSubtargetInfoEEEjv:
  106|  2.39k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIPNS_8MCSymbolEEEEEjv:
  106|  40.2k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIbEEEEjv:
  106|   403k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIjEEEEjv:
  106|   212k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIPNS_14MCSectionMachOEEEEEjv:
  106|    443|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS5_NS_9StringRefENS_5SMLocEEEEEEEEjv:
  106|  1.25M|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
AsmParser.cpp:_ZN7llvm_ks7alignOfINS_14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEEEEEjv:
  106|  2.32M|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
AsmParser.cpp:_ZN7llvm_ks7alignOfINS_14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEEEEEjv:
  106|    761|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_8MCSymbol18NameEntryStorageTyEEEjv:
  106|   403k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }

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

_ZN7llvm_ks4castINS_11MCSymbolELFENS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|   194k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   194k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 194k, False: 0]
  |  Branch (237:3): [True: 194k, Folded]
  |  Branch (237:3): [True: 194k, False: 0]
  ------------------
  238|   194k|  return cast_convert_val<X, Y*,
  239|   194k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   194k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFEPNS_8MCSymbolEEEbRKT0_:
  132|   195k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   195k|  return isa_impl_wrap<X, const Y,
  134|   195k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   195k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPNS_8MCSymbolEPKS2_E4doitERS4_:
  111|   195k|  static bool doit(const From &Val) {
  112|   195k|    return isa_impl_wrap<To, SimpleFrom,
  113|   195k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   195k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   195k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEPKNS_8MCSymbolES4_E4doitERKS4_:
  121|   211k|  static bool doit(const FromTy &Val) {
  122|   211k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   211k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEPKNS_8MCSymbolEE4doitES4_:
   94|   211k|  static inline bool doit(const From *Val) {
   95|   211k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 211k, False: 0]
  |  Branch (95:5): [True: 211k, Folded]
  |  Branch (95:5): [True: 211k, False: 0]
  ------------------
   96|   211k|    return isa_impl<To, From>::doit(*Val);
   97|   211k|  }
_ZN7llvm_ks8isa_implINS_11MCSymbolELFENS_8MCSymbolEvE4doitERKS2_:
   55|   290k|  static inline bool doit(const From &Val) {
   56|   290k|    return To::classof(&Val);
   57|   290k|  }
_ZN7llvm_ks13simplify_typeIKPNS_8MCSymbolEE18getSimplifiedValueERS3_:
   45|   195k|  static RetType getSimplifiedValue(const From& Val) {
   46|   195k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|   195k|  }
_ZN7llvm_ks13simplify_typeIPNS_8MCSymbolEE18getSimplifiedValueERS2_:
   36|   195k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPNS_8MCSymbolES3_E4doitERKS3_:
  200|   194k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   194k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   194k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   194k|    return Res2;
  204|   194k|  }
_ZN7llvm_ks12cast_or_nullINS_11MCSymbolELFENS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  267|  20.5k|cast_or_null(Y *Val) {
  268|  20.5k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 19.5k, False: 1.06k]
  ------------------
  269|  20.5k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 1.06k, False: 0]
  |  Branch (269:3): [True: 1.06k, Folded]
  |  Branch (269:3): [True: 1.06k, False: 0]
  ------------------
  270|  1.06k|  return cast<X>(Val);
  271|  1.06k|}
_ZN7llvm_ks4castINS_11MCSymbolELFES1_EENS_10cast_rettyIT_PT0_E8ret_typeES5_:
  236|    930|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|    930|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 930, False: 0]
  |  Branch (237:3): [True: 930, Folded]
  |  Branch (237:3): [True: 930, False: 0]
  ------------------
  238|    930|  return cast_convert_val<X, Y*,
  239|    930|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|    930|}
_ZN7llvm_ks3isaINS_11MCSymbolELFEPS1_EEbRKT0_:
  132|    930|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|    930|  return isa_impl_wrap<X, const Y,
  134|    930|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|    930|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPS1_PKS1_E4doitERS3_:
  111|    930|  static bool doit(const From &Val) {
  112|    930|    return isa_impl_wrap<To, SimpleFrom,
  113|    930|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|    930|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|    930|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEPKS1_S3_E4doitERKS3_:
  121|    930|  static bool doit(const FromTy &Val) {
  122|    930|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|    930|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEPKS1_E4doitES3_:
   94|    930|  static inline bool doit(const From *Val) {
   95|    930|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 930, False: 0]
  |  Branch (95:5): [True: 930, Folded]
  |  Branch (95:5): [True: 930, False: 0]
  ------------------
   96|    930|    return isa_impl<To, From>::doit(*Val);
   97|    930|  }
_ZN7llvm_ks8isa_implINS_11MCSymbolELFES1_vE4doitERKS1_:
   64|    930|  static inline bool doit(const From &) { return true; }
_ZN7llvm_ks13simplify_typeIKPNS_11MCSymbolELFEE18getSimplifiedValueERS3_:
   45|    930|  static RetType getSimplifiedValue(const From& Val) {
   46|    930|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|    930|  }
_ZN7llvm_ks13simplify_typeIPNS_11MCSymbolELFEE18getSimplifiedValueERS2_:
   36|    930|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPS1_S2_E4doitERKS2_:
  200|    930|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|    930|    typename cast_retty<To, FromTy>::ret_type Res2
  202|    930|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|    930|    return Res2;
  204|    930|  }
_ZN7llvm_ks13simplify_typeIKPKNS_6MCExprEE18getSimplifiedValueERS4_:
   45|  3.75M|  static RetType getSimplifiedValue(const From& Val) {
   46|  3.75M|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  3.75M|  }
_ZN7llvm_ks13simplify_typeIPKNS_6MCExprEE18getSimplifiedValueERS3_:
   36|  3.75M|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks4castINS_12MCBinaryExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   507k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   507k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 507k, False: 0]
  |  Branch (237:3): [True: 507k, Folded]
  |  Branch (237:3): [True: 507k, False: 0]
  ------------------
  238|   507k|  return cast_convert_val<X, Y*,
  239|   507k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   507k|}
_ZN7llvm_ks3isaINS_12MCBinaryExprEPKNS_6MCExprEEEbRKT0_:
  132|   507k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   507k|  return isa_impl_wrap<X, const Y,
  134|   507k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   507k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   507k|  static bool doit(const From &Val) {
  112|   507k|    return isa_impl_wrap<To, SimpleFrom,
  113|   507k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   507k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   507k|  }
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   507k|  static bool doit(const FromTy &Val) {
  122|   507k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   507k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCBinaryExprEPKNS_6MCExprEE4doitES4_:
   94|   507k|  static inline bool doit(const From *Val) {
   95|   507k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 507k, False: 0]
  |  Branch (95:5): [True: 507k, Folded]
  |  Branch (95:5): [True: 507k, False: 0]
  ------------------
   96|   507k|    return isa_impl<To, From>::doit(*Val);
   97|   507k|  }
_ZN7llvm_ks8isa_implINS_12MCBinaryExprENS_6MCExprEvE4doitERKS2_:
   55|   642k|  static inline bool doit(const From &Val) {
   56|   642k|    return To::classof(&Val);
   57|   642k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCBinaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   507k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   507k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   507k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   507k|    return Res2;
  204|   507k|  }
_ZN7llvm_ks4castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   658k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   658k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 658k, False: 0]
  |  Branch (237:3): [True: 658k, Folded]
  |  Branch (237:3): [True: 658k, False: 0]
  ------------------
  238|   658k|  return cast_convert_val<X, Y*,
  239|   658k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   658k|}
_ZN7llvm_ks3isaINS_15MCSymbolRefExprEPKNS_6MCExprEEEbRKT0_:
  132|   671k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   671k|  return isa_impl_wrap<X, const Y,
  134|   671k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   671k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   671k|  static bool doit(const From &Val) {
  112|   671k|    return isa_impl_wrap<To, SimpleFrom,
  113|   671k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   671k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   671k|  }
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   671k|  static bool doit(const FromTy &Val) {
  122|   671k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   671k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCSymbolRefExprEPKNS_6MCExprEE4doitES4_:
   94|   671k|  static inline bool doit(const From *Val) {
   95|   671k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 671k, False: 0]
  |  Branch (95:5): [True: 671k, Folded]
  |  Branch (95:5): [True: 671k, False: 0]
  ------------------
   96|   671k|    return isa_impl<To, From>::doit(*Val);
   97|   671k|  }
_ZN7llvm_ks8isa_implINS_15MCSymbolRefExprENS_6MCExprEvE4doitERKS2_:
   55|   914k|  static inline bool doit(const From &Val) {
   56|   914k|    return To::classof(&Val);
   57|   914k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCSymbolRefExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   658k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   658k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   658k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   658k|    return Res2;
  204|   658k|  }
_ZN7llvm_ks4castINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  78.5k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  78.5k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 78.5k, False: 0]
  |  Branch (230:3): [True: 78.5k, Folded]
  |  Branch (230:3): [True: 78.5k, False: 0]
  ------------------
  231|  78.5k|  return cast_convert_val<X, Y,
  232|  78.5k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  78.5k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFENS_8MCSymbolEEEbRKT0_:
  132|  78.5k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  78.5k|  return isa_impl_wrap<X, const Y,
  134|  78.5k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  78.5k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKNS_8MCSymbolES3_E4doitERS3_:
  121|  78.5k|  static bool doit(const FromTy &Val) {
  122|  78.5k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  78.5k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEKNS_8MCSymbolEE4doitERS3_:
   74|  78.5k|  static inline bool doit(const From &Val) {
   75|  78.5k|    return isa_impl<To, From>::doit(Val);
   76|  78.5k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEKNS_8MCSymbolES3_E4doitERS3_:
  200|  78.5k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  78.5k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  78.5k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  78.5k|    return Res2;
  204|  78.5k|  }
_ZN7llvm_ks4castINS_11MCUnaryExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   357k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   357k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 357k, False: 0]
  |  Branch (237:3): [True: 357k, Folded]
  |  Branch (237:3): [True: 357k, False: 0]
  ------------------
  238|   357k|  return cast_convert_val<X, Y*,
  239|   357k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   357k|}
_ZN7llvm_ks3isaINS_11MCUnaryExprEPKNS_6MCExprEEEbRKT0_:
  132|   357k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   357k|  return isa_impl_wrap<X, const Y,
  134|   357k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   357k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   357k|  static bool doit(const From &Val) {
  112|   357k|    return isa_impl_wrap<To, SimpleFrom,
  113|   357k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   357k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   357k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   357k|  static bool doit(const FromTy &Val) {
  122|   357k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   357k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCUnaryExprEPKNS_6MCExprEE4doitES4_:
   94|   357k|  static inline bool doit(const From *Val) {
   95|   357k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 357k, False: 0]
  |  Branch (95:5): [True: 357k, Folded]
  |  Branch (95:5): [True: 357k, False: 0]
  ------------------
   96|   357k|    return isa_impl<To, From>::doit(*Val);
   97|   357k|  }
_ZN7llvm_ks8isa_implINS_11MCUnaryExprENS_6MCExprEvE4doitERKS2_:
   55|   421k|  static inline bool doit(const From &Val) {
   56|   421k|    return To::classof(&Val);
   57|   421k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCUnaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   357k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   357k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   357k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   357k|    return Res2;
  204|   357k|  }
_ZN7llvm_ks4castINS_19MCRelaxableFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  14.7k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  14.7k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 14.7k, False: 0]
  |  Branch (237:3): [True: 14.7k, Folded]
  |  Branch (237:3): [True: 14.7k, False: 0]
  ------------------
  238|  14.7k|  return cast_convert_val<X, Y*,
  239|  14.7k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  14.7k|}
_ZN7llvm_ks3isaINS_19MCRelaxableFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  14.7k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  14.7k|  return isa_impl_wrap<X, const Y,
  134|  14.7k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  14.7k|}
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  14.7k|  static bool doit(const From &Val) {
  112|  14.7k|    return isa_impl_wrap<To, SimpleFrom,
  113|  14.7k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  14.7k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  14.7k|  }
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  14.7k|  static bool doit(const FromTy &Val) {
  122|  14.7k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  14.7k|  }
_ZN7llvm_ks11isa_impl_clINS_19MCRelaxableFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  14.7k|  static inline bool doit(const From *Val) {
   95|  14.7k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 14.7k, False: 0]
  |  Branch (95:5): [True: 14.7k, Folded]
  |  Branch (95:5): [True: 14.7k, False: 0]
  ------------------
   96|  14.7k|    return isa_impl<To, From>::doit(*Val);
   97|  14.7k|  }
_ZN7llvm_ks8isa_implINS_19MCRelaxableFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  43.8k|  static inline bool doit(const From &Val) {
   56|  43.8k|    return To::classof(&Val);
   57|  43.8k|  }
_ZN7llvm_ks13simplify_typeIKPNS_10MCFragmentEE18getSimplifiedValueERS3_:
   45|   166M|  static RetType getSimplifiedValue(const From& Val) {
   46|   166M|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|   166M|  }
_ZN7llvm_ks13simplify_typeIPNS_10MCFragmentEE18getSimplifiedValueERS2_:
   36|   166M|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_19MCRelaxableFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  30.9k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  30.9k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  30.9k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  30.9k|    return Res2;
  204|  30.9k|  }
_ZN7llvm_ks4castINS_14MCDataFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  83.2M|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  83.2M|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 83.2M, False: 0]
  |  Branch (237:3): [True: 83.2M, Folded]
  |  Branch (237:3): [True: 83.2M, False: 0]
  ------------------
  238|  83.2M|  return cast_convert_val<X, Y*,
  239|  83.2M|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  83.2M|}
_ZN7llvm_ks3isaINS_14MCDataFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|   166M|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   166M|  return isa_impl_wrap<X, const Y,
  134|   166M|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   166M|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|   166M|  static bool doit(const From &Val) {
  112|   166M|    return isa_impl_wrap<To, SimpleFrom,
  113|   166M|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   166M|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   166M|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|   166M|  static bool doit(const FromTy &Val) {
  122|   166M|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   166M|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|   166M|  static inline bool doit(const From *Val) {
   95|   166M|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 166M, False: 0]
  |  Branch (95:5): [True: 166M, Folded]
  |  Branch (95:5): [True: 166M, False: 0]
  ------------------
   96|   166M|    return isa_impl<To, From>::doit(*Val);
   97|   166M|  }
_ZN7llvm_ks8isa_implINS_14MCDataFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|   166M|  static inline bool doit(const From &Val) {
   56|   166M|    return To::classof(&Val);
   57|   166M|  }
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  83.2M|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  83.2M|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  83.2M|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  83.2M|    return Res2;
  204|  83.2M|  }
_ZN7llvm_ks8dyn_castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|  12.9k|dyn_cast(Y *Val) {
  298|  12.9k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 7.75k, False: 5.24k]
  ------------------
  299|  12.9k|}
_ZN7llvm_ks8isa_implINS_14MCConstantExprENS_6MCExprEvE4doitERKS2_:
   55|  2.22M|  static inline bool doit(const From &Val) {
   56|  2.22M|    return To::classof(&Val);
   57|  2.22M|  }
_ZN7llvm_ks4castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|   242k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|   242k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 242k, False: 0]
  |  Branch (230:3): [True: 242k, Folded]
  |  Branch (230:3): [True: 242k, False: 0]
  ------------------
  231|   242k|  return cast_convert_val<X, Y,
  232|   242k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|   242k|}
_ZN7llvm_ks3isaINS_15MCSymbolRefExprENS_6MCExprEEEbRKT0_:
  132|   242k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   242k|  return isa_impl_wrap<X, const Y,
  134|   242k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   242k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEKNS_6MCExprES3_E4doitERS3_:
  121|   242k|  static bool doit(const FromTy &Val) {
  122|   242k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   242k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCSymbolRefExprEKNS_6MCExprEE4doitERS3_:
   74|   242k|  static inline bool doit(const From &Val) {
   75|   242k|    return isa_impl<To, From>::doit(Val);
   76|   242k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCSymbolRefExprEKNS_6MCExprES3_E4doitERS3_:
  200|   242k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   242k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   242k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   242k|    return Res2;
  204|   242k|  }
_ZN7llvm_ks4castINS_11MCUnaryExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  63.5k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  63.5k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 63.5k, False: 0]
  |  Branch (230:3): [True: 63.5k, Folded]
  |  Branch (230:3): [True: 63.5k, False: 0]
  ------------------
  231|  63.5k|  return cast_convert_val<X, Y,
  232|  63.5k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  63.5k|}
_ZN7llvm_ks3isaINS_11MCUnaryExprENS_6MCExprEEEbRKT0_:
  132|  63.5k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  63.5k|  return isa_impl_wrap<X, const Y,
  134|  63.5k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  63.5k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEKNS_6MCExprES3_E4doitERS3_:
  121|  63.5k|  static bool doit(const FromTy &Val) {
  122|  63.5k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  63.5k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCUnaryExprEKNS_6MCExprEE4doitERS3_:
   74|  63.5k|  static inline bool doit(const From &Val) {
   75|  63.5k|    return isa_impl<To, From>::doit(Val);
   76|  63.5k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCUnaryExprEKNS_6MCExprES3_E4doitERS3_:
  200|  63.5k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  63.5k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  63.5k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  63.5k|    return Res2;
  204|  63.5k|  }
_ZN7llvm_ks4castINS_12MCBinaryExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|   135k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|   135k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 135k, False: 0]
  |  Branch (230:3): [True: 135k, Folded]
  |  Branch (230:3): [True: 135k, False: 0]
  ------------------
  231|   135k|  return cast_convert_val<X, Y,
  232|   135k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|   135k|}
_ZN7llvm_ks3isaINS_12MCBinaryExprENS_6MCExprEEEbRKT0_:
  132|   135k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   135k|  return isa_impl_wrap<X, const Y,
  134|   135k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   135k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEKNS_6MCExprES3_E4doitERS3_:
  121|   135k|  static bool doit(const FromTy &Val) {
  122|   135k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   135k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCBinaryExprEKNS_6MCExprEE4doitERS3_:
   74|   135k|  static inline bool doit(const From &Val) {
   75|   135k|    return isa_impl<To, From>::doit(Val);
   76|   135k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCBinaryExprEKNS_6MCExprES3_E4doitERS3_:
  200|   135k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   135k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   135k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   135k|    return Res2;
  204|   135k|  }
_ZN7llvm_ks3isaINS_14MCConstantExprEPKNS_6MCExprEEEbRKT0_:
  132|  2.22M|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  2.22M|  return isa_impl_wrap<X, const Y,
  134|  2.22M|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  2.22M|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCConstantExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|  2.22M|  static bool doit(const From &Val) {
  112|  2.22M|    return isa_impl_wrap<To, SimpleFrom,
  113|  2.22M|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  2.22M|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  2.22M|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCConstantExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|  2.22M|  static bool doit(const FromTy &Val) {
  122|  2.22M|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  2.22M|  }
_ZN7llvm_ks11isa_impl_clINS_14MCConstantExprEPKNS_6MCExprEE4doitES4_:
   94|  2.22M|  static inline bool doit(const From *Val) {
   95|  2.22M|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 2.22M, False: 0]
  |  Branch (95:5): [True: 2.22M, Folded]
  |  Branch (95:5): [True: 2.22M, False: 0]
  ------------------
   96|  2.22M|    return isa_impl<To, From>::doit(*Val);
   97|  2.22M|  }
_ZN7llvm_ks8dyn_castINS_14MCConstantExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|  1.14M|dyn_cast(Y *Val) {
  298|  1.14M|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 685k, False: 462k]
  ------------------
  299|  1.14M|}
_ZN7llvm_ks4castINS_14MCConstantExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  1.02M|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  1.02M|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 1.02M, False: 0]
  |  Branch (237:3): [True: 1.02M, Folded]
  |  Branch (237:3): [True: 1.02M, False: 0]
  ------------------
  238|  1.02M|  return cast_convert_val<X, Y*,
  239|  1.02M|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  1.02M|}
_ZN7llvm_ks16cast_convert_valINS_14MCConstantExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|  1.02M|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  1.02M|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  1.02M|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  1.02M|    return Res2;
  204|  1.02M|  }
_ZN7llvm_ks4castINS_15MCAlignFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  21.0k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  21.0k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 21.0k, False: 0]
  |  Branch (237:3): [True: 21.0k, Folded]
  |  Branch (237:3): [True: 21.0k, False: 0]
  ------------------
  238|  21.0k|  return cast_convert_val<X, Y*,
  239|  21.0k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  21.0k|}
_ZN7llvm_ks3isaINS_15MCAlignFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  21.0k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  21.0k|  return isa_impl_wrap<X, const Y,
  134|  21.0k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  21.0k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  21.0k|  static bool doit(const From &Val) {
  112|  21.0k|    return isa_impl_wrap<To, SimpleFrom,
  113|  21.0k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  21.0k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  21.0k|  }
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  21.0k|  static bool doit(const FromTy &Val) {
  122|  21.0k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  21.0k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCAlignFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  21.0k|  static inline bool doit(const From *Val) {
   95|  21.0k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 21.0k, False: 0]
  |  Branch (95:5): [True: 21.0k, Folded]
  |  Branch (95:5): [True: 21.0k, False: 0]
  ------------------
   96|  21.0k|    return isa_impl<To, From>::doit(*Val);
   97|  21.0k|  }
_ZN7llvm_ks8isa_implINS_15MCAlignFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  77.4k|  static inline bool doit(const From &Val) {
   56|  77.4k|    return To::classof(&Val);
   57|  77.4k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCAlignFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  21.0k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  21.0k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  21.0k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  21.0k|    return Res2;
  204|  21.0k|  }
_ZN7llvm_ks4castINS_14MCFillFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  5.30k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  5.30k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 5.30k, False: 0]
  |  Branch (237:3): [True: 5.30k, Folded]
  |  Branch (237:3): [True: 5.30k, False: 0]
  ------------------
  238|  5.30k|  return cast_convert_val<X, Y*,
  239|  5.30k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  5.30k|}
_ZN7llvm_ks3isaINS_14MCFillFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  5.30k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  5.30k|  return isa_impl_wrap<X, const Y,
  134|  5.30k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  5.30k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  5.30k|  static bool doit(const From &Val) {
  112|  5.30k|    return isa_impl_wrap<To, SimpleFrom,
  113|  5.30k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  5.30k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  5.30k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  5.30k|  static bool doit(const FromTy &Val) {
  122|  5.30k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  5.30k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCFillFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  5.30k|  static inline bool doit(const From *Val) {
   95|  5.30k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 5.30k, False: 0]
  |  Branch (95:5): [True: 5.30k, Folded]
  |  Branch (95:5): [True: 5.30k, False: 0]
  ------------------
   96|  5.30k|    return isa_impl<To, From>::doit(*Val);
   97|  5.30k|  }
_ZN7llvm_ks8isa_implINS_14MCFillFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  20.5k|  static inline bool doit(const From &Val) {
   56|  20.5k|    return To::classof(&Val);
   57|  20.5k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCFillFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  5.30k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  5.30k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  5.30k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  5.30k|    return Res2;
  204|  5.30k|  }
_ZN7llvm_ks4castINS_13MCOrgFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  11.4k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  11.4k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 11.4k, False: 0]
  |  Branch (237:3): [True: 11.4k, Folded]
  |  Branch (237:3): [True: 11.4k, False: 0]
  ------------------
  238|  11.4k|  return cast_convert_val<X, Y*,
  239|  11.4k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  11.4k|}
_ZN7llvm_ks3isaINS_13MCOrgFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  11.4k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  11.4k|  return isa_impl_wrap<X, const Y,
  134|  11.4k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  11.4k|}
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  11.4k|  static bool doit(const From &Val) {
  112|  11.4k|    return isa_impl_wrap<To, SimpleFrom,
  113|  11.4k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  11.4k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  11.4k|  }
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  11.4k|  static bool doit(const FromTy &Val) {
  122|  11.4k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  11.4k|  }
_ZN7llvm_ks11isa_impl_clINS_13MCOrgFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  11.4k|  static inline bool doit(const From *Val) {
   95|  11.4k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 11.4k, False: 0]
  |  Branch (95:5): [True: 11.4k, Folded]
  |  Branch (95:5): [True: 11.4k, False: 0]
  ------------------
   96|  11.4k|    return isa_impl<To, From>::doit(*Val);
   97|  11.4k|  }
_ZN7llvm_ks8isa_implINS_13MCOrgFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  23.9k|  static inline bool doit(const From &Val) {
   56|  23.9k|    return To::classof(&Val);
   57|  23.9k|  }
_ZN7llvm_ks16cast_convert_valINS_13MCOrgFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  11.4k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  11.4k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  11.4k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  11.4k|    return Res2;
  204|  11.4k|  }
_ZN7llvm_ks4castINS_13MCLEBFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|     47|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|     47|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 47, False: 0]
  |  Branch (237:3): [True: 47, Folded]
  |  Branch (237:3): [True: 47, False: 0]
  ------------------
  238|     47|  return cast_convert_val<X, Y*,
  239|     47|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|     47|}
_ZN7llvm_ks3isaINS_13MCLEBFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|     47|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|     47|  return isa_impl_wrap<X, const Y,
  134|     47|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|     47|}
_ZN7llvm_ks13isa_impl_wrapINS_13MCLEBFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|     47|  static bool doit(const From &Val) {
  112|     47|    return isa_impl_wrap<To, SimpleFrom,
  113|     47|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|     47|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|     47|  }
_ZN7llvm_ks13isa_impl_wrapINS_13MCLEBFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|     47|  static bool doit(const FromTy &Val) {
  122|     47|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|     47|  }
_ZN7llvm_ks11isa_impl_clINS_13MCLEBFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|     47|  static inline bool doit(const From *Val) {
   95|     47|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 47, False: 0]
  |  Branch (95:5): [True: 47, Folded]
  |  Branch (95:5): [True: 47, False: 0]
  ------------------
   96|     47|    return isa_impl<To, From>::doit(*Val);
   97|     47|  }
_ZN7llvm_ks8isa_implINS_13MCLEBFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|     47|  static inline bool doit(const From &Val) {
   56|     47|    return To::classof(&Val);
   57|     47|  }
_ZN7llvm_ks16cast_convert_valINS_13MCLEBFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|     47|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|     47|    typename cast_retty<To, FromTy>::ret_type Res2
  202|     47|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|     47|    return Res2;
  204|     47|  }
_ZN7llvm_ks16dyn_cast_or_nullINS_14MCDataFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  320|  83.7M|dyn_cast_or_null(Y *Val) {
  321|  83.7M|  return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (321:11): [True: 83.3M, False: 390k]
  |  Branch (321:18): [True: 83.2M, False: 63.4k]
  ------------------
  322|  83.7M|}
_ZN7llvm_ks4castINS_14MCDataFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  23.7k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  23.7k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 23.7k, False: 0]
  |  Branch (230:3): [True: 23.7k, Folded]
  |  Branch (230:3): [True: 23.7k, False: 0]
  ------------------
  231|  23.7k|  return cast_convert_val<X, Y,
  232|  23.7k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  23.7k|}
_ZN7llvm_ks3isaINS_14MCDataFragmentENS_10MCFragmentEEEbRKT0_:
  132|  23.7k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  23.7k|  return isa_impl_wrap<X, const Y,
  134|  23.7k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  23.7k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  23.7k|  static bool doit(const FromTy &Val) {
  122|  23.7k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  23.7k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  23.7k|  static inline bool doit(const From &Val) {
   75|  23.7k|    return isa_impl<To, From>::doit(Val);
   76|  23.7k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  23.7k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  23.7k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  23.7k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  23.7k|    return Res2;
  204|  23.7k|  }
_ZN7llvm_ks4castINS_19MCRelaxableFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  12.9k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  12.9k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 12.9k, False: 0]
  |  Branch (230:3): [True: 12.9k, Folded]
  |  Branch (230:3): [True: 12.9k, False: 0]
  ------------------
  231|  12.9k|  return cast_convert_val<X, Y,
  232|  12.9k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  12.9k|}
_ZN7llvm_ks3isaINS_19MCRelaxableFragmentENS_10MCFragmentEEEbRKT0_:
  132|  12.9k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  12.9k|  return isa_impl_wrap<X, const Y,
  134|  12.9k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  12.9k|}
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  12.9k|  static bool doit(const FromTy &Val) {
  122|  12.9k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  12.9k|  }
_ZN7llvm_ks11isa_impl_clINS_19MCRelaxableFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  12.9k|  static inline bool doit(const From &Val) {
   75|  12.9k|    return isa_impl<To, From>::doit(Val);
   76|  12.9k|  }
_ZN7llvm_ks16cast_convert_valINS_19MCRelaxableFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  12.9k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  12.9k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  12.9k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  12.9k|    return Res2;
  204|  12.9k|  }
_ZN7llvm_ks4castINS_14MCFillFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  15.1k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  15.1k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 15.1k, False: 0]
  |  Branch (230:3): [True: 15.1k, Folded]
  |  Branch (230:3): [True: 15.1k, False: 0]
  ------------------
  231|  15.1k|  return cast_convert_val<X, Y,
  232|  15.1k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  15.1k|}
_ZN7llvm_ks3isaINS_14MCFillFragmentENS_10MCFragmentEEEbRKT0_:
  132|  15.1k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  15.1k|  return isa_impl_wrap<X, const Y,
  134|  15.1k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  15.1k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  15.1k|  static bool doit(const FromTy &Val) {
  122|  15.1k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  15.1k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCFillFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  15.1k|  static inline bool doit(const From &Val) {
   75|  15.1k|    return isa_impl<To, From>::doit(Val);
   76|  15.1k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCFillFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  15.1k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  15.1k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  15.1k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  15.1k|    return Res2;
  204|  15.1k|  }
_ZN7llvm_ks4castINS_15MCAlignFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  56.3k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  56.3k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 56.3k, False: 0]
  |  Branch (230:3): [True: 56.3k, Folded]
  |  Branch (230:3): [True: 56.3k, False: 0]
  ------------------
  231|  56.3k|  return cast_convert_val<X, Y,
  232|  56.3k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  56.3k|}
_ZN7llvm_ks3isaINS_15MCAlignFragmentENS_10MCFragmentEEEbRKT0_:
  132|  56.3k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  56.3k|  return isa_impl_wrap<X, const Y,
  134|  56.3k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  56.3k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  56.3k|  static bool doit(const FromTy &Val) {
  122|  56.3k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  56.3k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCAlignFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  56.3k|  static inline bool doit(const From &Val) {
   75|  56.3k|    return isa_impl<To, From>::doit(Val);
   76|  56.3k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCAlignFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  56.3k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  56.3k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  56.3k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  56.3k|    return Res2;
  204|  56.3k|  }
_ZN7llvm_ks4castINS_13MCOrgFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  12.5k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  12.5k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 12.5k, False: 0]
  |  Branch (230:3): [True: 12.5k, Folded]
  |  Branch (230:3): [True: 12.5k, False: 0]
  ------------------
  231|  12.5k|  return cast_convert_val<X, Y,
  232|  12.5k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  12.5k|}
_ZN7llvm_ks3isaINS_13MCOrgFragmentENS_10MCFragmentEEEbRKT0_:
  132|  12.5k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  12.5k|  return isa_impl_wrap<X, const Y,
  134|  12.5k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  12.5k|}
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  12.5k|  static bool doit(const FromTy &Val) {
  122|  12.5k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  12.5k|  }
_ZN7llvm_ks11isa_impl_clINS_13MCOrgFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  12.5k|  static inline bool doit(const From &Val) {
   75|  12.5k|    return isa_impl<To, From>::doit(Val);
   76|  12.5k|  }
_ZN7llvm_ks16cast_convert_valINS_13MCOrgFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  12.5k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  12.5k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  12.5k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  12.5k|    return Res2;
  204|  12.5k|  }
_ZN7llvm_ks3isaINS_17MCEncodedFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  56.0k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  56.0k|  return isa_impl_wrap<X, const Y,
  134|  56.0k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  56.0k|}
_ZN7llvm_ks13isa_impl_wrapINS_17MCEncodedFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  56.0k|  static bool doit(const From &Val) {
  112|  56.0k|    return isa_impl_wrap<To, SimpleFrom,
  113|  56.0k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  56.0k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  56.0k|  }
_ZN7llvm_ks13isa_impl_wrapINS_17MCEncodedFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  56.0k|  static bool doit(const FromTy &Val) {
  122|  56.0k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  56.0k|  }
_ZN7llvm_ks11isa_impl_clINS_17MCEncodedFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  56.0k|  static inline bool doit(const From *Val) {
   95|  56.0k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 56.0k, False: 0]
  |  Branch (95:5): [True: 56.0k, Folded]
  |  Branch (95:5): [True: 56.0k, False: 0]
  ------------------
   96|  56.0k|    return isa_impl<To, From>::doit(*Val);
   97|  56.0k|  }
_ZN7llvm_ks8isa_implINS_17MCEncodedFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  56.0k|  static inline bool doit(const From &Val) {
   56|  56.0k|    return To::classof(&Val);
   57|  56.0k|  }
_ZN7llvm_ks13simplify_typeIKPKNS_9MCSectionEE18getSimplifiedValueERS4_:
   45|  7.68k|  static RetType getSimplifiedValue(const From& Val) {
   46|  7.68k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  7.68k|  }
_ZN7llvm_ks13simplify_typeIPKNS_9MCSectionEE18getSimplifiedValueERS3_:
   36|  7.68k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks8dyn_castINS_17MCEncodedFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|  44.3k|dyn_cast(Y *Val) {
  298|  44.3k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 11.6k, False: 32.6k]
  ------------------
  299|  44.3k|}
_ZN7llvm_ks4castINS_17MCEncodedFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  11.6k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  11.6k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 11.6k, False: 0]
  |  Branch (237:3): [True: 11.6k, Folded]
  |  Branch (237:3): [True: 11.6k, False: 0]
  ------------------
  238|  11.6k|  return cast_convert_val<X, Y*,
  239|  11.6k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  11.6k|}
_ZN7llvm_ks16cast_convert_valINS_17MCEncodedFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  11.6k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  11.6k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  11.6k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  11.6k|    return Res2;
  204|  11.6k|  }
_ZN7llvm_ks3isaINS_28MCCompactEncodedInstFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|  11.6k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  11.6k|  return isa_impl_wrap<X, const Y,
  134|  11.6k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  11.6k|}
_ZN7llvm_ks13isa_impl_wrapINS_28MCCompactEncodedInstFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|  11.6k|  static bool doit(const From &Val) {
  112|  11.6k|    return isa_impl_wrap<To, SimpleFrom,
  113|  11.6k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  11.6k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  11.6k|  }
_ZN7llvm_ks13isa_impl_wrapINS_28MCCompactEncodedInstFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|  11.6k|  static bool doit(const FromTy &Val) {
  122|  11.6k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  11.6k|  }
_ZN7llvm_ks11isa_impl_clINS_28MCCompactEncodedInstFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|  11.6k|  static inline bool doit(const From *Val) {
   95|  11.6k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 11.6k, False: 0]
  |  Branch (95:5): [True: 11.6k, Folded]
  |  Branch (95:5): [True: 11.6k, False: 0]
  ------------------
   96|  11.6k|    return isa_impl<To, From>::doit(*Val);
   97|  11.6k|  }
_ZN7llvm_ks8isa_implINS_28MCCompactEncodedInstFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|  11.6k|  static inline bool doit(const From &Val) {
   56|  11.6k|    return To::classof(&Val);
   57|  11.6k|  }
_ZN7llvm_ks13simplify_typeIKPNS_17MCEncodedFragmentEE18getSimplifiedValueERS3_:
   45|  36.8k|  static RetType getSimplifiedValue(const From& Val) {
   46|  36.8k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  36.8k|  }
_ZN7llvm_ks13simplify_typeIPNS_17MCEncodedFragmentEE18getSimplifiedValueERS2_:
   36|  36.8k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks8dyn_castINS_14MCDataFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|  11.6k|dyn_cast(Y *Val) {
  298|  11.6k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 9.71k, False: 1.93k]
  ------------------
  299|  11.6k|}
_ZN7llvm_ks3isaINS_14MCDataFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|  21.3k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  21.3k|  return isa_impl_wrap<X, const Y,
  134|  21.3k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  21.3k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|  21.3k|  static bool doit(const From &Val) {
  112|  21.3k|    return isa_impl_wrap<To, SimpleFrom,
  113|  21.3k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  21.3k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  21.3k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|  21.3k|  static bool doit(const FromTy &Val) {
  122|  21.3k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  21.3k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|  21.3k|  static inline bool doit(const From *Val) {
   95|  21.3k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 21.3k, False: 0]
  |  Branch (95:5): [True: 21.3k, Folded]
  |  Branch (95:5): [True: 21.3k, False: 0]
  ------------------
   96|  21.3k|    return isa_impl<To, From>::doit(*Val);
   97|  21.3k|  }
_ZN7llvm_ks8isa_implINS_14MCDataFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|  21.3k|  static inline bool doit(const From &Val) {
   56|  21.3k|    return To::classof(&Val);
   57|  21.3k|  }
_ZN7llvm_ks4castINS_14MCDataFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  9.71k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  9.71k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 9.71k, False: 0]
  |  Branch (237:3): [True: 9.71k, Folded]
  |  Branch (237:3): [True: 9.71k, False: 0]
  ------------------
  238|  9.71k|  return cast_convert_val<X, Y*,
  239|  9.71k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  9.71k|}
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEPNS_17MCEncodedFragmentES3_E4doitERKS3_:
  200|  9.71k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  9.71k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  9.71k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  9.71k|    return Res2;
  204|  9.71k|  }
_ZN7llvm_ks8dyn_castINS_19MCRelaxableFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|  1.93k|dyn_cast(Y *Val) {
  298|  1.93k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 1.93k, False: 0]
  ------------------
  299|  1.93k|}
_ZN7llvm_ks3isaINS_19MCRelaxableFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|  3.87k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  3.87k|  return isa_impl_wrap<X, const Y,
  134|  3.87k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  3.87k|}
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|  3.87k|  static bool doit(const From &Val) {
  112|  3.87k|    return isa_impl_wrap<To, SimpleFrom,
  113|  3.87k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  3.87k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  3.87k|  }
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|  3.87k|  static bool doit(const FromTy &Val) {
  122|  3.87k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  3.87k|  }
_ZN7llvm_ks11isa_impl_clINS_19MCRelaxableFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|  3.87k|  static inline bool doit(const From *Val) {
   95|  3.87k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 3.87k, False: 0]
  |  Branch (95:5): [True: 3.87k, Folded]
  |  Branch (95:5): [True: 3.87k, False: 0]
  ------------------
   96|  3.87k|    return isa_impl<To, From>::doit(*Val);
   97|  3.87k|  }
_ZN7llvm_ks8isa_implINS_19MCRelaxableFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|  3.87k|  static inline bool doit(const From &Val) {
   56|  3.87k|    return To::classof(&Val);
   57|  3.87k|  }
_ZN7llvm_ks4castINS_19MCRelaxableFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  1.93k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  1.93k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 1.93k, False: 0]
  |  Branch (237:3): [True: 1.93k, Folded]
  |  Branch (237:3): [True: 1.93k, False: 0]
  ------------------
  238|  1.93k|  return cast_convert_val<X, Y*,
  239|  1.93k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  1.93k|}
_ZN7llvm_ks16cast_convert_valINS_19MCRelaxableFragmentEPNS_17MCEncodedFragmentES3_E4doitERKS3_:
  200|  1.93k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  1.93k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  1.93k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  1.93k|    return Res2;
  204|  1.93k|  }
_ZN7llvm_ks4castINS_19MCRelaxableFragmentENS_14ilist_iteratorINS_10MCFragmentEEEEENS_10cast_rettyIT_T0_E8ret_typeERS7_:
  229|  16.1k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  16.1k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 16.1k, False: 0]
  |  Branch (230:3): [True: 16.1k, Folded]
  |  Branch (230:3): [True: 16.1k, False: 0]
  ------------------
  231|  16.1k|  return cast_convert_val<X, Y,
  232|  16.1k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  16.1k|}
_ZN7llvm_ks3isaINS_19MCRelaxableFragmentENS_14ilist_iteratorINS_10MCFragmentEEEEEbRKT0_:
  132|  16.1k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  16.1k|  return isa_impl_wrap<X, const Y,
  134|  16.1k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  16.1k|}
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEKNS_14ilist_iteratorINS_10MCFragmentEEEPS3_E4doitERS5_:
  111|  16.1k|  static bool doit(const From &Val) {
  112|  16.1k|    return isa_impl_wrap<To, SimpleFrom,
  113|  16.1k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  16.1k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  16.1k|  }
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  121|  16.1k|  static bool doit(const FromTy &Val) {
  122|  16.1k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  16.1k|  }
_ZN7llvm_ks11isa_impl_clINS_19MCRelaxableFragmentEPNS_10MCFragmentEE4doitEPKS2_:
   80|  16.1k|  static inline bool doit(const From *Val) {
   81|  16.1k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (81:5): [True: 16.1k, False: 0]
  |  Branch (81:5): [True: 16.1k, Folded]
  |  Branch (81:5): [True: 16.1k, False: 0]
  ------------------
   82|  16.1k|    return isa_impl<To, From>::doit(*Val);
   83|  16.1k|  }
_ZN7llvm_ks16cast_convert_valINS_19MCRelaxableFragmentENS_14ilist_iteratorINS_10MCFragmentEEEPS3_E4doitERS4_:
  191|  16.1k|  static typename cast_retty<To, From>::ret_type doit(From &Val) {
  192|  16.1k|    return cast_convert_val<To, SimpleFrom,
  193|  16.1k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  194|  16.1k|                          simplify_type<From>::getSimplifiedValue(Val));
  195|  16.1k|  }
_ZN7llvm_ks3isaINS_11MCSymbolELFEPKNS_8MCSymbolEEEbRKT0_:
  132|  15.5k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  15.5k|  return isa_impl_wrap<X, const Y,
  134|  15.5k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  15.5k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPKNS_8MCSymbolES4_E4doitERS5_:
  111|  15.5k|  static bool doit(const From &Val) {
  112|  15.5k|    return isa_impl_wrap<To, SimpleFrom,
  113|  15.5k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  15.5k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  15.5k|  }
_ZN7llvm_ks13simplify_typeIKPKNS_8MCSymbolEE18getSimplifiedValueERS4_:
   45|  15.5k|  static RetType getSimplifiedValue(const From& Val) {
   46|  15.5k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  15.5k|  }
_ZN7llvm_ks13simplify_typeIPKNS_8MCSymbolEE18getSimplifiedValueERS3_:
   36|  15.5k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks4castINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  11.6k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  11.6k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 11.6k, False: 0]
  |  Branch (237:3): [True: 11.6k, Folded]
  |  Branch (237:3): [True: 11.6k, False: 0]
  ------------------
  238|  11.6k|  return cast_convert_val<X, Y*,
  239|  11.6k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  11.6k|}
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPKNS_8MCSymbolES4_E4doitERKS4_:
  200|  11.6k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  11.6k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  11.6k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  11.6k|    return Res2;
  204|  11.6k|  }
_ZN7llvm_ks4castINS_12MCSectionELFENS_9MCSectionEEENS_10cast_rettyIT_T0_E8ret_typeERS5_:
  229|  12.0k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  12.0k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 12.0k, False: 0]
  |  Branch (230:3): [True: 12.0k, Folded]
  |  Branch (230:3): [True: 12.0k, False: 0]
  ------------------
  231|  12.0k|  return cast_convert_val<X, Y,
  232|  12.0k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  12.0k|}
_ZN7llvm_ks3isaINS_12MCSectionELFENS_9MCSectionEEEbRKT0_:
  132|  12.0k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  12.0k|  return isa_impl_wrap<X, const Y,
  134|  12.0k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  12.0k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEKNS_9MCSectionES3_E4doitERS3_:
  121|  12.0k|  static bool doit(const FromTy &Val) {
  122|  12.0k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  12.0k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCSectionELFEKNS_9MCSectionEE4doitERS3_:
   74|  12.0k|  static inline bool doit(const From &Val) {
   75|  12.0k|    return isa_impl<To, From>::doit(Val);
   76|  12.0k|  }
_ZN7llvm_ks8isa_implINS_12MCSectionELFENS_9MCSectionEvE4doitERKS2_:
   55|  19.6k|  static inline bool doit(const From &Val) {
   56|  19.6k|    return To::classof(&Val);
   57|  19.6k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCSectionELFENS_9MCSectionES2_E4doitERKS2_:
  200|  12.0k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  12.0k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  12.0k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  12.0k|    return Res2;
  204|  12.0k|  }
_ZN7llvm_ks12cast_or_nullINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  267|  4.39k|cast_or_null(Y *Val) {
  268|  4.39k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 495, False: 3.89k]
  ------------------
  269|  4.39k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 3.89k, False: 0]
  |  Branch (269:3): [True: 3.89k, Folded]
  |  Branch (269:3): [True: 3.89k, False: 0]
  ------------------
  270|  3.89k|  return cast<X>(Val);
  271|  3.89k|}
_ZN7llvm_ks12cast_or_nullINS_12MCSectionELFEKNS_9MCSectionEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  267|  4.33k|cast_or_null(Y *Val) {
  268|  4.33k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 495, False: 3.84k]
  ------------------
  269|  4.33k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 3.84k, False: 0]
  |  Branch (269:3): [True: 3.84k, Folded]
  |  Branch (269:3): [True: 3.84k, False: 0]
  ------------------
  270|  3.84k|  return cast<X>(Val);
  271|  3.84k|}
_ZN7llvm_ks3isaINS_12MCSectionELFEPKNS_9MCSectionEEEbRKT0_:
  132|  7.68k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  7.68k|  return isa_impl_wrap<X, const Y,
  134|  7.68k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  7.68k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEKPKNS_9MCSectionES4_E4doitERS5_:
  111|  7.68k|  static bool doit(const From &Val) {
  112|  7.68k|    return isa_impl_wrap<To, SimpleFrom,
  113|  7.68k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  7.68k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  7.68k|  }
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEPKNS_9MCSectionES4_E4doitERKS4_:
  121|  7.68k|  static bool doit(const FromTy &Val) {
  122|  7.68k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  7.68k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCSectionELFEPKNS_9MCSectionEE4doitES4_:
   94|  7.68k|  static inline bool doit(const From *Val) {
   95|  7.68k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 7.68k, False: 0]
  |  Branch (95:5): [True: 7.68k, Folded]
  |  Branch (95:5): [True: 7.68k, False: 0]
  ------------------
   96|  7.68k|    return isa_impl<To, From>::doit(*Val);
   97|  7.68k|  }
_ZN7llvm_ks4castINS_12MCSectionELFEKNS_9MCSectionEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  3.84k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  3.84k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 3.84k, False: 0]
  |  Branch (237:3): [True: 3.84k, Folded]
  |  Branch (237:3): [True: 3.84k, False: 0]
  ------------------
  238|  3.84k|  return cast_convert_val<X, Y*,
  239|  3.84k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  3.84k|}
_ZN7llvm_ks16cast_convert_valINS_12MCSectionELFEPKNS_9MCSectionES4_E4doitERKS4_:
  200|  3.84k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  3.84k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  3.84k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  3.84k|    return Res2;
  204|  3.84k|  }

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

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

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

_ZN7llvm_ks5isIntILj8EEEbl:
  268|  1.30k|inline bool isInt<8>(int64_t x) {
  269|  1.30k|  return static_cast<int8_t>(x) == x;
  270|  1.30k|}
_ZN7llvm_ks5isIntILj32EEEbl:
  276|    212|inline bool isInt<32>(int64_t x) {
  277|    212|  return static_cast<int32_t>(x) == x;
  278|    212|}
_ZN7llvm_ks6isUIntILj8EEEbm:
  294|    418|inline bool isUInt<8>(uint64_t x) {
  295|    418|  return static_cast<uint8_t>(x) == x;
  296|    418|}
_ZN7llvm_ks6isUIntILj16EEEbm:
  298|    210|inline bool isUInt<16>(uint64_t x) {
  299|    210|  return static_cast<uint16_t>(x) == x;
  300|    210|}
_ZN7llvm_ks6isUIntILj32EEEbm:
  302|  4.27k|inline bool isUInt<32>(uint64_t x) {
  303|  4.27k|  return static_cast<uint32_t>(x) == x;
  304|  4.27k|}
_ZN7llvm_ks7isUIntNEjm:
  315|  83.1M|inline bool isUIntN(unsigned N, uint64_t x) {
  316|  83.1M|  return N >= 64 || x < (UINT64_C(1)<<(N));
  ------------------
  |  Branch (316:10): [True: 2.31k, False: 83.1M]
  |  Branch (316:21): [True: 83.1M, False: 3.75k]
  ------------------
  317|  83.1M|}
_ZN7llvm_ks6isIntNEjl:
  321|  16.6k|inline bool isIntN(unsigned N, int64_t x) {
  322|  16.6k|  return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < (INT64_C(1)<<(N-1)));
  ------------------
  |  Branch (322:10): [True: 11, False: 16.6k]
  |  Branch (322:22): [True: 15.4k, False: 1.20k]
  |  Branch (322:51): [True: 15.1k, False: 314]
  ------------------
  323|  16.6k|}
_ZN7llvm_ks13isPowerOf2_32Ej:
  354|     89|inline bool isPowerOf2_32(uint32_t Value) {
  355|     89|  return Value && !(Value & (Value - 1));
  ------------------
  |  Branch (355:10): [True: 89, False: 0]
  |  Branch (355:19): [True: 89, False: 0]
  ------------------
  356|     89|}
_ZN7llvm_ks13isPowerOf2_64Em:
  360|  4.69M|inline bool isPowerOf2_64(uint64_t Value) {
  361|  4.69M|  return Value && !(Value & (Value - int64_t(1L)));
  ------------------
  |  Branch (361:10): [True: 4.69M, False: 9]
  |  Branch (361:19): [True: 4.69M, False: 1.96k]
  ------------------
  362|  4.69M|}
_ZN7llvm_ks7Log2_32Ej:
  468|     89|inline unsigned Log2_32(uint32_t Value) {
  469|     89|  return 31 - countLeadingZeros(Value);
  470|     89|}
_ZN7llvm_ks7Log2_64Em:
  474|     14|inline unsigned Log2_64(uint64_t Value) {
  475|     14|  return 63 - countLeadingZeros(Value);
  476|     14|}
_ZN7llvm_ks9alignAddrEPKvm:
  565|  4.67M|inline uintptr_t alignAddr(const void *Addr, size_t Alignment) {
  566|  4.67M|  assert(Alignment && isPowerOf2_64((uint64_t)Alignment) &&
  ------------------
  |  Branch (566:3): [True: 4.67M, False: 0]
  |  Branch (566:3): [True: 4.67M, False: 0]
  |  Branch (566:3): [True: 4.67M, Folded]
  |  Branch (566:3): [True: 4.67M, False: 0]
  ------------------
  567|  4.67M|         "Alignment is not a power of two!");
  568|       |
  569|  4.67M|  assert((uintptr_t)Addr + Alignment - 1 >= (uintptr_t)Addr);
  ------------------
  |  Branch (569:3): [True: 4.67M, False: 0]
  ------------------
  570|       |
  571|  4.67M|  return (((uintptr_t)Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1));
  572|  4.67M|}
_ZN7llvm_ks19alignmentAdjustmentEPKvm:
  576|  4.43M|inline size_t alignmentAdjustment(const void *Ptr, size_t Alignment) {
  577|  4.43M|  return alignAddr(Ptr, Alignment) - (uintptr_t)Ptr;
  578|  4.43M|}
_ZN7llvm_ks12NextPowerOf2Em:
  582|   128k|inline uint64_t NextPowerOf2(uint64_t A) {
  583|   128k|  A |= (A >> 1);
  584|   128k|  A |= (A >> 2);
  585|   128k|  A |= (A >> 4);
  586|   128k|  A |= (A >> 8);
  587|   128k|  A |= (A >> 16);
  588|   128k|  A |= (A >> 32);
  589|   128k|  return A + 1;
  590|   128k|}
_ZN7llvm_ks7alignToEmmm:
  619|  74.3k|inline uint64_t alignTo(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
  620|  74.3k|  Skew %= Align;
  621|  74.3k|  return (Value + Align - 1 - Skew) / Align * Align + Skew;
  622|  74.3k|}
_ZN7llvm_ks17OffsetToAlignmentEmm:
  627|  46.0k|inline uint64_t OffsetToAlignment(uint64_t Value, uint64_t Align) {
  628|  46.0k|  return alignTo(Value, Align) - Value;
  629|  46.0k|}
_ZN7llvm_ks17countLeadingZerosIjEEmT_NS_12ZeroBehaviorE:
  178|     89|std::size_t countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
  179|     89|  static_assert(std::numeric_limits<T>::is_integer &&
  180|     89|                    !std::numeric_limits<T>::is_signed,
  181|     89|                "Only unsigned integral types are allowed.");
  182|     89|  return detail::LeadingZerosCounter<T, sizeof(T)>::count(Val, ZB);
  183|     89|}
_ZN7llvm_ks6detail19LeadingZerosCounterIjLm4EE5countEjNS_12ZeroBehaviorE:
  137|     89|  static std::size_t count(T Val, ZeroBehavior ZB) {
  138|     89|    if (ZB != ZB_Undefined && Val == 0)
  ------------------
  |  Branch (138:9): [True: 89, False: 0]
  |  Branch (138:31): [True: 0, False: 89]
  ------------------
  139|      0|      return 32;
  140|       |
  141|     89|#if __has_builtin(__builtin_clz) || LLVM_GNUC_PREREQ(4, 0, 0)
  142|     89|    return __builtin_clz(Val);
  143|       |#elif defined(_MSC_VER)
  144|       |    unsigned long Index;
  145|       |    _BitScanReverse(&Index, Val);
  146|       |    return Index ^ 31;
  147|       |#endif
  148|     89|  }
_ZN7llvm_ks17countLeadingZerosImEEmT_NS_12ZeroBehaviorE:
  178|  3.82M|std::size_t countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
  179|  3.82M|  static_assert(std::numeric_limits<T>::is_integer &&
  180|  3.82M|                    !std::numeric_limits<T>::is_signed,
  181|  3.82M|                "Only unsigned integral types are allowed.");
  182|  3.82M|  return detail::LeadingZerosCounter<T, sizeof(T)>::count(Val, ZB);
  183|  3.82M|}
_ZN7llvm_ks6detail19LeadingZerosCounterImLm8EE5countEmNS_12ZeroBehaviorE:
  153|  3.82M|  static std::size_t count(T Val, ZeroBehavior ZB) {
  154|  3.82M|    if (ZB != ZB_Undefined && Val == 0)
  ------------------
  |  Branch (154:9): [True: 2.54M, False: 1.27M]
  |  Branch (154:31): [True: 251k, False: 2.29M]
  ------------------
  155|   251k|      return 64;
  156|       |
  157|  3.57M|#if __has_builtin(__builtin_clzll) || LLVM_GNUC_PREREQ(4, 0, 0)
  158|  3.57M|    return __builtin_clzll(Val);
  159|       |#elif defined(_MSC_VER)
  160|       |    unsigned long Index;
  161|       |    _BitScanReverse64(&Index, Val);
  162|       |    return Index ^ 63;
  163|       |#endif
  164|  3.82M|  }
_ZN7llvm_ks18countTrailingZerosImEEmT_NS_12ZeroBehaviorE:
  109|   236k|std::size_t countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
  110|   236k|  static_assert(std::numeric_limits<T>::is_integer &&
  111|   236k|                    !std::numeric_limits<T>::is_signed,
  112|   236k|                "Only unsigned integral types are allowed.");
  113|   236k|  return detail::TrailingZerosCounter<T, sizeof(T)>::count(Val, ZB);
  114|   236k|}
_ZN7llvm_ks6detail20TrailingZerosCounterImLm8EE5countEmNS_12ZeroBehaviorE:
   84|   236k|  static std::size_t count(T Val, ZeroBehavior ZB) {
   85|   236k|    if (ZB != ZB_Undefined && Val == 0)
  ------------------
  |  Branch (85:9): [True: 0, False: 236k]
  |  Branch (85:31): [True: 0, False: 0]
  ------------------
   86|      0|      return 64;
   87|       |
   88|   236k|#if __has_builtin(__builtin_ctzll) || LLVM_GNUC_PREREQ(4, 0, 0)
   89|   236k|    return __builtin_ctzll(Val);
   90|       |#elif defined(_MSC_VER)
   91|       |    unsigned long Index;
   92|       |    _BitScanForward64(&Index, Val);
   93|       |    return Index;
   94|       |#endif
   95|   236k|  }
_ZN7llvm_ks15countPopulationImEEjT_:
  449|  6.79k|inline unsigned countPopulation(T Value) {
  450|  6.79k|  static_assert(std::numeric_limits<T>::is_integer &&
  451|  6.79k|                    !std::numeric_limits<T>::is_signed,
  452|  6.79k|                "Only unsigned integral types are allowed.");
  453|  6.79k|  return detail::PopulationCounter<T, sizeof(T)>::count(Value);
  454|  6.79k|}
_ZN7llvm_ks6detail17PopulationCounterImLm8EE5countEm:
  431|  6.79k|  static unsigned count(T Value) {
  432|  6.79k|#if __GNUC__ >= 4
  433|  6.79k|    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|  6.79k|  }
_ZN7llvm_ks12findFirstSetImEET_S1_NS_12ZeroBehaviorE:
  192|   236k|template <typename T> T findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) {
  193|   236k|  if (ZB == ZB_Max && Val == 0)
  ------------------
  |  Branch (193:7): [True: 236k, False: 0]
  |  Branch (193:23): [True: 0, False: 236k]
  ------------------
  194|      0|    return std::numeric_limits<T>::max();
  195|       |
  196|   236k|  return countTrailingZeros(Val, ZB_Undefined);
  197|   236k|}
_ZN7llvm_ks11findLastSetImEET_S1_NS_12ZeroBehaviorE:
  206|  1.27M|template <typename T> T findLastSet(T Val, ZeroBehavior ZB = ZB_Max) {
  207|  1.27M|  if (ZB == ZB_Max && Val == 0)
  ------------------
  |  Branch (207:7): [True: 1.27M, False: 0]
  |  Branch (207:23): [True: 0, False: 1.27M]
  ------------------
  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|  1.27M|  return countLeadingZeros(Val, ZB_Undefined) ^
  213|  1.27M|         (std::numeric_limits<T>::digits - 1);
  214|  1.27M|}

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

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

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

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

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

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

_ZNK7llvm_ks6Target15createMCRegInfoENS_9StringRefE:
  260|  19.0k|  MCRegisterInfo *createMCRegInfo(StringRef TT) const {
  261|  19.0k|    if (!MCRegInfoCtorFn)
  ------------------
  |  Branch (261:9): [True: 0, False: 19.0k]
  ------------------
  262|      0|      return nullptr;
  263|  19.0k|    return MCRegInfoCtorFn(Triple(TT));
  264|  19.0k|  }
_ZNK7llvm_ks6Target15createMCAsmInfoERKNS_14MCRegisterInfoENS_9StringRefE:
  236|  19.0k|                             StringRef TheTriple) const {
  237|  19.0k|    if (!MCAsmInfoCtorFn)
  ------------------
  |  Branch (237:9): [True: 0, False: 19.0k]
  ------------------
  238|      0|      return nullptr;
  239|  19.0k|    return MCAsmInfoCtorFn(MRI, Triple(TheTriple));
  240|  19.0k|  }
_ZNK7llvm_ks6Target17createMCInstrInfoEv:
  244|  19.0k|  MCInstrInfo *createMCInstrInfo() const {
  245|  19.0k|    if (!MCInstrInfoCtorFn)
  ------------------
  |  Branch (245:9): [True: 0, False: 19.0k]
  ------------------
  246|      0|      return nullptr;
  247|  19.0k|    return MCInstrInfoCtorFn();
  248|  19.0k|  }
_ZNK7llvm_ks6Target21createMCSubtargetInfoENS_9StringRefES1_S1_:
  276|  19.0k|                                         StringRef Features) const {
  277|  19.0k|    if (!MCSubtargetInfoCtorFn)
  ------------------
  |  Branch (277:9): [True: 0, False: 19.0k]
  ------------------
  278|      0|      return nullptr;
  279|  19.0k|    return MCSubtargetInfoCtorFn(Triple(TheTriple), CPU, Features);
  280|  19.0k|  }
_ZNK7llvm_ks6Target18createMCAsmBackendERKNS_14MCRegisterInfoENS_9StringRefES4_:
  301|  19.0k|                                   StringRef TheTriple, StringRef CPU) const {
  302|  19.0k|    if (!MCAsmBackendCtorFn)
  ------------------
  |  Branch (302:9): [True: 0, False: 19.0k]
  ------------------
  303|      0|      return nullptr;
  304|  19.0k|    return MCAsmBackendCtorFn(*this, MRI, Triple(TheTriple), CPU);
  305|  19.0k|  }
_ZNK7llvm_ks6Target19createMCCodeEmitterERKNS_11MCInstrInfoERKNS_14MCRegisterInfoERNS_9MCContextE:
  338|  19.0k|                                     MCContext &Ctx) const {
  339|  19.0k|    if (!MCCodeEmitterCtorFn)
  ------------------
  |  Branch (339:9): [True: 0, False: 19.0k]
  ------------------
  340|      0|      return nullptr;
  341|  19.0k|    return MCCodeEmitterCtorFn(II, MRI, Ctx);
  342|  19.0k|  }
_ZNK7llvm_ks6Target22createMCObjectStreamerERKNS_6TripleERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterERKNS_15MCSubtargetInfoEbb:
  356|  19.0k|                                     bool DWARFMustBeAtTheEnd) const {
  357|  19.0k|    MCStreamer *S;
  358|  19.0k|    switch (T.getObjectFormat()) {
  359|      0|    default:
  ------------------
  |  Branch (359:5): [True: 0, False: 19.0k]
  ------------------
  360|      0|      llvm_unreachable("Unknown object format");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  361|  19.0k|    case Triple::ELF:
  ------------------
  |  Branch (361:5): [True: 19.0k, False: 0]
  ------------------
  362|  19.0k|      if (ELFStreamerCtorFn)
  ------------------
  |  Branch (362:11): [True: 0, False: 19.0k]
  ------------------
  363|      0|        S = ELFStreamerCtorFn(T, Ctx, TAB, OS, Emitter, RelaxAll);
  364|  19.0k|      else
  365|  19.0k|        S = createELFStreamer(Ctx, TAB, OS, Emitter, RelaxAll);
  366|  19.0k|      break;
  367|  19.0k|    }
  368|  19.0k|    if (ObjectTargetStreamerCtorFn)
  ------------------
  |  Branch (368:9): [True: 0, False: 19.0k]
  ------------------
  369|      0|      ObjectTargetStreamerCtorFn(*S, STI);
  370|  19.0k|    return S;
  371|  19.0k|  }
_ZNK7llvm_ks6Target17createMCAsmParserERKNS_15MCSubtargetInfoERNS_11MCAsmParserERKNS_11MCInstrInfoERKNS_15MCTargetOptionsE:
  320|  19.0k|                                       const MCTargetOptions &Options) const {
  321|  19.0k|    if (!MCAsmParserCtorFn)
  ------------------
  |  Branch (321:9): [True: 0, False: 19.0k]
  ------------------
  322|      0|      return nullptr;
  323|  19.0k|    return MCAsmParserCtorFn(STI, Parser, MII, Options);
  324|  19.0k|  }
_ZN7llvm_ks6TargetC2Ev:
  198|     46|      : ELFStreamerCtorFn(nullptr), NullTargetStreamerCtorFn(nullptr),
  199|     46|        AsmTargetStreamerCtorFn(nullptr), ObjectTargetStreamerCtorFn(nullptr),
  200|     46|        MCRelocationInfoCtorFn(nullptr) {}
_ZNK7llvm_ks6Target7getNextEv:
  206|   438k|  const Target *getNext() const { return Next; }
_ZN7llvm_ks14TargetRegistry8iteratorC2EPNS_6TargetE:
  420|   133k|    explicit iterator(Target *T) : Current(T) {}
_ZN7llvm_ks14TargetRegistry8iteratorC2Ev:
  424|   133k|    iterator() : Current(nullptr) {}
_ZNK7llvm_ks14TargetRegistry8iteratoreqERKS1_:
  426|   514k|    bool operator==(const iterator &x) const { return Current == x.Current; }
_ZNK7llvm_ks14TargetRegistry8iteratorneERKS1_:
  427|   476k|    bool operator!=(const iterator &x) const { return !operator==(x); }
_ZN7llvm_ks14TargetRegistry8iteratorppEv:
  430|   438k|    iterator &operator++() { // Preincrement
  431|   438k|      assert(Current && "Cannot increment end iterator!");
  ------------------
  |  Branch (431:7): [True: 438k, False: 0]
  |  Branch (431:7): [True: 438k, Folded]
  |  Branch (431:7): [True: 438k, False: 0]
  ------------------
  432|   438k|      Current = Current->getNext();
  433|   438k|      return *this;
  434|   438k|    }
_ZNK7llvm_ks14TargetRegistry8iteratordeEv:
  441|   457k|    const Target &operator*() const {
  442|   457k|      assert(Current && "Cannot dereference end iterator!");
  ------------------
  |  Branch (442:7): [True: 457k, False: 0]
  |  Branch (442:7): [True: 457k, Folded]
  |  Branch (442:7): [True: 457k, False: 0]
  ------------------
  443|   457k|      return *Current;
  444|   457k|    }
_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|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE4EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE4EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
ARMAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_112ARMAsmParserEEC2ERNS_6TargetE:
  900|      4|  RegisterMCAsmParser(Target &T) {
  901|      4|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      4|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE1EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE1EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE2EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE2EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE26EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE26EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE27EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE27EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
HexagonAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_116HexagonAsmParserEEC2ERNS_6TargetE:
  900|      1|  RegisterMCAsmParser(Target &T) {
  901|      1|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE8EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE8EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
MipsAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_113MipsAsmParserEEC2ERNS_6TargetE:
  900|      4|  RegisterMCAsmParser(Target &T) {
  901|      4|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      4|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE9EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE9EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE10EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE10EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE11EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE11EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE12EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE12EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
PPCAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_112PPCAsmParserEEC2ERNS_6TargetE:
  900|      3|  RegisterMCAsmParser(Target &T) {
  901|      3|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      3|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE14EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE14EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE15EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE15EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE16EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE16EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
SparcAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_114SparcAsmParserEEC2ERNS_6TargetE:
  900|      3|  RegisterMCAsmParser(Target &T) {
  901|      3|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      3|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE21EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE21EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE22EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE22EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE23EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE23EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
SystemZAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_116SystemZAsmParserEEC2ERNS_6TargetE:
  900|      1|  RegisterMCAsmParser(Target &T) {
  901|      1|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE24EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE24EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
X86AsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_112X86AsmParserEEC2ERNS_6TargetE:
  900|      2|  RegisterMCAsmParser(Target &T) {
  901|      2|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      2|  }
X86AsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_112X86AsmParserEE9AllocatorERKNS_15MCSubtargetInfoERNS_11MCAsmParserERKNS_11MCInstrInfoERKNS_15MCTargetOptionsE:
  907|  19.0k|                                      const MCTargetOptions &Options) {
  908|  19.0k|    return new MCAsmParserImpl(STI, P, MII, Options);
  909|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE28EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE28EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE29EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE29EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks19RegisterMCAsmParserINS_14RISCVAsmParserEEC2ERNS_6TargetE:
  900|      2|  RegisterMCAsmParser(Target &T) {
  901|      2|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      2|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE18EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE18EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE19EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE19EE12getArchMatchES2_:
  681|  19.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  19.0k|    return Arch == TargetArchType;
  683|  19.0k|  }

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

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

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

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

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

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

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

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

_ZN7llvm_ks11MCAssemblerC2ERNS_9MCContextERNS_12MCAsmBackendERNS_13MCCodeEmitterERNS_14MCObjectWriterE:
   48|  19.0k|    : Context(Context_), Backend(Backend_), Emitter(Emitter_), Writer(Writer_),
   49|  19.0k|      BundleAlignSize(0), RelaxAll(false), SubsectionsViaSymbols(false),
   50|  19.0k|      IncrementalLinkerCompatible(false), ELFHeaderEFlags(0) {
   51|  19.0k|  VersionMinInfo.Major = 0; // Major version == 0 for "none specified"
   52|  19.0k|}
_ZN7llvm_ks11MCAssemblerD2Ev:
   54|  19.0k|MCAssembler::~MCAssembler() {
   55|  19.0k|}
_ZN7llvm_ks11MCAssembler15registerSectionERNS_9MCSectionE:
   80|  20.5k|bool MCAssembler::registerSection(MCSection &Section) {
   81|  20.5k|  if (Section.isRegistered())
  ------------------
  |  Branch (81:7): [True: 1.06k, False: 19.5k]
  ------------------
   82|  1.06k|    return false;
   83|  19.5k|  Sections.push_back(&Section);
   84|  19.5k|  Section.setIsRegistered(true);
   85|  19.5k|  return true;
   86|  20.5k|}
_ZNK7llvm_ks11MCAssembler11isThumbFuncEPKNS_8MCSymbolE:
   88|  12.2k|bool MCAssembler::isThumbFunc(const MCSymbol *Symbol) const {
   89|  12.2k|  if (ThumbFuncs.count(Symbol))
  ------------------
  |  Branch (89:7): [True: 0, False: 12.2k]
  ------------------
   90|      0|    return true;
   91|       |
   92|  12.2k|  if (!Symbol->isVariable())
  ------------------
  |  Branch (92:7): [True: 11.6k, False: 570]
  ------------------
   93|  11.6k|    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|    570|  const MCExpr *Expr = Symbol->getVariableValue();
   98|    570|  const MCSymbolRefExpr *Ref = dyn_cast<MCSymbolRefExpr>(Expr);
   99|    570|  if (!Ref)
  ------------------
  |  Branch (99:7): [True: 169, False: 401]
  ------------------
  100|    169|    return false;
  101|       |
  102|    401|  if (Ref->getKind() != MCSymbolRefExpr::VK_None)
  ------------------
  |  Branch (102:7): [True: 0, False: 401]
  ------------------
  103|      0|    return false;
  104|       |
  105|    401|  const MCSymbol &Sym = Ref->getSymbol();
  106|    401|  if (!isThumbFunc(&Sym))
  ------------------
  |  Branch (106:7): [True: 401, False: 0]
  ------------------
  107|    401|    return false;
  108|       |
  109|      0|  ThumbFuncs.insert(Symbol); // Cache it.
  110|      0|  return true;
  111|    401|}
_ZNK7llvm_ks11MCAssembler13evaluateFixupERKNS_11MCAsmLayoutERKNS_7MCFixupEPKNS_10MCFragmentERNS_7MCValueERmRj:
  150|  21.3k|{
  151|  21.3k|  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|  21.3k|  const MCExpr *Expr = Fixup.getValue();
  157|  21.3k|  if (!Expr->evaluateAsRelocatable(Target, &Layout, &Fixup)) {
  ------------------
  |  Branch (157:7): [True: 826, False: 20.5k]
  ------------------
  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|    826|    Value = 0;
  163|    826|    KsError = KS_ERR_ASM_INVALIDOPERAND;
  164|    826|    return false;
  165|    826|  }
  166|       |
  167|  20.5k|  bool IsPCRel = Backend.getFixupKindInfo(
  168|  20.5k|    Fixup.getKind()).Flags & MCFixupKindInfo::FKF_IsPCRel;
  169|       |
  170|  20.5k|  bool IsResolved;
  171|  20.5k|  if (IsPCRel) {
  ------------------
  |  Branch (171:7): [True: 11.7k, False: 8.72k]
  ------------------
  172|  11.7k|    if (Target.getSymB()) {
  ------------------
  |  Branch (172:9): [True: 195, False: 11.6k]
  ------------------
  173|    195|      IsResolved = false;
  174|  11.6k|    } else if (!Target.getSymA()) {
  ------------------
  |  Branch (174:16): [True: 11.2k, False: 325]
  ------------------
  175|  11.2k|      if (getBackend().getArch() == KS_ARCH_X86)
  ------------------
  |  Branch (175:11): [True: 11.2k, False: 0]
  ------------------
  176|  11.2k|          IsResolved = true;
  177|      0|      else
  178|      0|          IsResolved = false;
  179|  11.2k|    } else {
  180|    325|      const MCSymbolRefExpr *A = Target.getSymA();
  181|    325|      const MCSymbol &SA = A->getSymbol();
  182|    325|      if (A->getKind() != MCSymbolRefExpr::VK_None || SA.isUndefined()) {
  ------------------
  |  Branch (182:11): [True: 6, False: 319]
  |  Branch (182:55): [True: 217, False: 102]
  ------------------
  183|    223|        IsResolved = false;
  184|    223|      } else {
  185|    102|        IsResolved = getWriter().isSymbolRefDifferenceFullyResolvedImpl(
  186|    102|            *this, SA, *DF, false, true);
  187|    102|      }
  188|    325|    }
  189|  11.7k|  } else {
  190|  8.72k|    IsResolved = Target.isAbsolute();
  191|  8.72k|  }
  192|       |
  193|  20.5k|  Value = Target.getConstant();
  194|       |
  195|  20.5k|  if (const MCSymbolRefExpr *A = Target.getSymA()) {
  ------------------
  |  Branch (195:30): [True: 7.69k, False: 12.8k]
  ------------------
  196|  7.69k|    const MCSymbol &Sym = A->getSymbol();
  197|  7.69k|    bool valid;
  198|  7.69k|    if (Sym.isDefined()) {
  ------------------
  |  Branch (198:9): [True: 6.95k, False: 740]
  ------------------
  199|  6.95k|      Value += Layout.getSymbolOffset(Sym, valid);
  200|  6.95k|      if (!valid) {
  ------------------
  |  Branch (200:11): [True: 3, False: 6.95k]
  ------------------
  201|      3|        KsError = KS_ERR_ASM_FIXUP_INVALID;
  202|      3|        return false;
  203|      3|      }
  204|  6.95k|    } else {
  205|       |        // a missing symbol. is there any resolver registered?
  206|    740|        if (KsSymResolver) {
  ------------------
  |  Branch (206:13): [True: 0, False: 740]
  ------------------
  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|    740|        } else {
  219|       |            // no resolver registered
  220|    740|            KsError = KS_ERR_ASM_SYMBOL_MISSING;
  221|    740|            return false;
  222|    740|        }
  223|    740|    }
  224|  7.69k|  }
  225|       |
  226|  19.7k|  if (const MCSymbolRefExpr *B = Target.getSymB()) {
  ------------------
  |  Branch (226:30): [True: 4.36k, False: 15.4k]
  ------------------
  227|  4.36k|    const MCSymbol &Sym = B->getSymbol();
  228|  4.36k|    bool valid;
  229|  4.36k|    if (Sym.isDefined()) {
  ------------------
  |  Branch (229:9): [True: 508, False: 3.85k]
  ------------------
  230|    508|      Value -= Layout.getSymbolOffset(Sym, valid);
  231|    508|      if (!valid) {
  ------------------
  |  Branch (231:11): [True: 1, False: 507]
  ------------------
  232|      1|        KsError = KS_ERR_ASM_FIXUP_INVALID;
  233|      1|        return false;
  234|      1|      }
  235|    508|    }
  236|  4.36k|  }
  237|       |
  238|  19.7k|  bool ShouldAlignPC = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
  239|  19.7k|                         MCFixupKindInfo::FKF_IsAlignedDownTo32Bits;
  240|  19.7k|  assert((ShouldAlignPC ? IsPCRel : true) &&
  ------------------
  |  Branch (240:3): [True: 0, False: 19.7k]
  |  Branch (240:3): [True: 19.7k, False: 0]
  |  Branch (240:3): [True: 19.7k, Folded]
  |  Branch (240:3): [True: 19.7k, False: 0]
  ------------------
  241|  19.7k|    "FKF_IsAlignedDownTo32Bits is only allowed on PC-relative fixups!");
  242|       |
  243|  19.7k|  if (IsPCRel) {
  ------------------
  |  Branch (243:7): [True: 11.5k, False: 8.24k]
  ------------------
  244|  11.5k|    bool valid;
  245|  11.5k|    uint64_t Offset = Layout.getFragmentOffset(DF, valid) + Fixup.getOffset();
  246|  11.5k|    if (!valid) {
  ------------------
  |  Branch (246:9): [True: 54, False: 11.4k]
  ------------------
  247|     54|        KsError = KS_ERR_ASM_FRAGMENT_INVALID;
  248|     54|        return false;
  249|     54|    }
  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|  11.4k|    if (ShouldAlignPC) Offset &= ~0x3;
  ------------------
  |  Branch (253:9): [True: 0, False: 11.4k]
  ------------------
  254|  11.4k|    Value -= Offset;
  255|  11.4k|  }
  256|       |
  257|       |  // Let the backend adjust the fixup value if necessary, including whether
  258|       |  // we need a relocation.
  259|  19.7k|  Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value,
  260|  19.7k|                            IsResolved);
  261|       |
  262|  19.7k|  return IsResolved;
  263|  19.7k|}
_ZNK7llvm_ks11MCAssembler19computeFragmentSizeERKNS_11MCAsmLayoutERKNS_10MCFragmentERb:
  267|  84.2k|{
  268|  84.2k|  valid = true;
  269|  84.2k|  switch (F.getKind()) {
  ------------------
  |  Branch (269:11): [True: 84.2k, False: 0]
  ------------------
  270|  15.2k|  case MCFragment::FT_Data:
  ------------------
  |  Branch (270:3): [True: 15.2k, False: 68.9k]
  ------------------
  271|  15.2k|    return cast<MCDataFragment>(F).getContents().size();
  272|  11.3k|  case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (272:3): [True: 11.3k, False: 72.8k]
  ------------------
  273|  11.3k|    return cast<MCRelaxableFragment>(F).getContents().size();
  274|      0|  case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (274:3): [True: 0, False: 84.2k]
  ------------------
  275|      0|    return cast<MCCompactEncodedInstFragment>(F).getContents().size();
  276|  10.1k|  case MCFragment::FT_Fill:
  ------------------
  |  Branch (276:3): [True: 10.1k, False: 74.0k]
  ------------------
  277|  10.1k|    return cast<MCFillFragment>(F).getSize();
  278|       |
  279|      0|  case MCFragment::FT_LEB:
  ------------------
  |  Branch (279:3): [True: 0, False: 84.2k]
  ------------------
  280|      0|    return cast<MCLEBFragment>(F).getContents().size();
  281|       |
  282|      0|  case MCFragment::FT_SafeSEH:
  ------------------
  |  Branch (282:3): [True: 0, False: 84.2k]
  ------------------
  283|      0|    return 4;
  284|       |
  285|  37.7k|  case MCFragment::FT_Align: {
  ------------------
  |  Branch (285:3): [True: 37.7k, False: 46.4k]
  ------------------
  286|  37.7k|    const MCAlignFragment &AF = cast<MCAlignFragment>(F);
  287|  37.7k|    unsigned Offset = Layout.getFragmentOffset(&AF, valid);
  288|  37.7k|    if (!valid) {
  ------------------
  |  Branch (288:9): [True: 0, False: 37.7k]
  ------------------
  289|      0|        return 0;
  290|      0|    }
  291|  37.7k|    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|  37.7k|    if (Size > 0 && AF.hasEmitNops()) {
  ------------------
  |  Branch (294:9): [True: 517, False: 37.2k]
  |  Branch (294:21): [True: 69, False: 448]
  ------------------
  295|     69|      while (Size % getBackend().getMinimumNopSize())
  ------------------
  |  Branch (295:14): [True: 0, False: 69]
  ------------------
  296|      0|        Size += AF.getAlignment();
  297|     69|    }
  298|  37.7k|    if (Size > AF.getMaxBytesToEmit())
  ------------------
  |  Branch (298:9): [True: 6, False: 37.7k]
  ------------------
  299|      6|      return 0;
  300|  37.7k|    return Size;
  301|  37.7k|  }
  302|       |
  303|  9.70k|  case MCFragment::FT_Org: {
  ------------------
  |  Branch (303:3): [True: 9.70k, False: 74.4k]
  ------------------
  304|  9.70k|    const MCOrgFragment &OF = cast<MCOrgFragment>(F);
  305|  9.70k|    MCValue Value;
  306|  9.70k|    if (!OF.getOffset().evaluateAsValue(Value, Layout)) {
  ------------------
  |  Branch (306:9): [True: 817, False: 8.89k]
  ------------------
  307|       |      //report_fatal_error("expected assembly-time absolute expression");
  308|    817|      valid = false;
  309|    817|      return 0;
  310|    817|    }
  311|       |
  312|       |    // FIXME: We need a way to communicate this error.
  313|  8.89k|    uint64_t FragmentOffset = Layout.getFragmentOffset(&OF, valid);
  314|  8.89k|    if (!valid) {
  ------------------
  |  Branch (314:9): [True: 0, False: 8.89k]
  ------------------
  315|      0|      return 0;
  316|      0|    }
  317|  8.89k|    int64_t TargetLocation = Value.getConstant();
  318|  8.89k|    if (const MCSymbolRefExpr *A = Value.getSymA()) {
  ------------------
  |  Branch (318:32): [True: 1.94k, False: 6.94k]
  ------------------
  319|  1.94k|      uint64_t Val;
  320|  1.94k|      if (!Layout.getSymbolOffset(A->getSymbol(), Val, valid)) {
  ------------------
  |  Branch (320:11): [True: 874, False: 1.06k]
  ------------------
  321|       |        //report_fatal_error("expected absolute expression");
  322|    874|        valid = false;
  323|    874|        return 0;
  324|    874|      }
  325|  1.06k|      TargetLocation += Val;
  326|  1.06k|    }
  327|  8.01k|    int64_t Size = TargetLocation - FragmentOffset;
  328|  8.01k|    if (Size < 0 || Size >= 0x40000000) {
  ------------------
  |  Branch (328:9): [True: 2.31k, False: 5.70k]
  |  Branch (328:21): [True: 175, False: 5.52k]
  ------------------
  329|       |      //report_fatal_error("invalid .org offset '" + Twine(TargetLocation) +
  330|       |      //                   "' (at offset '" + Twine(FragmentOffset) + "')");
  331|  2.48k|      valid = false;
  332|  2.48k|      return 0;
  333|  2.48k|    }
  334|  5.52k|    return Size;
  335|  8.01k|  }
  336|       |
  337|      0|  case MCFragment::FT_Dwarf:
  ------------------
  |  Branch (337:3): [True: 0, False: 84.2k]
  ------------------
  338|      0|    return cast<MCDwarfLineAddrFragment>(F).getContents().size();
  339|      0|  case MCFragment::FT_DwarfFrame:
  ------------------
  |  Branch (339:3): [True: 0, False: 84.2k]
  ------------------
  340|      0|    return cast<MCDwarfCallFrameFragment>(F).getContents().size();
  341|      0|  case MCFragment::FT_Dummy:
  ------------------
  |  Branch (341:3): [True: 0, False: 84.2k]
  ------------------
  342|      0|    llvm_unreachable("Should not have been added");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  343|  84.2k|  }
  344|       |
  345|      0|  llvm_unreachable("invalid fragment kind");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  346|  84.2k|}
_ZN7llvm_ks11MCAsmLayout14layoutFragmentEPNS_10MCFragmentE:
  349|  59.5k|{
  350|  59.5k|  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|  59.5k|  if (isFragmentValid(F))
  ------------------
  |  Branch (354:7): [True: 0, False: 59.5k]
  ------------------
  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|  59.5k|  if (Prev && !isFragmentValid(Prev))
  ------------------
  |  Branch (361:7): [True: 50.1k, False: 9.35k]
  |  Branch (361:15): [True: 2.74k, False: 47.4k]
  ------------------
  362|  2.74k|      return true;
  363|       |
  364|  56.8k|  bool valid = true;
  365|       |  // Compute fragment offset and size.
  366|  56.8k|  if (Prev)
  ------------------
  |  Branch (366:7): [True: 47.4k, False: 9.35k]
  ------------------
  367|  47.4k|    F->Offset = Prev->Offset + getAssembler().computeFragmentSize(*this, *Prev, valid);
  368|  9.35k|  else
  369|  9.35k|    F->Offset = getAssembler().getContext().getBaseAddress();
  370|  56.8k|  if (!valid) {
  ------------------
  |  Branch (370:7): [True: 3.83k, False: 52.9k]
  ------------------
  371|  3.83k|      return false;
  372|  3.83k|  }
  373|  52.9k|  LastValidFragment[F->getParent()] = F;
  374|       |
  375|       |  // If bundling is enabled and this fragment has instructions in it, it has to
  376|       |  // obey the bundling restrictions. With padding, we'll have:
  377|       |  //
  378|       |  //
  379|       |  //        BundlePadding
  380|       |  //             |||
  381|       |  // -------------------------------------
  382|       |  //   Prev  |##########|       F        |
  383|       |  // -------------------------------------
  384|       |  //                    ^
  385|       |  //                    |
  386|       |  //                    F->Offset
  387|       |  //
  388|       |  // The fragment's offset will point to after the padding, and its computed
  389|       |  // size won't include the padding.
  390|       |  //
  391|       |  // When the -mc-relax-all flag is used, we optimize bundling by writting the
  392|       |  // padding directly into fragments when the instructions are emitted inside
  393|       |  // the streamer. When the fragment is larger than the bundle size, we need to
  394|       |  // ensure that it's bundle aligned. This means that if we end up with
  395|       |  // multiple fragments, we must emit bundle padding between fragments.
  396|       |  //
  397|       |  // ".align N" is an example of a directive that introduces multiple
  398|       |  // fragments. We could add a special case to handle ".align N" by emitting
  399|       |  // within-fragment padding (which would produce less padding when N is less
  400|       |  // than the bundle size), but for now we don't.
  401|       |  //
  402|  52.9k|  if (Assembler.isBundlingEnabled() && F->hasInstructions()) {
  ------------------
  |  Branch (402:7): [True: 1, False: 52.9k]
  |  Branch (402:40): [True: 0, False: 1]
  ------------------
  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|  52.9k|  return false;
  428|  52.9k|}
_ZN7llvm_ks11MCAssembler14registerSymbolERKNS_8MCSymbolEPb:
  430|   912k|void MCAssembler::registerSymbol(const MCSymbol &Symbol, bool *Created) {
  431|   912k|  bool New = !Symbol.isRegistered();
  432|   912k|  if (Created)
  ------------------
  |  Branch (432:7): [True: 0, False: 912k]
  ------------------
  433|      0|    *Created = New;
  434|   912k|  if (New) {
  ------------------
  |  Branch (434:7): [True: 199k, False: 713k]
  ------------------
  435|   199k|    Symbol.setIsRegistered(true);
  436|   199k|    Symbols.push_back(&Symbol);
  437|   199k|  }
  438|   912k|}
_ZNK7llvm_ks11MCAssembler20writeFragmentPaddingERKNS_10MCFragmentEmPNS_14MCObjectWriterE:
  441|  36.4k|                                       MCObjectWriter *OW) const {
  442|       |  // Should NOP padding be written out before this fragment?
  443|  36.4k|  unsigned BundlePadding = F.getBundlePadding();
  444|  36.4k|  if (BundlePadding > 0) {
  ------------------
  |  Branch (444:7): [True: 0, False: 36.4k]
  ------------------
  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|  36.4k|}
_ZNK7llvm_ks11MCAssembler16writeSectionDataEPKNS_9MCSectionERKNS_11MCAsmLayoutE:
  608|  8.29k|{
  609|       |  // Ignore virtual sections.
  610|  8.29k|  if (Sec->isVirtualSection()) {
  ------------------
  |  Branch (610:7): [True: 35, False: 8.26k]
  ------------------
  611|     35|    assert(Layout.getSectionFileSize(Sec) == 0 && "Invalid size for section!");
  ------------------
  |  Branch (611:5): [True: 35, False: 0]
  |  Branch (611:5): [True: 35, Folded]
  |  Branch (611:5): [True: 35, False: 0]
  ------------------
  612|       |
  613|       |    // Check that contents are only things legal inside a virtual section.
  614|    146|    for (const MCFragment &F : *Sec) {
  ------------------
  |  Branch (614:30): [True: 146, False: 35]
  ------------------
  615|    146|      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: 146]
  ------------------
  617|      0|      case MCFragment::FT_Data: {
  ------------------
  |  Branch (617:7): [True: 0, False: 146]
  ------------------
  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|     73|      case MCFragment::FT_Align:
  ------------------
  |  Branch (634:7): [True: 73, False: 73]
  ------------------
  635|       |        // Check that we aren't trying to write a non-zero value into a virtual
  636|       |        // section.
  637|     73|        assert((cast<MCAlignFragment>(F).getValueSize() == 0 ||
  ------------------
  |  Branch (637:9): [True: 0, False: 73]
  |  Branch (637:9): [True: 73, False: 0]
  |  Branch (637:9): [True: 73, Folded]
  |  Branch (637:9): [True: 73, False: 0]
  ------------------
  638|     73|                cast<MCAlignFragment>(F).getValue() == 0) &&
  639|     73|               "Invalid align in virtual section!");
  640|     73|        break;
  641|     73|      case MCFragment::FT_Fill:
  ------------------
  |  Branch (641:7): [True: 73, False: 73]
  ------------------
  642|     73|        assert((cast<MCFillFragment>(F).getValue() == 0) &&
  ------------------
  |  Branch (642:9): [True: 73, False: 0]
  |  Branch (642:9): [True: 73, Folded]
  |  Branch (642:9): [True: 73, False: 0]
  ------------------
  643|     73|               "Invalid fill in virtual section!");
  644|     73|        break;
  645|    146|      }
  646|    146|    }
  647|       |
  648|     35|    return;
  649|     35|  }
  650|       |
  651|  8.26k|  uint64_t Start = getWriter().getStream().tell();
  652|  8.26k|  (void)Start;
  653|       |
  654|  8.26k|  setError(0);
  655|  8.26k|  for (const MCFragment &F : *Sec)
  ------------------
  |  Branch (655:28): [True: 43.1k, False: 8.26k]
  ------------------
  656|  43.1k|    writeFragment(*this, Layout, F);
  657|       |
  658|       |  //assert(getWriter().getStream().tell() - Start ==
  659|       |  //       Layout.getSectionAddressSize(Sec));
  660|  8.26k|}
_ZN7llvm_ks11MCAssembler11handleFixupERKNS_11MCAsmLayoutERNS_10MCFragmentERKNS_7MCFixupERj:
  664|  13.6k|                                                   const MCFixup &Fixup, unsigned int &KsError) {
  665|       |  // Evaluate the fixup.
  666|  13.6k|  MCValue Target;
  667|  13.6k|  uint64_t FixedValue;
  668|  13.6k|  bool IsPCRel = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
  669|  13.6k|                 MCFixupKindInfo::FKF_IsPCRel;
  670|  13.6k|  if (!evaluateFixup(Layout, Fixup, &F, Target, FixedValue, KsError)) {
  ------------------
  |  Branch (670:7): [True: 8.92k, False: 4.74k]
  ------------------
  671|  8.92k|    if (KsError) {
  ------------------
  |  Branch (671:9): [True: 755, False: 8.17k]
  ------------------
  672|       |        // return a dummy value
  673|    755|        return std::make_pair(0, false);
  674|    755|    }
  675|       |    // The fixup was unresolved, we need a relocation. Inform the object
  676|       |    // writer of the relocation, and give it an opportunity to adjust the
  677|       |    // fixup value if need be.
  678|  8.17k|    if (const MCSymbolRefExpr *RefB = Target.getSymB()) {
  ------------------
  |  Branch (678:32): [True: 4.27k, False: 3.89k]
  ------------------
  679|  4.27k|        if (RefB->getKind() != MCSymbolRefExpr::VK_None) {
  ------------------
  |  Branch (679:13): [True: 3, False: 4.27k]
  ------------------
  680|      3|            KsError = KS_ERR_ASM_FIXUP_INVALID;
  681|       |            // return a dummy value
  682|      3|            return std::make_pair(0, false);
  683|      3|        }
  684|  4.27k|    }
  685|  8.17k|    getWriter().recordRelocation(*this, Layout, &F, Fixup, Target, IsPCRel,
  686|  8.17k|                                 FixedValue);
  687|  8.17k|  }
  688|       |
  689|  12.9k|  return std::make_pair(FixedValue, IsPCRel);
  690|  13.6k|}
_ZN7llvm_ks11MCAssembler6layoutERNS_11MCAsmLayoutERj:
  693|  8.80k|{
  694|  8.80k|  DEBUG_WITH_TYPE("mc-dump", {
  695|  8.80k|      llvm_ks::errs() << "assembler backend - pre-layout\n--\n";
  696|  8.80k|      dump(); });
  697|       |
  698|       |  // Create dummy fragments and assign section ordinals.
  699|  8.80k|  unsigned SectionIndex = 0;
  700|  9.17k|  for (MCSection &Sec : *this) {
  ------------------
  |  Branch (700:23): [True: 9.17k, False: 8.80k]
  ------------------
  701|       |    // Create dummy fragments to eliminate any empty sections, this simplifies
  702|       |    // layout.
  703|  9.17k|    if (Sec.getFragmentList().empty())
  ------------------
  |  Branch (703:9): [True: 0, False: 9.17k]
  ------------------
  704|      0|      new MCDataFragment(&Sec);
  705|       |
  706|  9.17k|    Sec.setOrdinal(SectionIndex++);
  707|  9.17k|  }
  708|       |
  709|       |  // Assign layout order indices to sections and fragments.
  710|  17.9k|  for (unsigned i = 0, e = Layout.getSectionOrder().size(); i != e; ++i) {
  ------------------
  |  Branch (710:61): [True: 9.17k, False: 8.80k]
  ------------------
  711|  9.17k|    MCSection *Sec = Layout.getSectionOrder()[i];
  712|  9.17k|    Sec->setLayoutOrder(i);
  713|       |
  714|  9.17k|    unsigned FragmentIndex = 0;
  715|  9.17k|    for (MCFragment &Frag : *Sec)
  ------------------
  |  Branch (715:27): [True: 52.8k, False: 9.17k]
  ------------------
  716|  52.8k|      Frag.setLayoutOrder(FragmentIndex++);
  717|  9.17k|  }
  718|       |
  719|       |  // Layout until everything fits.
  720|  9.04k|  while (layoutOnce(Layout))
  ------------------
  |  Branch (720:10): [True: 236, False: 8.80k]
  ------------------
  721|    236|    continue;
  722|       |
  723|  8.80k|  DEBUG_WITH_TYPE("mc-dump", {
  724|  8.80k|      llvm_ks::errs() << "assembler backend - post-relaxation\n--\n";
  725|  8.80k|      dump(); });
  726|       |
  727|       |  // Finalize the layout, including fragment lowering.
  728|  8.80k|  finishLayout(Layout);
  729|       |
  730|  8.80k|  DEBUG_WITH_TYPE("mc-dump", {
  731|  8.80k|      llvm_ks::errs() << "assembler backend - final-layout\n--\n";
  732|  8.80k|      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|  8.80k|  getWriter().executePostLayoutBinding(*this, Layout);
  737|       |
  738|       |  // Evaluate and apply the fixups, generating relocation entries as necessary.
  739|  9.17k|  for (MCSection &Sec : *this) {
  ------------------
  |  Branch (739:23): [True: 9.17k, False: 7.94k]
  ------------------
  740|  44.3k|    for (MCFragment &Frag : Sec) {
  ------------------
  |  Branch (740:27): [True: 44.3k, False: 8.30k]
  ------------------
  741|  44.3k|      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|  44.3k|      if (!F || isa<MCCompactEncodedInstFragment>(F))
  ------------------
  |  Branch (746:11): [True: 32.6k, False: 11.6k]
  |  Branch (746:17): [True: 0, False: 11.6k]
  ------------------
  747|  32.6k|        continue;
  748|  11.6k|      ArrayRef<MCFixup> Fixups;
  749|  11.6k|      MutableArrayRef<char> Contents;
  750|  11.6k|      if (auto *FragWithFixups = dyn_cast<MCDataFragment>(F)) {
  ------------------
  |  Branch (750:17): [True: 9.71k, False: 1.93k]
  ------------------
  751|  9.71k|        Fixups = FragWithFixups->getFixups();
  752|  9.71k|        Contents = FragWithFixups->getContents();
  753|  9.71k|      } else if (auto *FragWithFixups = dyn_cast<MCRelaxableFragment>(F)) {
  ------------------
  |  Branch (753:24): [True: 1.93k, False: 0]
  ------------------
  754|  1.93k|        Fixups = FragWithFixups->getFixups();
  755|  1.93k|        Contents = FragWithFixups->getContents();
  756|  1.93k|      } else
  757|      0|        llvm_unreachable("Unknown fragment with fixups!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  758|  13.6k|      for (const MCFixup &Fixup : Fixups) {
  ------------------
  |  Branch (758:33): [True: 13.6k, False: 10.7k]
  ------------------
  759|  13.6k|        uint64_t FixedValue;
  760|  13.6k|        bool IsPCRel;
  761|  13.6k|        std::tie(FixedValue, IsPCRel) = handleFixup(Layout, *F, Fixup, KsError);
  762|  13.6k|        if (KsError)
  ------------------
  |  Branch (762:13): [True: 758, False: 12.9k]
  ------------------
  763|    758|            return;
  764|  12.9k|        getBackend().applyFixup(Fixup, Contents.data(),
  765|  12.9k|                                Contents.size(), FixedValue, IsPCRel, KsError);
  766|  12.9k|        if (KsError)
  ------------------
  |  Branch (766:13): [True: 110, False: 12.8k]
  ------------------
  767|    110|            return;
  768|  12.9k|      }
  769|  11.6k|    }
  770|  9.17k|  }
  771|  8.80k|}
_ZN7llvm_ks11MCAssembler6FinishERj:
  773|  8.80k|void MCAssembler::Finish(unsigned int &KsError) {
  774|       |  // Create the layout object.
  775|  8.80k|  MCAsmLayout Layout(*this);
  776|  8.80k|  layout(Layout, KsError);
  777|       |
  778|       |  // Write the object file.
  779|  8.80k|  if (!KsError) {
  ------------------
  |  Branch (779:7): [True: 7.94k, False: 868]
  ------------------
  780|  7.94k|      getWriter().writeObject(*this, Layout);
  781|  7.94k|      KsError = getError();
  782|  7.94k|  }
  783|  8.80k|}
_ZNK7llvm_ks11MCAssembler20fixupNeedsRelaxationERKNS_7MCFixupEPKNS_19MCRelaxableFragmentERKNS_11MCAsmLayoutERj:
  788|  7.67k|{
  789|  7.67k|  MCValue Target;
  790|  7.67k|  uint64_t Value;
  791|  7.67k|  bool Resolved = evaluateFixup(Layout, Fixup, DF, Target, Value, KsError);
  792|  7.67k|  if (KsError) {
  ------------------
  |  Branch (792:7): [True: 869, False: 6.80k]
  ------------------
  793|    869|      KsError = KS_ERR_ASM_FIXUP_INVALID;
  794|       |      // return a dummy value
  795|    869|      return false;
  796|    869|  }
  797|  6.80k|  return getBackend().fixupNeedsRelaxationAdvanced(Fixup, Resolved, Value, DF,
  798|  6.80k|                                                   Layout);
  799|  7.67k|}
_ZNK7llvm_ks11MCAssembler23fragmentNeedsRelaxationEPKNS_19MCRelaxableFragmentERKNS_11MCAsmLayoutERj:
  803|  16.1k|{
  804|       |  // If this inst doesn't ever need relaxation, ignore it. This occurs when we
  805|       |  // are intentionally pushing out inst fragments, or because we relaxed a
  806|       |  // previous instruction to one that doesn't need relaxation.
  807|  16.1k|  if (!getBackend().mayNeedRelaxation(F->getInst()))
  ------------------
  |  Branch (807:7): [True: 8.47k, False: 7.69k]
  ------------------
  808|  8.47k|    return false;
  809|       |
  810|  7.69k|  for (const MCFixup &Fixup : F->getFixups())
  ------------------
  |  Branch (810:29): [True: 7.67k, False: 3.45k]
  ------------------
  811|  7.67k|    if (fixupNeedsRelaxation(Fixup, F, Layout, KsError))
  ------------------
  |  Branch (811:9): [True: 4.23k, False: 3.44k]
  ------------------
  812|  4.23k|      return true;
  813|       |
  814|  3.45k|  return false;
  815|  7.69k|}
_ZN7llvm_ks11MCAssembler16relaxInstructionERNS_11MCAsmLayoutERNS_19MCRelaxableFragmentE:
  819|  16.1k|{
  820|  16.1k|  unsigned KsError = 0;
  821|  16.1k|  if (!fragmentNeedsRelaxation(&F, Layout, KsError))
  ------------------
  |  Branch (821:7): [True: 11.9k, False: 4.23k]
  ------------------
  822|  11.9k|    return false;
  823|       |
  824|       |  // FIXME-PERF: We could immediately lower out instructions if we can tell
  825|       |  // they are fully resolved, to avoid retesting on later passes.
  826|       |
  827|       |  // Relax the fragment.
  828|       |
  829|  4.23k|  MCInst Relaxed;
  830|  4.23k|  getBackend().relaxInstruction(F.getInst(), Relaxed);
  831|       |
  832|       |  // Encode the new instruction.
  833|       |  //
  834|       |  // FIXME-PERF: If it matters, we could let the target do this. It can
  835|       |  // probably do so more efficiently in many cases.
  836|  4.23k|  SmallVector<MCFixup, 4> Fixups;
  837|  4.23k|  SmallString<256> Code;
  838|  4.23k|  raw_svector_ostream VecOS(Code);
  839|  4.23k|  getEmitter().encodeInstruction(Relaxed, VecOS, Fixups, F.getSubtargetInfo(), KsError);
  840|       |
  841|       |  // Update the fragment.
  842|  4.23k|  F.setInst(Relaxed);
  843|  4.23k|  F.getContents() = Code;
  844|  4.23k|  F.getFixups() = Fixups;
  845|       |
  846|  4.23k|  return true;
  847|  16.1k|}
_ZN7llvm_ks11MCAssembler17layoutSectionOnceERNS_11MCAsmLayoutERNS_9MCSectionE:
  876|  9.65k|{
  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|  9.65k|  MCFragment *FirstRelaxedFragment = nullptr;
  882|       |
  883|       |  // Attempt to relax all the fragments in the section.
  884|  78.1k|  for (MCSection::iterator I = Sec.begin(), IE = Sec.end(); I != IE; ++I) {
  ------------------
  |  Branch (884:61): [True: 68.5k, False: 9.65k]
  ------------------
  885|       |    // Check if this is a fragment that needs relaxation.
  886|  68.5k|    bool RelaxedFrag = false;
  887|  68.5k|    switch(I->getKind()) {
  888|  52.3k|    default:
  ------------------
  |  Branch (888:5): [True: 52.3k, False: 16.1k]
  ------------------
  889|  52.3k|      break;
  890|  52.3k|    case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (890:5): [True: 16.1k, False: 52.3k]
  ------------------
  891|  16.1k|      assert(!getRelaxAll() &&
  ------------------
  |  Branch (891:7): [True: 16.1k, False: 0]
  |  Branch (891:7): [True: 16.1k, Folded]
  |  Branch (891:7): [True: 16.1k, False: 0]
  ------------------
  892|  16.1k|             "Did not expect a MCRelaxableFragment in RelaxAll mode");
  893|  16.1k|      RelaxedFrag = relaxInstruction(Layout, *cast<MCRelaxableFragment>(I));
  894|  16.1k|      break;
  895|      0|    case MCFragment::FT_Dwarf:
  ------------------
  |  Branch (895:5): [True: 0, False: 68.5k]
  ------------------
  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: 68.5k]
  ------------------
  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: 68.5k]
  ------------------
  905|      0|      RelaxedFrag = relaxLEB(Layout, *cast<MCLEBFragment>(I));
  906|      0|      break;
  907|  68.5k|    }
  908|  68.5k|    if (RelaxedFrag && !FirstRelaxedFragment)
  ------------------
  |  Branch (908:9): [True: 4.23k, False: 64.3k]
  |  Branch (908:24): [True: 236, False: 4.00k]
  ------------------
  909|    236|      FirstRelaxedFragment = &*I;
  910|  68.5k|  }
  911|  9.65k|  if (FirstRelaxedFragment) {
  ------------------
  |  Branch (911:7): [True: 236, False: 9.41k]
  ------------------
  912|    236|    Layout.invalidateFragmentsFrom(FirstRelaxedFragment);
  913|    236|    return true;
  914|    236|  }
  915|  9.41k|  return false;
  916|  9.65k|}
_ZN7llvm_ks11MCAssembler10layoutOnceERNS_11MCAsmLayoutE:
  919|  9.04k|{
  920|  9.04k|  bool WasRelaxed = false;
  921|  18.4k|  for (iterator it = begin(), ie = end(); it != ie; ++it) {
  ------------------
  |  Branch (921:43): [True: 9.41k, False: 9.04k]
  ------------------
  922|  9.41k|    MCSection &Sec = *it;
  923|  9.65k|    while (layoutSectionOnce(Layout, Sec))
  ------------------
  |  Branch (923:12): [True: 236, False: 9.41k]
  ------------------
  924|    236|      WasRelaxed = true;
  925|  9.41k|  }
  926|       |
  927|  9.04k|  return WasRelaxed;
  928|  9.04k|}
_ZN7llvm_ks11MCAssembler12finishLayoutERNS_11MCAsmLayoutE:
  930|  8.80k|void MCAssembler::finishLayout(MCAsmLayout &Layout) {
  931|       |  // The layout is done. Mark every fragment as valid.
  932|  17.9k|  for (unsigned int i = 0, n = Layout.getSectionOrder().size(); i != n; ++i) {
  ------------------
  |  Branch (932:65): [True: 9.17k, False: 8.80k]
  ------------------
  933|  9.17k|    bool valid;
  934|  9.17k|    Layout.getFragmentOffset(&*Layout.getSectionOrder()[i]->rbegin(), valid);
  935|  9.17k|  }
  936|  8.80k|}
MCAssembler.cpp:_ZL13writeFragmentRKN7llvm_ks11MCAssemblerERKNS_11MCAsmLayoutERKNS_10MCFragmentE:
  475|  43.1k|{
  476|  43.1k|  if (Asm.getError())
  ------------------
  |  Branch (476:7): [True: 6.42k, False: 36.7k]
  ------------------
  477|  6.42k|      return;
  478|       |
  479|  36.7k|  MCObjectWriter *OW = &Asm.getWriter();
  480|       |
  481|  36.7k|  bool valid;
  482|       |  // FIXME: Embed in fragments instead?
  483|  36.7k|  uint64_t FragmentSize = Asm.computeFragmentSize(Layout, F, valid);
  484|  36.7k|  if (!valid) {
  ------------------
  |  Branch (484:7): [True: 348, False: 36.4k]
  ------------------
  485|    348|      Asm.setError(KS_ERR_ASM_FRAGMENT_INVALID);
  486|    348|      return;
  487|    348|  }
  488|       |
  489|  36.4k|  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|  36.4k|  uint64_t Start = OW->getStream().tell();
  494|  36.4k|  (void) Start;
  495|       |
  496|  36.4k|  switch (F.getKind()) {
  ------------------
  |  Branch (496:11): [True: 36.4k, False: 0]
  ------------------
  497|  18.4k|  case MCFragment::FT_Align: {
  ------------------
  |  Branch (497:3): [True: 18.4k, False: 17.9k]
  ------------------
  498|  18.4k|    const MCAlignFragment &AF = cast<MCAlignFragment>(F);
  499|  18.4k|    assert(AF.getValueSize() && "Invalid virtual align in concrete fragment!");
  ------------------
  |  Branch (499:5): [True: 18.4k, False: 0]
  |  Branch (499:5): [True: 18.4k, Folded]
  |  Branch (499:5): [True: 18.4k, False: 0]
  ------------------
  500|       |
  501|  18.4k|    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|  18.4k|    if (Count * AF.getValueSize() != FragmentSize)
  ------------------
  |  Branch (506:9): [True: 0, False: 18.4k]
  ------------------
  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|  18.4k|    if (AF.hasEmitNops()) {
  ------------------
  |  Branch (516:9): [True: 917, False: 17.5k]
  ------------------
  517|    917|      if (!Asm.getBackend().writeNopData(Count, OW))
  ------------------
  |  Branch (517:11): [True: 0, False: 917]
  ------------------
  518|      0|        report_fatal_error("unable to write nop sequence of " +
  519|      0|                          Twine(Count) + " bytes");
  520|    917|      break;
  521|    917|    }
  522|       |
  523|       |    // Otherwise, write out in multiples of the value size.
  524|  17.7k|    for (uint64_t i = 0; i != Count; ++i) {
  ------------------
  |  Branch (524:26): [True: 214, False: 17.5k]
  ------------------
  525|    214|      switch (AF.getValueSize()) {
  526|      0|      default: llvm_unreachable("Invalid size!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (526:7): [True: 0, False: 214]
  ------------------
  527|    214|      case 1: OW->write8 (uint8_t (AF.getValue())); break;
  ------------------
  |  Branch (527:7): [True: 214, False: 0]
  ------------------
  528|      0|      case 2: OW->write16(uint16_t(AF.getValue())); break;
  ------------------
  |  Branch (528:7): [True: 0, False: 214]
  ------------------
  529|      0|      case 4: OW->write32(uint32_t(AF.getValue())); break;
  ------------------
  |  Branch (529:7): [True: 0, False: 214]
  ------------------
  530|      0|      case 8: OW->write64(uint64_t(AF.getValue())); break;
  ------------------
  |  Branch (530:7): [True: 0, False: 214]
  ------------------
  531|    214|      }
  532|    214|    }
  533|  17.5k|    break;
  534|  17.5k|  }
  535|       |
  536|  17.5k|  case MCFragment::FT_Data: 
  ------------------
  |  Branch (536:3): [True: 8.46k, False: 27.9k]
  ------------------
  537|  8.46k|    OW->writeBytes(cast<MCDataFragment>(F).getContents());
  538|  8.46k|    break;
  539|       |
  540|  1.64k|  case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (540:3): [True: 1.64k, False: 34.7k]
  ------------------
  541|  1.64k|    OW->writeBytes(cast<MCRelaxableFragment>(F).getContents());
  542|  1.64k|    break;
  543|       |
  544|      0|  case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (544:3): [True: 0, False: 36.4k]
  ------------------
  545|      0|    OW->writeBytes(cast<MCCompactEncodedInstFragment>(F).getContents());
  546|      0|    break;
  547|       |
  548|  5.01k|  case MCFragment::FT_Fill: {
  ------------------
  |  Branch (548:3): [True: 5.01k, False: 31.3k]
  ------------------
  549|  5.01k|    const MCFillFragment &FF = cast<MCFillFragment>(F);
  550|  5.01k|    uint8_t V = FF.getValue();
  551|  5.01k|    const unsigned MaxChunkSize = 16;
  552|  5.01k|    char Data[MaxChunkSize];
  553|  5.01k|    memcpy(Data, &V, 1);
  554|  80.2k|    for (unsigned I = 1; I < MaxChunkSize; ++I)
  ------------------
  |  Branch (554:26): [True: 75.2k, False: 5.01k]
  ------------------
  555|  75.2k|      Data[I] = Data[0];
  556|       |
  557|  5.01k|    uint64_t Size = FF.getSize();
  558|  30.0k|    for (unsigned ChunkSize = MaxChunkSize; ChunkSize; ChunkSize /= 2) {
  ------------------
  |  Branch (558:45): [True: 25.0k, False: 5.01k]
  ------------------
  559|  25.0k|      StringRef Ref(Data, ChunkSize);
  560|  2.48M|      for (uint64_t I = 0, E = Size / ChunkSize; I != E; ++I)
  ------------------
  |  Branch (560:50): [True: 2.46M, False: 25.0k]
  ------------------
  561|  2.46M|        OW->writeBytes(Ref);
  562|  25.0k|      Size = Size % ChunkSize;
  563|  25.0k|    }
  564|  5.01k|    break;
  565|  17.5k|  }
  566|       |
  567|      0|  case MCFragment::FT_LEB: {
  ------------------
  |  Branch (567:3): [True: 0, False: 36.4k]
  ------------------
  568|      0|    const MCLEBFragment &LF = cast<MCLEBFragment>(F);
  569|      0|    OW->writeBytes(LF.getContents());
  570|      0|    break;
  571|  17.5k|  }
  572|       |
  573|      0|  case MCFragment::FT_SafeSEH: {
  ------------------
  |  Branch (573:3): [True: 0, False: 36.4k]
  ------------------
  574|      0|    const MCSafeSEHFragment &SF = cast<MCSafeSEHFragment>(F);
  575|      0|    OW->write32(SF.getSymbol()->getIndex());
  576|      0|    break;
  577|  17.5k|  }
  578|       |
  579|  2.83k|  case MCFragment::FT_Org: {
  ------------------
  |  Branch (579:3): [True: 2.83k, False: 33.5k]
  ------------------
  580|  2.83k|    const MCOrgFragment &OF = cast<MCOrgFragment>(F);
  581|       |
  582|  97.6M|    for (uint64_t i = 0, e = FragmentSize; i != e; ++i)
  ------------------
  |  Branch (582:44): [True: 97.6M, False: 2.83k]
  ------------------
  583|  97.6M|      OW->write8(uint8_t(OF.getValue()));
  584|       |
  585|  2.83k|    break;
  586|  17.5k|  }
  587|       |
  588|      0|  case MCFragment::FT_Dwarf: {
  ------------------
  |  Branch (588:3): [True: 0, False: 36.4k]
  ------------------
  589|      0|    const MCDwarfLineAddrFragment &OF = cast<MCDwarfLineAddrFragment>(F);
  590|      0|    OW->writeBytes(OF.getContents());
  591|      0|    break;
  592|  17.5k|  }
  593|      0|  case MCFragment::FT_DwarfFrame: {
  ------------------
  |  Branch (593:3): [True: 0, False: 36.4k]
  ------------------
  594|      0|    const MCDwarfCallFrameFragment &CF = cast<MCDwarfCallFrameFragment>(F);
  595|      0|    OW->writeBytes(CF.getContents());
  596|      0|    break;
  597|  17.5k|  }
  598|      0|  case MCFragment::FT_Dummy:
  ------------------
  |  Branch (598:3): [True: 0, False: 36.4k]
  ------------------
  599|      0|    llvm_unreachable("Should not have been added");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  600|  36.4k|  }
  601|       |
  602|  36.4k|  assert(OW->getStream().tell() - Start == FragmentSize &&
  ------------------
  |  Branch (602:3): [True: 36.4k, False: 0]
  |  Branch (602:3): [True: 36.4k, Folded]
  |  Branch (602:3): [True: 36.4k, False: 0]
  ------------------
  603|  36.4k|         "The stream should advance by fragment size");
  604|  36.4k|}

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

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

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

_ZNK7llvm_ks13MCELFStreamer14isBundleLockedEv:
   43|  70.3k|bool MCELFStreamer::isBundleLocked() const {
   44|  70.3k|  return getCurrentSectionOnly()->isBundleLocked();
   45|  70.3k|}
_ZN7llvm_ks13MCELFStreamerD2Ev:
   47|  19.0k|MCELFStreamer::~MCELFStreamer() {
   48|  19.0k|}
_ZN7llvm_ks13MCELFStreamer12InitSectionsEb:
   91|  19.0k|void MCELFStreamer::InitSections(bool NoExecStack) {
   92|  19.0k|  MCContext &Ctx = getContext();
   93|  19.0k|  SwitchSection(Ctx.getObjectFileInfo()->getTextSection());
   94|       |
   95|  19.0k|  if (NoExecStack)
  ------------------
  |  Branch (95:7): [True: 0, False: 19.0k]
  ------------------
   96|      0|    SwitchSection(Ctx.getAsmInfo()->getNonexecutableStackSection(Ctx));
   97|  19.0k|}
_ZN7llvm_ks13MCELFStreamer9EmitLabelEPNS_8MCSymbolE:
   99|   192k|void MCELFStreamer::EmitLabel(MCSymbol *S) {
  100|   192k|  auto *Symbol = cast<MCSymbolELF>(S);
  101|   192k|  assert(Symbol->isUndefined() && "Cannot define a symbol twice!");
  ------------------
  |  Branch (101:3): [True: 192k, False: 0]
  |  Branch (101:3): [True: 192k, Folded]
  |  Branch (101:3): [True: 192k, False: 0]
  ------------------
  102|       |
  103|   192k|  MCObjectStreamer::EmitLabel(Symbol);
  104|       |
  105|   192k|  const MCSectionELF &Section =
  106|   192k|      static_cast<const MCSectionELF &>(*getCurrentSectionOnly());
  107|   192k|  if (Section.getFlags() & ELF::SHF_TLS)
  ------------------
  |  Branch (107:7): [True: 409, False: 192k]
  ------------------
  108|    409|    Symbol->setType(ELF::STT_TLS);
  109|   192k|}
_ZN7llvm_ks13MCELFStreamer17EmitAssemblerFlagENS_15MCAssemblerFlagE:
  111|    675|void MCELFStreamer::EmitAssemblerFlag(MCAssemblerFlag Flag) {
  112|       |  // Let the target do whatever target specific stuff it needs to do.
  113|    675|  getAssembler().getBackend().handleAssemblerFlag(Flag);
  114|       |  // Do any generic stuff we need to do.
  115|    675|  switch (Flag) {
  ------------------
  |  Branch (115:11): [True: 675, False: 0]
  ------------------
  116|      0|  case MCAF_SyntaxUnified: return; // no-op here.
  ------------------
  |  Branch (116:3): [True: 0, False: 675]
  ------------------
  117|     16|  case MCAF_Code16: return; // Change parsing mode; no-op here.
  ------------------
  |  Branch (117:3): [True: 16, False: 659]
  ------------------
  118|    206|  case MCAF_Code32: return; // Change parsing mode; no-op here.
  ------------------
  |  Branch (118:3): [True: 206, False: 469]
  ------------------
  119|    453|  case MCAF_Code64: return; // Change parsing mode; no-op here.
  ------------------
  |  Branch (119:3): [True: 453, False: 222]
  ------------------
  120|      0|  case MCAF_SubsectionsViaSymbols:
  ------------------
  |  Branch (120:3): [True: 0, False: 675]
  ------------------
  121|      0|    getAssembler().setSubsectionsViaSymbols(true);
  122|      0|    return;
  123|    675|  }
  124|       |
  125|      0|  llvm_unreachable("invalid assembler flag!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  126|    675|}
_ZN7llvm_ks13MCELFStreamer13ChangeSectionEPNS_9MCSectionEPKNS_6MCExprE:
  138|  20.5k|                                  const MCExpr *Subsection) {
  139|  20.5k|  MCSection *CurSection = getCurrentSectionOnly();
  140|  20.5k|  if (CurSection && isBundleLocked())
  ------------------
  |  Branch (140:7): [True: 1.54k, False: 19.0k]
  |  Branch (140:21): [True: 0, False: 1.54k]
  ------------------
  141|      0|    report_fatal_error("Unterminated .bundle_lock when changing a section");
  142|       |
  143|  20.5k|  MCAssembler &Asm = getAssembler();
  144|       |  // Ensure the previous section gets aligned if necessary.
  145|  20.5k|  setSectionAlignmentForBundling(Asm, CurSection);
  146|  20.5k|  auto *SectionELF = static_cast<const MCSectionELF *>(Section);
  147|  20.5k|  const MCSymbol *Grp = SectionELF->getGroup();
  148|  20.5k|  if (Grp)
  ------------------
  |  Branch (148:7): [True: 0, False: 20.5k]
  ------------------
  149|      0|    Asm.registerSymbol(*Grp);
  150|       |
  151|  20.5k|  this->MCObjectStreamer::ChangeSection(Section, Subsection);
  152|  20.5k|  MCContext &Ctx = getContext();
  153|  20.5k|  auto *Begin = cast_or_null<MCSymbolELF>(Section->getBeginSymbol());
  154|  20.5k|  if (!Begin) {
  ------------------
  |  Branch (154:7): [True: 19.5k, False: 1.06k]
  ------------------
  155|  19.5k|    Begin = Ctx.getOrCreateSectionSymbol(*SectionELF);
  156|  19.5k|    Section->setBeginSymbol(Begin);
  157|  19.5k|  }
  158|  20.5k|  if (Begin->isUndefined()) {
  ------------------
  |  Branch (158:7): [True: 19.5k, False: 1.06k]
  ------------------
  159|  19.5k|    Asm.registerSymbol(*Begin);
  160|  19.5k|    Begin->setType(ELF::STT_SECTION);
  161|  19.5k|  }
  162|  20.5k|}
_ZN7llvm_ks13MCELFStreamer19EmitSymbolAttributeEPNS_8MCSymbolENS_12MCSymbolAttrE:
  193|    100|bool MCELFStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
  194|    100|  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|    100|  if (Attribute == MCSA_IndirectSymbol) {
  ------------------
  |  Branch (197:7): [True: 0, False: 100]
  ------------------
  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|    100|  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|    100|  switch (Attribute) {
  ------------------
  |  Branch (218:11): [True: 100, False: 0]
  ------------------
  219|      0|  case MCSA_LazyReference:
  ------------------
  |  Branch (219:3): [True: 0, False: 100]
  ------------------
  220|      0|  case MCSA_Reference:
  ------------------
  |  Branch (220:3): [True: 0, False: 100]
  ------------------
  221|      0|  case MCSA_SymbolResolver:
  ------------------
  |  Branch (221:3): [True: 0, False: 100]
  ------------------
  222|      0|  case MCSA_PrivateExtern:
  ------------------
  |  Branch (222:3): [True: 0, False: 100]
  ------------------
  223|      0|  case MCSA_WeakDefinition:
  ------------------
  |  Branch (223:3): [True: 0, False: 100]
  ------------------
  224|      0|  case MCSA_WeakDefAutoPrivate:
  ------------------
  |  Branch (224:3): [True: 0, False: 100]
  ------------------
  225|      0|  case MCSA_Invalid:
  ------------------
  |  Branch (225:3): [True: 0, False: 100]
  ------------------
  226|      0|  case MCSA_IndirectSymbol:
  ------------------
  |  Branch (226:3): [True: 0, False: 100]
  ------------------
  227|      0|    return false;
  228|       |
  229|     10|  case MCSA_NoDeadStrip:
  ------------------
  |  Branch (229:3): [True: 10, False: 90]
  ------------------
  230|       |    // Ignore for now.
  231|     10|    break;
  232|       |
  233|      0|  case MCSA_ELF_TypeGnuUniqueObject:
  ------------------
  |  Branch (233:3): [True: 0, False: 100]
  ------------------
  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|     90|  case MCSA_Global:
  ------------------
  |  Branch (239:3): [True: 90, False: 10]
  ------------------
  240|     90|    Symbol->setBinding(ELF::STB_GLOBAL);
  241|     90|    Symbol->setExternal(true);
  242|     90|    break;
  243|       |
  244|      0|  case MCSA_WeakReference:
  ------------------
  |  Branch (244:3): [True: 0, False: 100]
  ------------------
  245|      0|  case MCSA_Weak:
  ------------------
  |  Branch (245:3): [True: 0, False: 100]
  ------------------
  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: 100]
  ------------------
  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: 100]
  ------------------
  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: 100]
  ------------------
  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: 100]
  ------------------
  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: 100]
  ------------------
  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: 100]
  ------------------
  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: 100]
  ------------------
  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: 100]
  ------------------
  281|      0|    Symbol->setVisibility(ELF::STV_PROTECTED);
  282|      0|    break;
  283|       |
  284|      0|  case MCSA_Hidden:
  ------------------
  |  Branch (284:3): [True: 0, False: 100]
  ------------------
  285|      0|    Symbol->setVisibility(ELF::STV_HIDDEN);
  286|      0|    break;
  287|       |
  288|      0|  case MCSA_Internal:
  ------------------
  |  Branch (288:3): [True: 0, False: 100]
  ------------------
  289|      0|    Symbol->setVisibility(ELF::STV_INTERNAL);
  290|      0|    break;
  291|    100|  }
  292|       |
  293|    100|  return true;
  294|    100|}
_ZN7llvm_ks13MCELFStreamer16EmitCommonSymbolEPNS_8MCSymbolEmj:
  297|    930|                                     unsigned ByteAlignment) {
  298|    930|  auto *Symbol = cast<MCSymbolELF>(S);
  299|    930|  getAssembler().registerSymbol(*Symbol);
  300|       |
  301|    930|  if (!Symbol->isBindingSet()) {
  ------------------
  |  Branch (301:7): [True: 89, False: 841]
  ------------------
  302|     89|    Symbol->setBinding(ELF::STB_GLOBAL);
  303|     89|    Symbol->setExternal(true);
  304|     89|  }
  305|       |
  306|    930|  Symbol->setType(ELF::STT_OBJECT);
  307|       |
  308|    930|  if (Symbol->getBinding() == ELF::STB_LOCAL) {
  ------------------
  |  Branch (308:7): [True: 78, False: 852]
  ------------------
  309|     78|    MCSection &Section = *getAssembler().getContext().getELFSection(
  310|     78|        ".bss", ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC);
  311|     78|    MCSectionSubPair P = getCurrentSection();
  312|     78|    SwitchSection(&Section);
  313|       |
  314|     78|    EmitValueToAlignment(ByteAlignment, 0, 1, 0);
  315|     78|    EmitLabel(Symbol);
  316|     78|    EmitZeros(Size);
  317|       |
  318|       |    // Update the maximum alignment of the section if necessary.
  319|     78|    if (ByteAlignment > Section.getAlignment())
  ------------------
  |  Branch (319:9): [True: 0, False: 78]
  ------------------
  320|      0|      Section.setAlignment(ByteAlignment);
  321|       |
  322|     78|    SwitchSection(P.first, P.second);
  323|    852|  } else {
  324|    852|    if(Symbol->declareCommon(Size, ByteAlignment))
  ------------------
  |  Branch (324:8): [True: 0, False: 852]
  ------------------
  325|      0|      report_fatal_error("Symbol: " + Symbol->getName() +
  326|      0|                         " redeclared as different type");
  327|    852|  }
  328|       |
  329|    930|  cast<MCSymbolELF>(Symbol)
  330|    930|      ->setSize(MCConstantExpr::create(Size, getContext()));
  331|    930|}
_ZN7llvm_ks13MCELFStreamer21EmitLocalCommonSymbolEPNS_8MCSymbolEmj:
  338|     78|                                          unsigned ByteAlignment) {
  339|     78|  auto *Symbol = cast<MCSymbolELF>(S);
  340|       |  // FIXME: Should this be caught and done earlier?
  341|     78|  getAssembler().registerSymbol(*Symbol);
  342|     78|  Symbol->setBinding(ELF::STB_LOCAL);
  343|     78|  Symbol->setExternal(false);
  344|     78|  EmitCommonSymbol(Symbol, Size, ByteAlignment);
  345|     78|}
_ZN7llvm_ks13MCELFStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  348|  48.8k|                                  SMLoc Loc) {
  349|  48.8k|  if (isBundleLocked())
  ------------------
  |  Branch (349:7): [True: 0, False: 48.8k]
  ------------------
  350|      0|    report_fatal_error("Emitting values inside a locked bundle is forbidden");
  351|  48.8k|  fixSymbolsInTLSFixups(Value);
  352|  48.8k|  MCObjectStreamer::EmitValueImpl(Value, Size, Loc);
  353|  48.8k|}
_ZN7llvm_ks13MCELFStreamer20EmitValueToAlignmentEjljj:
  358|  19.9k|                                         unsigned MaxBytesToEmit) {
  359|  19.9k|  if (isBundleLocked())
  ------------------
  |  Branch (359:7): [True: 0, False: 19.9k]
  ------------------
  360|      0|    report_fatal_error("Emitting values inside a locked bundle is forbidden");
  361|  19.9k|  MCObjectStreamer::EmitValueToAlignment(ByteAlignment, Value,
  362|  19.9k|                                         ValueSize, MaxBytesToEmit);
  363|  19.9k|}
_ZN7llvm_ks13MCELFStreamer17EmitFileDirectiveENS_9StringRefE:
  368|  9.28k|void MCELFStreamer::EmitFileDirective(StringRef Filename) {
  369|  9.28k|  getAssembler().addFileName(Filename);
  370|  9.28k|}
_ZN7llvm_ks13MCELFStreamer21fixSymbolsInTLSFixupsEPKNS_6MCExprE:
  387|   284k|void MCELFStreamer::fixSymbolsInTLSFixups(const MCExpr *expr) {
  388|   284k|  switch (expr->getKind()) {
  ------------------
  |  Branch (388:11): [True: 284k, False: 0]
  ------------------
  389|      0|  case MCExpr::Target:
  ------------------
  |  Branch (389:3): [True: 0, False: 284k]
  ------------------
  390|      0|    cast<MCTargetExpr>(expr)->fixELFSymbolsInTLSFixups(getAssembler());
  391|      0|    break;
  392|  59.8k|  case MCExpr::Constant:
  ------------------
  |  Branch (392:3): [True: 59.8k, False: 224k]
  ------------------
  393|  59.8k|    break;
  394|       |
  395|  93.3k|  case MCExpr::Binary: {
  ------------------
  |  Branch (395:3): [True: 93.3k, False: 190k]
  ------------------
  396|  93.3k|    const MCBinaryExpr *be = cast<MCBinaryExpr>(expr);
  397|  93.3k|    fixSymbolsInTLSFixups(be->getLHS());
  398|  93.3k|    fixSymbolsInTLSFixups(be->getRHS());
  399|  93.3k|    break;
  400|      0|  }
  401|       |
  402|  98.3k|  case MCExpr::SymbolRef: {
  ------------------
  |  Branch (402:3): [True: 98.3k, False: 185k]
  ------------------
  403|  98.3k|    const MCSymbolRefExpr &symRef = *cast<MCSymbolRefExpr>(expr);
  404|  98.3k|    switch (symRef.getKind()) {
  405|  93.5k|    default:
  ------------------
  |  Branch (405:5): [True: 93.5k, False: 4.76k]
  ------------------
  406|  93.5k|      return;
  407|  93.5k|    case MCSymbolRefExpr::VK_GOTTPOFF:
  ------------------
  |  Branch (407:5): [True: 69, False: 98.2k]
  ------------------
  408|    142|    case MCSymbolRefExpr::VK_INDNTPOFF:
  ------------------
  |  Branch (408:5): [True: 73, False: 98.2k]
  ------------------
  409|    215|    case MCSymbolRefExpr::VK_NTPOFF:
  ------------------
  |  Branch (409:5): [True: 73, False: 98.2k]
  ------------------
  410|    416|    case MCSymbolRefExpr::VK_GOTNTPOFF:
  ------------------
  |  Branch (410:5): [True: 201, False: 98.1k]
  ------------------
  411|    455|    case MCSymbolRefExpr::VK_TLSGD:
  ------------------
  |  Branch (411:5): [True: 39, False: 98.2k]
  ------------------
  412|    537|    case MCSymbolRefExpr::VK_TLSLD:
  ------------------
  |  Branch (412:5): [True: 82, False: 98.2k]
  ------------------
  413|    796|    case MCSymbolRefExpr::VK_TLSLDM:
  ------------------
  |  Branch (413:5): [True: 259, False: 98.0k]
  ------------------
  414|    895|    case MCSymbolRefExpr::VK_TPOFF:
  ------------------
  |  Branch (414:5): [True: 99, False: 98.2k]
  ------------------
  415|    895|    case MCSymbolRefExpr::VK_TPREL:
  ------------------
  |  Branch (415:5): [True: 0, False: 98.3k]
  ------------------
  416|  1.01k|    case MCSymbolRefExpr::VK_DTPOFF:
  ------------------
  |  Branch (416:5): [True: 123, False: 98.1k]
  ------------------
  417|  1.01k|    case MCSymbolRefExpr::VK_DTPREL:
  ------------------
  |  Branch (417:5): [True: 0, False: 98.3k]
  ------------------
  418|  1.01k|    case MCSymbolRefExpr::VK_Mips_TLSGD:
  ------------------
  |  Branch (418:5): [True: 0, False: 98.3k]
  ------------------
  419|  1.01k|    case MCSymbolRefExpr::VK_Mips_GOTTPREL:
  ------------------
  |  Branch (419:5): [True: 0, False: 98.3k]
  ------------------
  420|  1.01k|    case MCSymbolRefExpr::VK_Mips_TPREL_HI:
  ------------------
  |  Branch (420:5): [True: 0, False: 98.3k]
  ------------------
  421|  1.01k|    case MCSymbolRefExpr::VK_Mips_TPREL_LO:
  ------------------
  |  Branch (421:5): [True: 0, False: 98.3k]
  ------------------
  422|  1.22k|    case MCSymbolRefExpr::VK_PPC_DTPMOD:
  ------------------
  |  Branch (422:5): [True: 209, False: 98.1k]
  ------------------
  423|  1.65k|    case MCSymbolRefExpr::VK_PPC_TPREL_LO:
  ------------------
  |  Branch (423:5): [True: 425, False: 97.8k]
  ------------------
  424|  1.69k|    case MCSymbolRefExpr::VK_PPC_TPREL_HI:
  ------------------
  |  Branch (424:5): [True: 40, False: 98.2k]
  ------------------
  425|  1.74k|    case MCSymbolRefExpr::VK_PPC_TPREL_HA:
  ------------------
  |  Branch (425:5): [True: 55, False: 98.2k]
  ------------------
  426|  1.82k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHER:
  ------------------
  |  Branch (426:5): [True: 75, False: 98.2k]
  ------------------
  427|  1.89k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHERA:
  ------------------
  |  Branch (427:5): [True: 70, False: 98.2k]
  ------------------
  428|  1.95k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHEST:
  ------------------
  |  Branch (428:5): [True: 67, False: 98.2k]
  ------------------
  429|  2.00k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHESTA:
  ------------------
  |  Branch (429:5): [True: 42, False: 98.2k]
  ------------------
  430|  2.27k|    case MCSymbolRefExpr::VK_PPC_DTPREL_LO:
  ------------------
  |  Branch (430:5): [True: 269, False: 98.0k]
  ------------------
  431|  2.37k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HI:
  ------------------
  |  Branch (431:5): [True: 100, False: 98.2k]
  ------------------
  432|  2.51k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HA:
  ------------------
  |  Branch (432:5): [True: 143, False: 98.1k]
  ------------------
  433|  2.56k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHER:
  ------------------
  |  Branch (433:5): [True: 48, False: 98.2k]
  ------------------
  434|  2.58k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHERA:
  ------------------
  |  Branch (434:5): [True: 22, False: 98.2k]
  ------------------
  435|  2.62k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHEST:
  ------------------
  |  Branch (435:5): [True: 41, False: 98.2k]
  ------------------
  436|  2.69k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHESTA:
  ------------------
  |  Branch (436:5): [True: 69, False: 98.2k]
  ------------------
  437|  2.94k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL:
  ------------------
  |  Branch (437:5): [True: 252, False: 98.0k]
  ------------------
  438|  3.03k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_LO:
  ------------------
  |  Branch (438:5): [True: 85, False: 98.2k]
  ------------------
  439|  3.10k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_HI:
  ------------------
  |  Branch (439:5): [True: 78, False: 98.2k]
  ------------------
  440|  3.23k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_HA:
  ------------------
  |  Branch (440:5): [True: 129, False: 98.1k]
  ------------------
  441|  3.31k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL:
  ------------------
  |  Branch (441:5): [True: 76, False: 98.2k]
  ------------------
  442|  3.44k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_LO:
  ------------------
  |  Branch (442:5): [True: 135, False: 98.1k]
  ------------------
  443|  3.52k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_HI:
  ------------------
  |  Branch (443:5): [True: 76, False: 98.2k]
  ------------------
  444|  3.63k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_HA:
  ------------------
  |  Branch (444:5): [True: 115, False: 98.1k]
  ------------------
  445|  3.67k|    case MCSymbolRefExpr::VK_PPC_TLS:
  ------------------
  |  Branch (445:5): [True: 36, False: 98.2k]
  ------------------
  446|  3.78k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD:
  ------------------
  |  Branch (446:5): [True: 105, False: 98.2k]
  ------------------
  447|  3.82k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_LO:
  ------------------
  |  Branch (447:5): [True: 40, False: 98.2k]
  ------------------
  448|  3.91k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_HI:
  ------------------
  |  Branch (448:5): [True: 99, False: 98.2k]
  ------------------
  449|  4.40k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_HA:
  ------------------
  |  Branch (449:5): [True: 490, False: 97.8k]
  ------------------
  450|  4.40k|    case MCSymbolRefExpr::VK_PPC_TLSGD:
  ------------------
  |  Branch (450:5): [True: 0, False: 98.3k]
  ------------------
  451|  4.49k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD:
  ------------------
  |  Branch (451:5): [True: 82, False: 98.2k]
  ------------------
  452|  4.56k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_LO:
  ------------------
  |  Branch (452:5): [True: 77, False: 98.2k]
  ------------------
  453|  4.70k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_HI:
  ------------------
  |  Branch (453:5): [True: 136, False: 98.1k]
  ------------------
  454|  4.76k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_HA:
  ------------------
  |  Branch (454:5): [True: 58, False: 98.2k]
  ------------------
  455|  4.76k|    case MCSymbolRefExpr::VK_PPC_TLSLD:
  ------------------
  |  Branch (455:5): [True: 0, False: 98.3k]
  ------------------
  456|  4.76k|      break;
  457|  98.3k|    }
  458|  4.76k|    getAssembler().registerSymbol(symRef.getSymbol());
  459|  4.76k|    cast<MCSymbolELF>(symRef.getSymbol()).setType(ELF::STT_TLS);
  460|  4.76k|    break;
  461|  98.3k|  }
  462|       |
  463|  32.6k|  case MCExpr::Unary:
  ------------------
  |  Branch (463:3): [True: 32.6k, False: 251k]
  ------------------
  464|  32.6k|    fixSymbolsInTLSFixups(cast<MCUnaryExpr>(expr)->getSubExpr());
  465|  32.6k|    break;
  466|   284k|  }
  467|   284k|}
_ZN7llvm_ks13MCELFStreamer18EmitInstToFragmentERNS_6MCInstERKNS_15MCSubtargetInfoE:
  470|  7.37k|                                       const MCSubtargetInfo &STI) {
  471|  7.37k|  this->MCObjectStreamer::EmitInstToFragment(Inst, STI);
  472|  7.37k|  MCRelaxableFragment &F = *cast<MCRelaxableFragment>(getCurrentFragment());
  473|       |
  474|  14.7k|  for (unsigned i = 0, e = F.getFixups().size(); i != e; ++i)
  ------------------
  |  Branch (474:50): [True: 7.36k, False: 7.37k]
  ------------------
  475|  7.36k|    fixSymbolsInTLSFixups(F.getFixups()[i].getValue());
  476|  7.37k|}
_ZN7llvm_ks13MCELFStreamer14EmitInstToDataERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  481|  24.8k|{
  482|  24.8k|  MCAssembler &Assembler = getAssembler();
  483|  24.8k|  SmallVector<MCFixup, 4> Fixups;
  484|  24.8k|  SmallString<256> Code;
  485|  24.8k|  raw_svector_ostream VecOS(Code);
  486|  24.8k|  Assembler.getEmitter().encodeInstruction(Inst, VecOS, Fixups, STI, KsError);
  487|  24.8k|  if (KsError)
  ------------------
  |  Branch (487:7): [True: 18, False: 24.8k]
  ------------------
  488|     18|      return;
  489|       |
  490|  33.4k|  for (unsigned i = 0, e = Fixups.size(); i != e; ++i)
  ------------------
  |  Branch (490:43): [True: 8.60k, False: 24.8k]
  ------------------
  491|  8.60k|    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|  24.8k|  MCDataFragment *DF;
  509|       |
  510|  24.8k|  if (Assembler.isBundlingEnabled()) {
  ------------------
  |  Branch (510:7): [True: 0, False: 24.8k]
  ------------------
  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|  24.8k|  } else {
  549|  24.8k|    DF = getOrCreateDataFragment();
  550|  24.8k|  }
  551|       |
  552|       |  // Add the fixups and data.
  553|  33.4k|  for (unsigned i = 0, e = Fixups.size(); i != e; ++i) {
  ------------------
  |  Branch (553:43): [True: 8.60k, False: 24.8k]
  ------------------
  554|  8.60k|    Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size());
  555|  8.60k|    DF->getFixups().push_back(Fixups[i]);
  556|  8.60k|  }
  557|  24.8k|  DF->setHasInstructions(true);
  558|  24.8k|  DF->getContents().append(Code.begin(), Code.end());
  559|       |
  560|  24.8k|  if (Assembler.isBundlingEnabled() && Assembler.getRelaxAll()) {
  ------------------
  |  Branch (560:7): [True: 0, False: 24.8k]
  |  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|  24.8k|}
_ZN7llvm_ks13MCELFStreamer19EmitBundleAlignModeEj:
  568|      1|void MCELFStreamer::EmitBundleAlignMode(unsigned AlignPow2) {
  569|      1|  assert(AlignPow2 <= 30 && "Invalid bundle alignment");
  ------------------
  |  Branch (569:3): [True: 1, False: 0]
  |  Branch (569:3): [True: 1, Folded]
  |  Branch (569:3): [True: 1, False: 0]
  ------------------
  570|      1|  MCAssembler &Assembler = getAssembler();
  571|      1|  if (AlignPow2 > 0 && (Assembler.getBundleAlignSize() == 0 ||
  ------------------
  |  Branch (571:7): [True: 1, False: 0]
  |  Branch (571:25): [True: 1, False: 0]
  ------------------
  572|      0|                        Assembler.getBundleAlignSize() == 1U << AlignPow2))
  ------------------
  |  Branch (572:25): [True: 0, False: 0]
  ------------------
  573|      1|    Assembler.setBundleAlignSize(1U << AlignPow2);
  574|      0|  else
  575|      0|    report_fatal_error(".bundle_align_mode cannot be changed once set");
  576|      1|}
_ZN7llvm_ks13MCELFStreamer10FinishImplEv:
  634|  8.80k|{
  635|       |  // Ensure the last section gets aligned if necessary.
  636|  8.80k|  MCSection *CurSection = getCurrentSectionOnly();
  637|  8.80k|  setSectionAlignmentForBundling(getAssembler(), CurSection);
  638|       |
  639|  8.80k|  EmitFrames(nullptr);
  640|  8.80k|  return this->MCObjectStreamer::FinishImpl();
  641|  8.80k|}
_ZN7llvm_ks17createELFStreamerERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterEb:
  645|  19.0k|                                    bool RelaxAll) {
  646|  19.0k|  MCELFStreamer *S = new MCELFStreamer(Context, MAB, OS, CE);
  647|  19.0k|  if (RelaxAll)
  ------------------
  |  Branch (647:7): [True: 0, False: 19.0k]
  ------------------
  648|      0|    S->getAssembler().setRelaxAll(true);
  649|  19.0k|  return S;
  650|  19.0k|}
MCELFStreamer.cpp:_ZL30setSectionAlignmentForBundlingRKN7llvm_ks11MCAssemblerEPNS_9MCSectionE:
  131|  29.4k|                                           MCSection *Section) {
  132|  29.4k|  if (Section && Assembler.isBundlingEnabled() && Section->hasInstructions() &&
  ------------------
  |  Branch (132:7): [True: 10.3k, False: 19.0k]
  |  Branch (132:18): [True: 1, False: 10.3k]
  |  Branch (132:51): [True: 0, False: 1]
  ------------------
  133|      0|      Section->getAlignment() < Assembler.getBundleAlignSize())
  ------------------
  |  Branch (133:7): [True: 0, False: 0]
  ------------------
  134|      0|    Section->setAlignment(Assembler.getBundleAlignSize());
  135|  29.4k|}

_ZN7llvm_ks12MCBinaryExpr6createENS0_6OpcodeEPKNS_6MCExprES4_RNS_9MCContextE:
  133|   456k|                                         const MCExpr *RHS, MCContext &Ctx) {
  134|   456k|  return new (Ctx) MCBinaryExpr(Opc, LHS, RHS);
  135|   456k|}
_ZN7llvm_ks11MCUnaryExpr6createENS0_6OpcodeEPKNS_6MCExprERNS_9MCContextE:
  138|   318k|                                       MCContext &Ctx) {
  139|   318k|  return new (Ctx) MCUnaryExpr(Opc, Expr);
  140|   318k|}
_ZN7llvm_ks14MCConstantExpr6createElRNS_9MCContextE:
  142|  1.47M|const MCConstantExpr *MCConstantExpr::create(int64_t Value, MCContext &Ctx) {
  143|  1.47M|  return new (Ctx) MCConstantExpr(Value);
  144|  1.47M|}
_ZN7llvm_ks15MCSymbolRefExprC2EPKNS_8MCSymbolENS0_11VariantKindEPKNS_9MCAsmInfoE:
  150|   509k|    : MCExpr(MCExpr::SymbolRef), Kind(Kind),
  151|   509k|      UseParensForSymbolVariant(MAI->useParensForSymbolVariant()),
  152|   509k|      HasSubsectionsViaSymbols(MAI->hasSubsectionsViaSymbols()),
  153|   509k|      Symbol(Symbol) {
  154|       |  assert(Symbol);
  ------------------
  |  Branch (154:3): [True: 509k, False: 0]
  ------------------
  155|   509k|}
_ZN7llvm_ks15MCSymbolRefExpr6createEPKNS_8MCSymbolENS0_11VariantKindERNS_9MCContextE:
  159|   509k|                                               MCContext &Ctx) {
  160|   509k|  return new (Ctx) MCSymbolRefExpr(Sym, Kind, Ctx.getAsmInfo());
  161|   509k|}
_ZN7llvm_ks15MCSymbolRefExpr21getVariantKindForNameENS_9StringRefE:
  303|  79.0k|MCSymbolRefExpr::getVariantKindForName(StringRef Name) {
  304|  79.0k|  return StringSwitch<VariantKind>(Name.lower())
  305|  79.0k|    .Case("got", VK_GOT)
  306|  79.0k|    .Case("gotoff", VK_GOTOFF)
  307|  79.0k|    .Case("gotpcrel", VK_GOTPCREL)
  308|  79.0k|    .Case("gottpoff", VK_GOTTPOFF)
  309|  79.0k|    .Case("indntpoff", VK_INDNTPOFF)
  310|  79.0k|    .Case("ntpoff", VK_NTPOFF)
  311|  79.0k|    .Case("gotntpoff", VK_GOTNTPOFF)
  312|  79.0k|    .Case("plt", VK_PLT)
  313|  79.0k|    .Case("tlsgd", VK_TLSGD)
  314|  79.0k|    .Case("tlsld", VK_TLSLD)
  315|  79.0k|    .Case("tlsldm", VK_TLSLDM)
  316|  79.0k|    .Case("tpoff", VK_TPOFF)
  317|  79.0k|    .Case("dtpoff", VK_DTPOFF)
  318|  79.0k|    .Case("tlvp", VK_TLVP)
  319|  79.0k|    .Case("tlvppage", VK_TLVPPAGE)
  320|  79.0k|    .Case("tlvppageoff", VK_TLVPPAGEOFF)
  321|  79.0k|    .Case("page", VK_PAGE)
  322|  79.0k|    .Case("pageoff", VK_PAGEOFF)
  323|  79.0k|    .Case("gotpage", VK_GOTPAGE)
  324|  79.0k|    .Case("gotpageoff", VK_GOTPAGEOFF)
  325|  79.0k|    .Case("imgrel", VK_COFF_IMGREL32)
  326|  79.0k|    .Case("secrel32", VK_SECREL)
  327|  79.0k|    .Case("size", VK_SIZE)
  328|  79.0k|    .Case("l", VK_PPC_LO)
  329|  79.0k|    .Case("h", VK_PPC_HI)
  330|  79.0k|    .Case("ha", VK_PPC_HA)
  331|  79.0k|    .Case("higher", VK_PPC_HIGHER)
  332|  79.0k|    .Case("highera", VK_PPC_HIGHERA)
  333|  79.0k|    .Case("highest", VK_PPC_HIGHEST)
  334|  79.0k|    .Case("highesta", VK_PPC_HIGHESTA)
  335|  79.0k|    .Case("got@l", VK_PPC_GOT_LO)
  336|  79.0k|    .Case("got@h", VK_PPC_GOT_HI)
  337|  79.0k|    .Case("got@ha", VK_PPC_GOT_HA)
  338|  79.0k|    .Case("local", VK_PPC_LOCAL)
  339|  79.0k|    .Case("tocbase", VK_PPC_TOCBASE)
  340|  79.0k|    .Case("toc", VK_PPC_TOC)
  341|  79.0k|    .Case("toc@l", VK_PPC_TOC_LO)
  342|  79.0k|    .Case("toc@h", VK_PPC_TOC_HI)
  343|  79.0k|    .Case("toc@ha", VK_PPC_TOC_HA)
  344|  79.0k|    .Case("tls", VK_PPC_TLS)
  345|  79.0k|    .Case("dtpmod", VK_PPC_DTPMOD)
  346|  79.0k|    .Case("tprel", VK_PPC_TPREL)
  347|  79.0k|    .Case("tprel@l", VK_PPC_TPREL_LO)
  348|  79.0k|    .Case("tprel@h", VK_PPC_TPREL_HI)
  349|  79.0k|    .Case("tprel@ha", VK_PPC_TPREL_HA)
  350|  79.0k|    .Case("tprel@higher", VK_PPC_TPREL_HIGHER)
  351|  79.0k|    .Case("tprel@highera", VK_PPC_TPREL_HIGHERA)
  352|  79.0k|    .Case("tprel@highest", VK_PPC_TPREL_HIGHEST)
  353|  79.0k|    .Case("tprel@highesta", VK_PPC_TPREL_HIGHESTA)
  354|  79.0k|    .Case("dtprel", VK_PPC_DTPREL)
  355|  79.0k|    .Case("dtprel@l", VK_PPC_DTPREL_LO)
  356|  79.0k|    .Case("dtprel@h", VK_PPC_DTPREL_HI)
  357|  79.0k|    .Case("dtprel@ha", VK_PPC_DTPREL_HA)
  358|  79.0k|    .Case("dtprel@higher", VK_PPC_DTPREL_HIGHER)
  359|  79.0k|    .Case("dtprel@highera", VK_PPC_DTPREL_HIGHERA)
  360|  79.0k|    .Case("dtprel@highest", VK_PPC_DTPREL_HIGHEST)
  361|  79.0k|    .Case("dtprel@highesta", VK_PPC_DTPREL_HIGHESTA)
  362|  79.0k|    .Case("got@tprel", VK_PPC_GOT_TPREL)
  363|  79.0k|    .Case("got@tprel@l", VK_PPC_GOT_TPREL_LO)
  364|  79.0k|    .Case("got@tprel@h", VK_PPC_GOT_TPREL_HI)
  365|  79.0k|    .Case("got@tprel@ha", VK_PPC_GOT_TPREL_HA)
  366|  79.0k|    .Case("got@dtprel", VK_PPC_GOT_DTPREL)
  367|  79.0k|    .Case("got@dtprel@l", VK_PPC_GOT_DTPREL_LO)
  368|  79.0k|    .Case("got@dtprel@h", VK_PPC_GOT_DTPREL_HI)
  369|  79.0k|    .Case("got@dtprel@ha", VK_PPC_GOT_DTPREL_HA)
  370|  79.0k|    .Case("got@tlsgd", VK_PPC_GOT_TLSGD)
  371|  79.0k|    .Case("got@tlsgd@l", VK_PPC_GOT_TLSGD_LO)
  372|  79.0k|    .Case("got@tlsgd@h", VK_PPC_GOT_TLSGD_HI)
  373|  79.0k|    .Case("got@tlsgd@ha", VK_PPC_GOT_TLSGD_HA)
  374|  79.0k|    .Case("got@tlsld", VK_PPC_GOT_TLSLD)
  375|  79.0k|    .Case("got@tlsld@l", VK_PPC_GOT_TLSLD_LO)
  376|  79.0k|    .Case("got@tlsld@h", VK_PPC_GOT_TLSLD_HI)
  377|  79.0k|    .Case("got@tlsld@ha", VK_PPC_GOT_TLSLD_HA)
  378|  79.0k|    .Case("gdgot", VK_Hexagon_GD_GOT)
  379|  79.0k|    .Case("gdplt", VK_Hexagon_GD_PLT)
  380|  79.0k|    .Case("iegot", VK_Hexagon_IE_GOT)
  381|  79.0k|    .Case("ie", VK_Hexagon_IE)
  382|  79.0k|    .Case("ldgot", VK_Hexagon_LD_GOT)
  383|  79.0k|    .Case("ldplt", VK_Hexagon_LD_PLT)
  384|  79.0k|    .Case("pcrel", VK_Hexagon_PCREL)
  385|  79.0k|    .Case("none", VK_ARM_NONE)
  386|  79.0k|    .Case("got_prel", VK_ARM_GOT_PREL)
  387|  79.0k|    .Case("target1", VK_ARM_TARGET1)
  388|  79.0k|    .Case("target2", VK_ARM_TARGET2)
  389|  79.0k|    .Case("prel31", VK_ARM_PREL31)
  390|  79.0k|    .Case("sbrel", VK_ARM_SBREL)
  391|  79.0k|    .Case("tlsldo", VK_ARM_TLSLDO)
  392|  79.0k|    .Case("tlscall", VK_ARM_TLSCALL)
  393|  79.0k|    .Case("tlsdesc", VK_ARM_TLSDESC)
  394|  79.0k|    .Default(VK_Invalid);
  395|  79.0k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERl:
  406|   974k|bool MCExpr::evaluateAsAbsolute(int64_t &Res) const {
  407|   974k|  return evaluateAsAbsolute(Res, nullptr, nullptr, nullptr);
  408|   974k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlRKNS_11MCAssemblerE:
  421|  49.0k|bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const {
  422|  49.0k|  return evaluateAsAbsolute(Res, &Asm, nullptr, nullptr);
  423|  49.0k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISB_EENS_6detail12DenseMapPairISB_mEEEE:
  433|  1.02M|                                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|  1.02M|  return evaluateAsAbsolute(Res, Asm, Layout, Addrs, Addrs);
  438|  1.02M|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISB_EENS_6detail12DenseMapPairISB_mEEEEb:
  443|  1.02M|{
  444|  1.02M|  MCValue Value;
  445|       |
  446|       |  // Fast path constants.
  447|  1.02M|  if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(this)) {
  ------------------
  |  Branch (447:29): [True: 621k, False: 401k]
  ------------------
  448|   621k|    Res = CE->getValue();
  449|   621k|    return true;
  450|   621k|  }
  451|       |
  452|   401k|  bool valid;
  453|   401k|  bool IsRelocatable =
  454|   401k|      evaluateAsRelocatableImpl(Value, Asm, Layout, nullptr, Addrs, InSet, valid);
  455|       |
  456|       |  // Record the current value.
  457|   401k|  Res = Value.getConstant();
  458|       |
  459|   401k|  return IsRelocatable && Value.isAbsolute();
  ------------------
  |  Branch (459:10): [True: 325k, False: 75.9k]
  |  Branch (459:27): [True: 121k, False: 203k]
  ------------------
  460|  1.02M|}
_ZNK7llvm_ks6MCExpr21evaluateAsRelocatableERNS_7MCValueEPKNS_11MCAsmLayoutEPKNS_7MCFixupE:
  606|  23.4k|{
  607|  23.4k|  MCAssembler *Assembler = Layout ? &Layout->getAssembler() : nullptr;
  ------------------
  |  Branch (607:28): [True: 21.3k, False: 2.12k]
  ------------------
  608|  23.4k|  bool valid;
  609|  23.4k|  return evaluateAsRelocatableImpl(Res, Assembler, Layout, Fixup, nullptr,
  610|  23.4k|                                   false, valid);
  611|  23.4k|}
_ZNK7llvm_ks6MCExpr15evaluateAsValueERNS_7MCValueERKNS_11MCAsmLayoutE:
  614|  11.7k|{
  615|  11.7k|  MCAssembler *Assembler = &Layout.getAssembler();
  616|  11.7k|  bool valid;
  617|  11.7k|  return evaluateAsRelocatableImpl(Res, Assembler, &Layout, nullptr, nullptr,
  618|  11.7k|                                   true, valid);
  619|  11.7k|}
_ZNK7llvm_ks6MCExpr25evaluateAsRelocatableImplERNS_7MCValueEPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_7MCFixupEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISF_EENS_6detail12DenseMapPairISF_mEEEEbRb:
  639|  1.27M|{
  640|  1.27M|  switch (getKind()) {
  ------------------
  |  Branch (640:11): [True: 1.27M, False: 0]
  ------------------
  641|      0|  case Target:
  ------------------
  |  Branch (641:3): [True: 0, False: 1.27M]
  ------------------
  642|      0|    return cast<MCTargetExpr>(this)->evaluateAsRelocatableImpl(Res, Layout,
  643|      0|                                                               Fixup);
  644|       |
  645|   303k|  case Constant:
  ------------------
  |  Branch (645:3): [True: 303k, False: 970k]
  ------------------
  646|   303k|    Res = MCValue::get(cast<MCConstantExpr>(this)->getValue());
  647|   303k|    return true;
  648|       |
  649|   387k|  case SymbolRef: {
  ------------------
  |  Branch (649:3): [True: 387k, False: 886k]
  ------------------
  650|   387k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
  651|   387k|    const MCSymbol &Sym = SRE->getSymbol();
  652|       |
  653|       |    // Evaluate recursively if this is a variable.
  654|   387k|    if (Sym.isVariable() && SRE->getKind() == MCSymbolRefExpr::VK_None &&
  ------------------
  |  Branch (654:9): [True: 10.4k, False: 377k]
  |  Branch (654:29): [True: 10.3k, False: 167]
  ------------------
  655|  10.3k|        canExpand(Sym, InSet)) {
  ------------------
  |  Branch (655:9): [True: 3.72k, False: 6.59k]
  ------------------
  656|  3.72k|      bool IsMachO = SRE->hasSubsectionsViaSymbols();
  657|  3.72k|      bool valid;
  658|  3.72k|      if (Sym.getVariableValue()->evaluateAsRelocatableImpl(
  ------------------
  |  Branch (658:11): [True: 1.16k, False: 2.55k]
  ------------------
  659|  3.72k|              Res, Asm, Layout, Fixup, Addrs, InSet || IsMachO, valid)) {
  ------------------
  |  Branch (659:47): [True: 883, False: 2.83k]
  |  Branch (659:56): [True: 0, False: 2.83k]
  ------------------
  660|  1.16k|        if (!IsMachO)
  ------------------
  |  Branch (660:13): [True: 1.16k, False: 0]
  ------------------
  661|  1.16k|          return true;
  662|       |
  663|      0|        const MCSymbolRefExpr *A = Res.getSymA();
  664|      0|        const MCSymbolRefExpr *B = Res.getSymB();
  665|       |        // FIXME: This is small hack. Given
  666|       |        // a = b + 4
  667|       |        // .long a
  668|       |        // the OS X assembler will completely drop the 4. We should probably
  669|       |        // include it in the relocation or produce an error if that is not
  670|       |        // possible.
  671|      0|        if (!A && !B)
  ------------------
  |  Branch (671:13): [True: 0, False: 0]
  |  Branch (671:19): [True: 0, False: 0]
  ------------------
  672|      0|          return true;
  673|      0|      }
  674|  3.72k|    }
  675|       |
  676|   386k|    Res = MCValue::get(SRE, nullptr, 0);
  677|   386k|    return true;
  678|   387k|  }
  679|       |
  680|   242k|  case Unary: {
  ------------------
  |  Branch (680:3): [True: 242k, False: 1.03M]
  ------------------
  681|   242k|    const MCUnaryExpr *AUE = cast<MCUnaryExpr>(this);
  682|   242k|    MCValue Value;
  683|       |
  684|   242k|    bool valid;
  685|   242k|    if (!AUE->getSubExpr()->evaluateAsRelocatableImpl(Value, Asm, Layout, Fixup,
  ------------------
  |  Branch (685:9): [True: 25.3k, False: 217k]
  ------------------
  686|   242k|                                                      Addrs, InSet, valid))
  687|  25.3k|      return false;
  688|       |
  689|   217k|    switch (AUE->getOpcode()) {
  ------------------
  |  Branch (689:13): [True: 217k, False: 0]
  ------------------
  690|  2.97k|    case MCUnaryExpr::LNot:
  ------------------
  |  Branch (690:5): [True: 2.97k, False: 214k]
  ------------------
  691|  2.97k|      if (!Value.isAbsolute())
  ------------------
  |  Branch (691:11): [True: 1.19k, False: 1.77k]
  ------------------
  692|  1.19k|        return false;
  693|  1.77k|      Res = MCValue::get(!Value.getConstant());
  694|  1.77k|      break;
  695|   120k|    case MCUnaryExpr::Minus:
  ------------------
  |  Branch (695:5): [True: 120k, False: 96.8k]
  ------------------
  696|       |      /// -(a - b + const) ==> (b - a - const)
  697|   120k|      if (Value.getSymA() && !Value.getSymB())
  ------------------
  |  Branch (697:11): [True: 42.1k, False: 78.4k]
  |  Branch (697:30): [True: 41.9k, False: 215]
  ------------------
  698|  41.9k|        return false;
  699|  78.6k|      Res = MCValue::get(Value.getSymB(), Value.getSymA(),
  700|  78.6k|                         -Value.getConstant());
  701|  78.6k|      break;
  702|  77.1k|    case MCUnaryExpr::Not:
  ------------------
  |  Branch (702:5): [True: 77.1k, False: 140k]
  ------------------
  703|  77.1k|      if (!Value.isAbsolute())
  ------------------
  |  Branch (703:11): [True: 578, False: 76.5k]
  ------------------
  704|    578|        return false;
  705|  76.5k|      Res = MCValue::get(~Value.getConstant());
  706|  76.5k|      break;
  707|  16.6k|    case MCUnaryExpr::Plus:
  ------------------
  |  Branch (707:5): [True: 16.6k, False: 200k]
  ------------------
  708|  16.6k|      Res = Value;
  709|  16.6k|      break;
  710|   217k|    }
  711|       |
  712|   173k|    return true;
  713|   217k|  }
  714|       |
  715|   339k|  case Binary: {
  ------------------
  |  Branch (715:3): [True: 339k, False: 934k]
  ------------------
  716|   339k|    const MCBinaryExpr *ABE = cast<MCBinaryExpr>(this);
  717|   339k|    MCValue LHSValue, RHSValue;
  718|   339k|    bool valid;
  719|       |
  720|   339k|    if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup,
  ------------------
  |  Branch (720:9): [True: 88.8k, False: 251k]
  ------------------
  721|   339k|                                                  Addrs, InSet, valid) ||
  722|   251k|        !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup,
  ------------------
  |  Branch (722:9): [True: 13.9k, False: 237k]
  ------------------
  723|   251k|                                                  Addrs, InSet, valid))
  724|   102k|      return false;
  725|       |
  726|       |    // We only support a few operations on non-constant expressions, handle
  727|       |    // those first.
  728|   237k|    if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) {
  ------------------
  |  Branch (728:9): [True: 137k, False: 99.6k]
  |  Branch (728:35): [True: 38.1k, False: 61.4k]
  ------------------
  729|   175k|      switch (ABE->getOpcode()) {
  730|  25.5k|      default:
  ------------------
  |  Branch (730:7): [True: 25.5k, False: 150k]
  ------------------
  731|  25.5k|        return false;
  732|   127k|      case MCBinaryExpr::Sub:
  ------------------
  |  Branch (732:7): [True: 127k, False: 48.2k]
  ------------------
  733|       |        // Negate RHS and add.
  734|   127k|        return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue,
  735|   127k|                                   RHSValue.getSymB(), RHSValue.getSymA(),
  736|   127k|                                   -RHSValue.getConstant(), Res, valid);
  737|       |
  738|  22.7k|      case MCBinaryExpr::Add:
  ------------------
  |  Branch (738:7): [True: 22.7k, False: 153k]
  ------------------
  739|  22.7k|        return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue,
  740|  22.7k|                                   RHSValue.getSymA(), RHSValue.getSymB(),
  741|  22.7k|                                   RHSValue.getConstant(), Res, valid);
  742|   175k|      }
  743|   175k|    }
  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|  61.4k|    int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant();
  749|  61.4k|    int64_t Result = 0;
  750|  61.4k|    switch (ABE->getOpcode()) {
  ------------------
  |  Branch (750:13): [True: 61.4k, False: 0]
  ------------------
  751|      0|    case MCBinaryExpr::AShr: Result = LHS >> RHS; break;
  ------------------
  |  Branch (751:5): [True: 0, False: 61.4k]
  ------------------
  752|  16.6k|    case MCBinaryExpr::Add:  Result = LHS + RHS; break;
  ------------------
  |  Branch (752:5): [True: 16.6k, False: 44.8k]
  ------------------
  753|    951|    case MCBinaryExpr::And:  Result = LHS & RHS; break;
  ------------------
  |  Branch (753:5): [True: 951, False: 60.5k]
  ------------------
  754|  3.84k|    case MCBinaryExpr::Div:
  ------------------
  |  Branch (754:5): [True: 3.84k, False: 57.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|  3.84k|      if (RHS == 0)
  ------------------
  |  Branch (761:11): [True: 304, False: 3.54k]
  ------------------
  762|    304|        return false;
  763|  3.54k|      Result = LHS / RHS;
  764|  3.54k|      break;
  765|    330|    case MCBinaryExpr::EQ:   Result = LHS == RHS; break;
  ------------------
  |  Branch (765:5): [True: 330, False: 61.1k]
  ------------------
  766|  1.67k|    case MCBinaryExpr::GT:   Result = LHS > RHS; break;
  ------------------
  |  Branch (766:5): [True: 1.67k, False: 59.8k]
  ------------------
  767|    802|    case MCBinaryExpr::GTE:  Result = LHS >= RHS; break;
  ------------------
  |  Branch (767:5): [True: 802, False: 60.6k]
  ------------------
  768|    407|    case MCBinaryExpr::LAnd: Result = LHS && RHS; break;
  ------------------
  |  Branch (768:5): [True: 407, False: 61.0k]
  |  Branch (768:39): [True: 182, False: 225]
  |  Branch (768:46): [True: 182, False: 0]
  ------------------
  769|    438|    case MCBinaryExpr::LOr:  Result = LHS || RHS; break;
  ------------------
  |  Branch (769:5): [True: 438, False: 61.0k]
  |  Branch (769:39): [True: 324, False: 114]
  |  Branch (769:46): [True: 21, False: 93]
  ------------------
  770|    261|    case MCBinaryExpr::LShr: Result = uint64_t(LHS) >> uint64_t(RHS); break;
  ------------------
  |  Branch (770:5): [True: 261, False: 61.2k]
  ------------------
  771|  3.46k|    case MCBinaryExpr::LT:   Result = LHS < RHS; break;
  ------------------
  |  Branch (771:5): [True: 3.46k, False: 58.0k]
  ------------------
  772|    587|    case MCBinaryExpr::LTE:  Result = LHS <= RHS; break;
  ------------------
  |  Branch (772:5): [True: 587, False: 60.9k]
  ------------------
  773|  1.03k|    case MCBinaryExpr::Mod:
  ------------------
  |  Branch (773:5): [True: 1.03k, False: 60.4k]
  ------------------
  774|       |      // Handle division by zero. gas just emits a warning and keeps going,
  775|       |      // we try to be stricter.
  776|       |      // FIXME: Currently the caller of this function has no way to understand
  777|       |      // we're bailing out because of 'division by zero'. Therefore, it will
  778|       |      // emit a 'expected relocatable expression' error. It would be nice to
  779|       |      // change this code to emit a better diagnostic.
  780|  1.03k|      if (RHS == 0)
  ------------------
  |  Branch (780:11): [True: 88, False: 942]
  ------------------
  781|     88|        return false;
  782|    942|      Result = LHS % RHS;
  783|    942|      break;
  784|  19.6k|    case MCBinaryExpr::Mul:  Result = LHS * RHS; break;
  ------------------
  |  Branch (784:5): [True: 19.6k, False: 41.8k]
  ------------------
  785|    546|    case MCBinaryExpr::NE:   Result = LHS != RHS; break;
  ------------------
  |  Branch (785:5): [True: 546, False: 60.9k]
  ------------------
  786|  1.48k|    case MCBinaryExpr::Or:   Result = LHS | RHS; break;
  ------------------
  |  Branch (786:5): [True: 1.48k, False: 60.0k]
  ------------------
  787|    279|    case MCBinaryExpr::Shl:  Result = uint64_t(LHS) << uint64_t(RHS); break;
  ------------------
  |  Branch (787:5): [True: 279, False: 61.2k]
  ------------------
  788|  8.50k|    case MCBinaryExpr::Sub:  Result = LHS - RHS; break;
  ------------------
  |  Branch (788:5): [True: 8.50k, False: 52.9k]
  ------------------
  789|    568|    case MCBinaryExpr::Xor:  Result = LHS ^ RHS; break;
  ------------------
  |  Branch (789:5): [True: 568, False: 60.9k]
  ------------------
  790|  61.4k|    }
  791|       |
  792|  61.1k|    Res = MCValue::get(Result);
  793|  61.1k|    return true;
  794|  61.4k|  }
  795|  1.27M|  }
  796|       |
  797|      0|  llvm_unreachable("Invalid assembly expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  798|  1.27M|}
_ZNK7llvm_ks6MCExpr22findAssociatedFragmentEv:
  800|   674k|MCFragment *MCExpr::findAssociatedFragment() const {
  801|   674k|  switch (getKind()) {
  ------------------
  |  Branch (801:11): [True: 674k, False: 0]
  ------------------
  802|      0|  case Target:
  ------------------
  |  Branch (802:3): [True: 0, False: 674k]
  ------------------
  803|       |    // We never look through target specific expressions.
  804|      0|    return cast<MCTargetExpr>(this)->findAssociatedFragment();
  805|       |
  806|   369k|  case Constant:
  ------------------
  |  Branch (806:3): [True: 369k, False: 304k]
  ------------------
  807|   369k|    return MCSymbol::AbsolutePseudoFragment;
  808|       |
  809|   157k|  case SymbolRef: {
  ------------------
  |  Branch (809:3): [True: 157k, False: 517k]
  ------------------
  810|   157k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
  811|   157k|    const MCSymbol &Sym = SRE->getSymbol();
  812|   157k|    return Sym.getFragment();
  813|      0|  }
  814|       |
  815|  81.1k|  case Unary:
  ------------------
  |  Branch (815:3): [True: 81.1k, False: 593k]
  ------------------
  816|  81.1k|    return cast<MCUnaryExpr>(this)->getSubExpr()->findAssociatedFragment();
  817|       |
  818|  66.4k|  case Binary: {
  ------------------
  |  Branch (818:3): [True: 66.4k, False: 608k]
  ------------------
  819|  66.4k|    const MCBinaryExpr *BE = cast<MCBinaryExpr>(this);
  820|  66.4k|    MCFragment *LHS_F = BE->getLHS()->findAssociatedFragment();
  821|  66.4k|    MCFragment *RHS_F = BE->getRHS()->findAssociatedFragment();
  822|       |
  823|       |    // If either is absolute, return the other.
  824|  66.4k|    if (LHS_F == MCSymbol::AbsolutePseudoFragment)
  ------------------
  |  Branch (824:9): [True: 15.4k, False: 51.0k]
  ------------------
  825|  15.4k|      return RHS_F;
  826|  51.0k|    if (RHS_F == MCSymbol::AbsolutePseudoFragment)
  ------------------
  |  Branch (826:9): [True: 30.7k, False: 20.3k]
  ------------------
  827|  30.7k|      return LHS_F;
  828|       |
  829|       |    // Not always correct, but probably the best we can do without more context.
  830|  20.3k|    if (BE->getOpcode() == MCBinaryExpr::Sub)
  ------------------
  |  Branch (830:9): [True: 12.7k, False: 7.56k]
  ------------------
  831|  12.7k|      return MCSymbol::AbsolutePseudoFragment;
  832|       |
  833|       |    // Otherwise, return the first non-null fragment.
  834|  7.56k|    return LHS_F ? LHS_F : RHS_F;
  ------------------
  |  Branch (834:12): [True: 237, False: 7.32k]
  ------------------
  835|  20.3k|  }
  836|   674k|  }
  837|       |
  838|      0|  llvm_unreachable("Invalid assembly expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  839|   674k|}
MCExpr.cpp:_ZL9canExpandRKN7llvm_ks8MCSymbolEb:
  621|  10.3k|static bool canExpand(const MCSymbol &Sym, bool InSet) {
  622|  10.3k|  const MCExpr *Expr = Sym.getVariableValue();
  623|  10.3k|  const auto *Inner = dyn_cast<MCSymbolRefExpr>(Expr);
  624|  10.3k|  if (Inner) {
  ------------------
  |  Branch (624:7): [True: 6.16k, False: 4.15k]
  ------------------
  625|  6.16k|    if (Inner->getKind() == MCSymbolRefExpr::VK_WEAKREF)
  ------------------
  |  Branch (625:9): [True: 0, False: 6.16k]
  ------------------
  626|      0|      return false;
  627|  6.16k|  }
  628|       |
  629|  10.3k|  if (InSet)
  ------------------
  |  Branch (629:7): [True: 883, False: 9.43k]
  ------------------
  630|    883|    return true;
  631|  9.43k|  return !Sym.isInSection();
  632|  10.3k|}
MCExpr.cpp:_ZL19EvaluateSymbolicAddPKN7llvm_ks11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoIS9_EENS_6detail12DenseMapPairIS9_mEEEEbRKNS_7MCValueEPKNS_15MCSymbolRefExprESN_lRSI_Rb:
  547|   150k|{
  548|       |  // FIXME: This routine (and other evaluation parts) are *incredibly* sloppy
  549|       |  // about dealing with modifiers. This will ultimately bite us, one day.
  550|   150k|  const MCSymbolRefExpr *LHS_A = LHS.getSymA();
  551|   150k|  const MCSymbolRefExpr *LHS_B = LHS.getSymB();
  552|   150k|  int64_t LHS_Cst = LHS.getConstant();
  553|       |
  554|       |  // Fold the result constant immediately.
  555|   150k|  int64_t Result_Cst = LHS_Cst + RHS_Cst;
  556|       |
  557|   150k|  assert((!Layout || Asm) &&
  ------------------
  |  Branch (557:3): [True: 129k, False: 20.7k]
  |  Branch (557:3): [True: 20.7k, False: 0]
  |  Branch (557:3): [True: 150k, Folded]
  |  Branch (557:3): [True: 150k, False: 0]
  ------------------
  558|   150k|         "Must have an assembler object if layout is given!");
  559|       |
  560|       |  // If we have a layout, we can fold resolved differences.
  561|   150k|  if (Asm) {
  ------------------
  |  Branch (561:7): [True: 69.4k, False: 80.7k]
  ------------------
  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|  69.4k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, LHS_B,
  573|  69.4k|                                        Result_Cst, valid);
  574|  69.4k|    if (!valid)
  ------------------
  |  Branch (574:9): [True: 0, False: 69.4k]
  ------------------
  575|      0|        return false;
  576|  69.4k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, RHS_B,
  577|  69.4k|                                        Result_Cst, valid);
  578|  69.4k|    if (!valid)
  ------------------
  |  Branch (578:9): [True: 69, False: 69.4k]
  ------------------
  579|     69|        return false;
  580|  69.4k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, LHS_B,
  581|  69.4k|                                        Result_Cst, valid);
  582|  69.4k|    if (!valid)
  ------------------
  |  Branch (582:9): [True: 24, False: 69.3k]
  ------------------
  583|     24|        return false;
  584|  69.3k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, RHS_B,
  585|  69.3k|                                        Result_Cst, valid);
  586|  69.3k|    if (!valid)
  ------------------
  |  Branch (586:9): [True: 0, False: 69.3k]
  ------------------
  587|      0|        return false;
  588|  69.3k|  }
  589|       |
  590|       |  // We can't represent the addition or subtraction of two symbols.
  591|   150k|  if ((LHS_A && RHS_A) || (LHS_B && RHS_B))
  ------------------
  |  Branch (591:8): [True: 113k, False: 36.4k]
  |  Branch (591:17): [True: 2.55k, False: 111k]
  |  Branch (591:28): [True: 13.0k, False: 134k]
  |  Branch (591:37): [True: 9.90k, False: 3.10k]
  ------------------
  592|  12.4k|    return false;
  593|       |
  594|       |  // At this point, we have at most one additive symbol and one subtractive
  595|       |  // symbol -- find them.
  596|   137k|  const MCSymbolRefExpr *A = LHS_A ? LHS_A : RHS_A;
  ------------------
  |  Branch (596:30): [True: 101k, False: 36.0k]
  ------------------
  597|   137k|  const MCSymbolRefExpr *B = LHS_B ? LHS_B : RHS_B;
  ------------------
  |  Branch (597:30): [True: 3.10k, False: 134k]
  ------------------
  598|       |
  599|   137k|  Res = MCValue::get(A, B, Result_Cst);
  600|   137k|  return true;
  601|   150k|}
MCExpr.cpp:_ZL35AttemptToFoldSymbolOffsetDifferencePKN7llvm_ks11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoIS9_EENS_6detail12DenseMapPairIS9_mEEEEbRPKNS_15MCSymbolRefExprESL_RlRb:
  466|   277k|    const MCSymbolRefExpr *&B, int64_t &Addend, bool &valid) {
  467|   277k|  valid = true;
  468|   277k|  if (!A || !B)
  ------------------
  |  Branch (468:7): [True: 149k, False: 128k]
  |  Branch (468:13): [True: 94.4k, False: 34.0k]
  ------------------
  469|   243k|    return;
  470|       |
  471|  34.0k|  const MCSymbol &SA = A->getSymbol();
  472|  34.0k|  const MCSymbol &SB = B->getSymbol();
  473|       |
  474|  34.0k|  if (SA.isUndefined() || SB.isUndefined())
  ------------------
  |  Branch (474:7): [True: 11.8k, False: 22.2k]
  |  Branch (474:27): [True: 12.7k, False: 9.44k]
  ------------------
  475|  24.6k|    return;
  476|       |
  477|  9.44k|  if (!Asm->getWriter().isSymbolRefDifferenceFullyResolved(*Asm, A, B, InSet, valid))
  ------------------
  |  Branch (477:7): [True: 320, False: 9.12k]
  ------------------
  478|    320|    return;
  479|  9.12k|  if (!valid)
  ------------------
  |  Branch (479:7): [True: 0, False: 9.12k]
  ------------------
  480|      0|      return;
  481|       |
  482|  9.12k|  if (SA.getFragment() == SB.getFragment() && !SA.isVariable() &&
  ------------------
  |  Branch (482:7): [True: 8.01k, False: 1.11k]
  |  Branch (482:47): [True: 7.42k, False: 591]
  ------------------
  483|  7.42k|      !SB.isVariable()) {
  ------------------
  |  Branch (483:7): [True: 6.98k, False: 446]
  ------------------
  484|  6.98k|    Addend += (SA.getOffset() - SB.getOffset());
  485|       |
  486|       |    // Pointers to Thumb symbols need to have their low-bit set to allow
  487|       |    // for interworking.
  488|  6.98k|    if (Asm->isThumbFunc(&SA))
  ------------------
  |  Branch (488:9): [True: 0, False: 6.98k]
  ------------------
  489|      0|      Addend |= 1;
  490|       |
  491|       |    // Clear the symbol expr pointers to indicate we have folded these
  492|       |    // operands.
  493|  6.98k|    A = B = nullptr;
  494|  6.98k|    return;
  495|  6.98k|  }
  496|       |
  497|  2.14k|  if (!Layout)
  ------------------
  |  Branch (497:7): [True: 1.13k, False: 1.00k]
  ------------------
  498|  1.13k|    return;
  499|       |
  500|  1.00k|  const MCSection &SecA = *SA.getFragment()->getParent();
  501|  1.00k|  const MCSection &SecB = *SB.getFragment()->getParent();
  502|       |
  503|  1.00k|  if ((&SecA != &SecB) && !Addrs)
  ------------------
  |  Branch (503:7): [True: 0, False: 1.00k]
  |  Branch (503:27): [True: 0, False: 0]
  ------------------
  504|      0|    return;
  505|       |
  506|       |  // Eagerly evaluate.
  507|  1.00k|  bool valid1, valid2;
  508|  1.00k|  Addend += Layout->getSymbolOffset(A->getSymbol(), valid1) -
  509|  1.00k|            Layout->getSymbolOffset(B->getSymbol(), valid2);
  510|  1.00k|  if (Addrs && (&SecA != &SecB))
  ------------------
  |  Branch (510:7): [True: 0, False: 1.00k]
  |  Branch (510:16): [True: 0, False: 0]
  ------------------
  511|      0|    Addend += (Addrs->lookup(&SecA) - Addrs->lookup(&SecB));
  512|       |
  513|       |  // Pointers to Thumb symbols need to have their low-bit set to allow
  514|       |  // for interworking.
  515|  1.00k|  if (Asm->isThumbFunc(&SA))
  ------------------
  |  Branch (515:7): [True: 0, False: 1.00k]
  ------------------
  516|      0|    Addend |= 1;
  517|       |
  518|       |  // Clear the symbol expr pointers to indicate we have folded these
  519|       |  // operands.
  520|  1.00k|  A = B = nullptr;
  521|  1.00k|}

_ZN7llvm_ks11MCAsmLayoutC2ERNS_11MCAssemblerE:
   32|  8.80k|  : Assembler(Asm), LastValidFragment()
   33|  8.80k| {
   34|       |  // Compute the section layout order. Virtual sections must go last.
   35|  8.80k|  for (MCSection &Sec : Asm)
  ------------------
  |  Branch (35:23): [True: 9.17k, False: 8.80k]
  ------------------
   36|  9.17k|    if (!Sec.isVirtualSection())
  ------------------
  |  Branch (36:9): [True: 9.14k, False: 36]
  ------------------
   37|  9.14k|      SectionOrder.push_back(&Sec);
   38|  8.80k|  for (MCSection &Sec : Asm)
  ------------------
  |  Branch (38:23): [True: 9.17k, False: 8.80k]
  ------------------
   39|  9.17k|    if (Sec.isVirtualSection())
  ------------------
  |  Branch (39:9): [True: 36, False: 9.14k]
  ------------------
   40|     36|      SectionOrder.push_back(&Sec);
   41|  8.80k|}
_ZNK7llvm_ks11MCAsmLayout15isFragmentValidEPKNS_10MCFragmentE:
   43|   257k|bool MCAsmLayout::isFragmentValid(const MCFragment *F) const {
   44|   257k|  const MCSection *Sec = F->getParent();
   45|   257k|  const MCFragment *LastValid = LastValidFragment.lookup(Sec);
   46|   257k|  if (!LastValid)
  ------------------
  |  Branch (46:7): [True: 18.7k, False: 238k]
  ------------------
   47|  18.7k|    return false;
   48|   257k|  assert(LastValid->getParent() == Sec);
  ------------------
  |  Branch (48:3): [True: 238k, False: 0]
  ------------------
   49|   238k|  return F->getLayoutOrder() <= LastValid->getLayoutOrder();
   50|   238k|}
_ZN7llvm_ks11MCAsmLayout23invalidateFragmentsFromEPNS_10MCFragmentE:
   52|    236|void MCAsmLayout::invalidateFragmentsFrom(MCFragment *F) {
   53|       |  // If this fragment wasn't already valid, we don't need to do anything.
   54|    236|  if (!isFragmentValid(F))
  ------------------
  |  Branch (54:7): [True: 3, False: 233]
  ------------------
   55|      3|    return;
   56|       |
   57|       |  // Otherwise, reset the last valid fragment to the previous fragment
   58|       |  // (if this is the first fragment, it will be NULL).
   59|    233|  LastValidFragment[F->getParent()] = F->getPrevNode();
   60|    233|}
_ZNK7llvm_ks11MCAsmLayout11ensureValidEPKNS_10MCFragmentE:
   63|  90.2k|{
   64|  90.2k|  MCSection *Sec = F->getParent();
   65|  90.2k|  MCSection::iterator I;
   66|  90.2k|  if (MCFragment *Cur = LastValidFragment[Sec])
  ------------------
  |  Branch (66:19): [True: 80.8k, False: 9.35k]
  ------------------
   67|  80.8k|    I = ++MCSection::iterator(Cur);
   68|  9.35k|  else
   69|  9.35k|    I = Sec->begin();
   70|       |
   71|       |  // Advance the layout position until the fragment is valid.
   72|   147k|  while (!isFragmentValid(F)) {
  ------------------
  |  Branch (72:10): [True: 60.6k, False: 86.3k]
  ------------------
   73|       |    //assert(I != Sec->end() && "Layout bookkeeping error");
   74|  60.6k|    if (I == Sec->end())
  ------------------
  |  Branch (74:9): [True: 1.08k, False: 59.5k]
  ------------------
   75|  1.08k|        return false;
   76|  59.5k|    if (const_cast<MCAsmLayout *>(this)->layoutFragment(&*I))
  ------------------
  |  Branch (76:9): [True: 2.74k, False: 56.8k]
  ------------------
   77|  2.74k|        return false;
   78|  56.8k|    ++I;
   79|  56.8k|  }
   80|       |
   81|  86.3k|  return true;
   82|  90.2k|}
_ZNK7llvm_ks11MCAsmLayout17getFragmentOffsetEPKNS_10MCFragmentERb:
   85|  90.2k|{
   86|  90.2k|  valid = true;
   87|  90.2k|  if (!ensureValid(F)) {
  ------------------
  |  Branch (87:7): [True: 3.83k, False: 86.3k]
  ------------------
   88|  3.83k|      valid = false;
   89|  3.83k|      return 0;
   90|  3.83k|  }
   91|       |  //assert(F->Offset != ~UINT64_C(0) && "Address not set!");
   92|  86.3k|  if (F->Offset == ~UINT64_C(0)) {
  ------------------
  |  Branch (92:7): [True: 0, False: 86.3k]
  ------------------
   93|      0|      valid = false;
   94|      0|      return 0;
   95|      0|  }
   96|       |
   97|  86.3k|  return F->Offset;
   98|  86.3k|}
_ZNK7llvm_ks11MCAsmLayout15getSymbolOffsetERKNS_8MCSymbolERmRb:
  156|  1.94k|{
  157|  1.94k|  return getSymbolOffsetImpl(*this, S, false, Val, valid);
  158|  1.94k|}
_ZNK7llvm_ks11MCAsmLayout15getSymbolOffsetERKNS_8MCSymbolERb:
  161|  13.8k|{
  162|  13.8k|  uint64_t Val;
  163|  13.8k|  getSymbolOffsetImpl(*this, S, true, Val, valid);
  164|  13.8k|  return Val;
  165|  13.8k|}
_ZNK7llvm_ks11MCAsmLayout18getSectionFileSizeEPKNS_9MCSectionE:
  212|     35|uint64_t MCAsmLayout::getSectionFileSize(const MCSection *Sec) const {
  213|       |  // Virtual sections have no file size.
  214|     35|  if (Sec->isVirtualSection())
  ------------------
  |  Branch (214:7): [True: 35, False: 0]
  ------------------
  215|     35|    return 0;
  216|       |
  217|       |  // Otherwise, the file size is the same as the address space size.
  218|      0|  return getSectionAddressSize(Sec);
  219|     35|}
_ZN7llvm_ks17ilist_node_traitsINS_10MCFragmentEE10deleteNodeEPS1_:
  264|  58.8k|void ilist_node_traits<MCFragment>::deleteNode(MCFragment *V) {
  265|  58.8k|  V->destroy();
  266|  58.8k|}
_ZN7llvm_ks10MCFragmentC2Ev:
  268|  19.5k|MCFragment::MCFragment() : Kind(FragmentType(~0)), HasInstructions(false),
  269|  19.5k|                           AlignToBundleEnd(false), BundlePadding(0) {
  270|  19.5k|}
_ZN7llvm_ks10MCFragmentD2Ev:
  272|   905k|MCFragment::~MCFragment() { }
_ZN7llvm_ks10MCFragmentC2ENS0_12FragmentTypeEbhPNS_9MCSectionE:
  276|   886k|    : Kind(Kind), HasInstructions(HasInstructions), AlignToBundleEnd(false),
  277|   886k|      BundlePadding(BundlePadding), Parent(Parent), Atom(nullptr),
  278|   886k|      Offset(~UINT64_C(0)) {
  279|   886k|  if (Parent && !isDummy())
  ------------------
  |  Branch (279:7): [True: 827k, False: 58.8k]
  |  Branch (279:17): [True: 0, False: 827k]
  ------------------
  280|      0|    Parent->getFragmentList().push_back(this);
  281|   886k|}
_ZN7llvm_ks10MCFragment7destroyEv:
  283|  58.8k|void MCFragment::destroy() {
  284|       |  // First check if we are the sentinal.
  285|  58.8k|  if (Kind == FragmentType(~0)) {
  ------------------
  |  Branch (285:7): [True: 0, False: 58.8k]
  ------------------
  286|      0|    delete this;
  287|      0|    return;
  288|      0|  }
  289|       |
  290|  58.8k|  switch (Kind) {
  ------------------
  |  Branch (290:11): [True: 58.8k, False: 0]
  ------------------
  291|  19.9k|    case FT_Align:
  ------------------
  |  Branch (291:5): [True: 19.9k, False: 38.8k]
  ------------------
  292|  19.9k|      delete cast<MCAlignFragment>(this);
  293|  19.9k|      return;
  294|  14.7k|    case FT_Data:
  ------------------
  |  Branch (294:5): [True: 14.7k, False: 44.0k]
  ------------------
  295|  14.7k|      delete cast<MCDataFragment>(this);
  296|  14.7k|      return;
  297|      0|    case FT_CompactEncodedInst:
  ------------------
  |  Branch (297:5): [True: 0, False: 58.8k]
  ------------------
  298|      0|      delete cast<MCCompactEncodedInstFragment>(this);
  299|      0|      return;
  300|  5.30k|    case FT_Fill:
  ------------------
  |  Branch (300:5): [True: 5.30k, False: 53.4k]
  ------------------
  301|  5.30k|      delete cast<MCFillFragment>(this);
  302|  5.30k|      return;
  303|  7.37k|    case FT_Relaxable:
  ------------------
  |  Branch (303:5): [True: 7.37k, False: 51.4k]
  ------------------
  304|  7.37k|      delete cast<MCRelaxableFragment>(this);
  305|  7.37k|      return;
  306|  11.4k|    case FT_Org:
  ------------------
  |  Branch (306:5): [True: 11.4k, False: 47.3k]
  ------------------
  307|  11.4k|      delete cast<MCOrgFragment>(this);
  308|  11.4k|      return;
  309|      0|    case FT_Dwarf:
  ------------------
  |  Branch (309:5): [True: 0, False: 58.8k]
  ------------------
  310|      0|      delete cast<MCDwarfLineAddrFragment>(this);
  311|      0|      return;
  312|      0|    case FT_DwarfFrame:
  ------------------
  |  Branch (312:5): [True: 0, False: 58.8k]
  ------------------
  313|      0|      delete cast<MCDwarfCallFrameFragment>(this);
  314|      0|      return;
  315|     47|    case FT_LEB:
  ------------------
  |  Branch (315:5): [True: 47, False: 58.7k]
  ------------------
  316|     47|      delete cast<MCLEBFragment>(this);
  317|     47|      return;
  318|      0|    case FT_SafeSEH:
  ------------------
  |  Branch (318:5): [True: 0, False: 58.8k]
  ------------------
  319|      0|      delete cast<MCSafeSEHFragment>(this);
  320|      0|      return;
  321|      0|    case FT_Dummy:
  ------------------
  |  Branch (321:5): [True: 0, False: 58.8k]
  ------------------
  322|      0|      delete cast<MCDummyFragment>(this);
  323|      0|      return;
  324|  58.8k|  }
  325|  58.8k|}
MCFragment.cpp:_ZL19getSymbolOffsetImplRKN7llvm_ks11MCAsmLayoutERKNS_8MCSymbolEbRmRb:
  119|  15.7k|{
  120|  15.7k|  valid = true;
  121|  15.7k|  if (!S.isVariable())
  ------------------
  |  Branch (121:7): [True: 13.6k, False: 2.07k]
  ------------------
  122|  13.6k|    return getLabelOffset(Layout, S, ReportError, Val);
  123|       |
  124|       |  // If SD is a variable, evaluate it.
  125|  2.07k|  MCValue Target;
  126|  2.07k|  if (!S.getVariableValue()->evaluateAsValue(Target, Layout)) {
  ------------------
  |  Branch (126:7): [True: 319, False: 1.75k]
  ------------------
  127|       |    //report_fatal_error("unable to evaluate offset for variable '" +
  128|       |    //                   S.getName() + "'");
  129|    319|    valid = false;
  130|    319|    return false;
  131|    319|  }
  132|       |
  133|  1.75k|  uint64_t Offset = Target.getConstant();
  134|       |
  135|  1.75k|  const MCSymbolRefExpr *A = Target.getSymA();
  136|  1.75k|  if (A) {
  ------------------
  |  Branch (136:7): [True: 1.38k, False: 369]
  ------------------
  137|  1.38k|    uint64_t ValA;
  138|  1.38k|    if (!getLabelOffset(Layout, A->getSymbol(), ReportError, ValA))
  ------------------
  |  Branch (138:9): [True: 26, False: 1.35k]
  ------------------
  139|     26|      return false;
  140|  1.35k|    Offset += ValA;
  141|  1.35k|  }
  142|       |
  143|  1.72k|  const MCSymbolRefExpr *B = Target.getSymB();
  144|  1.72k|  if (B) {
  ------------------
  |  Branch (144:7): [True: 368, False: 1.35k]
  ------------------
  145|    368|    uint64_t ValB;
  146|    368|    if (!getLabelOffset(Layout, B->getSymbol(), ReportError, ValB))
  ------------------
  |  Branch (146:9): [True: 24, False: 344]
  ------------------
  147|     24|      return false;
  148|    344|    Offset -= ValB;
  149|    344|  }
  150|       |
  151|  1.70k|  Val = Offset;
  152|  1.70k|  return true;
  153|  1.72k|}
MCFragment.cpp:_ZL14getLabelOffsetRKN7llvm_ks11MCAsmLayoutERKNS_8MCSymbolEbRm:
  103|  15.4k|{
  104|  15.4k|  if (!S.getFragment()) {
  ------------------
  |  Branch (104:7): [True: 788, False: 14.6k]
  ------------------
  105|    788|    if (ReportError)
  ------------------
  |  Branch (105:9): [True: 0, False: 788]
  ------------------
  106|      0|      report_fatal_error("unable to evaluate offset to undefined symbol '" +
  107|      0|                         S.getName() + "'");
  108|    788|    return false;
  109|    788|  }
  110|       |
  111|  14.6k|  bool valid;
  112|  14.6k|  Val = Layout.getFragmentOffset(S.getFragment(), valid) + S.getOffset();
  113|       |
  114|  14.6k|  return valid;
  115|  15.4k|}

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

_ZN7llvm_ks16MCObjectStreamerC2ERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterE:
   32|  19.0k|    : MCStreamer(Context),
   33|  19.0k|      Assembler(new MCAssembler(Context, TAB, *Emitter_,
   34|  19.0k|                                *TAB.createObjectWriter(OS))),
   35|  19.0k|      EmitEHFrame(true), EmitDebugFrame(false) {}
_ZN7llvm_ks16MCObjectStreamerD2Ev:
   37|  19.0k|MCObjectStreamer::~MCObjectStreamer() {
   38|  19.0k|  delete &Assembler->getWriter();
   39|  19.0k|  delete Assembler;
   40|  19.0k|}
_ZN7llvm_ks16MCObjectStreamer18flushPendingLabelsEPNS_10MCFragmentEm:
   42|  83.2M|void MCObjectStreamer::flushPendingLabels(MCFragment *F, uint64_t FOffset) {
   43|  83.2M|  if (PendingLabels.empty())
  ------------------
  |  Branch (43:7): [True: 83.2M, False: 14.0k]
  ------------------
   44|  83.2M|    return;
   45|  14.0k|  if (!F) {
  ------------------
  |  Branch (45:7): [True: 5.75k, False: 8.24k]
  ------------------
   46|  5.75k|    F = new MCDataFragment();
   47|  5.75k|    MCSection *CurSection = getCurrentSectionOnly();
   48|  5.75k|    CurSection->getFragmentList().insert(CurInsertionPoint, F);
   49|  5.75k|    F->setParent(CurSection);
   50|  5.75k|  }
   51|  21.0k|  for (MCSymbol *Sym : PendingLabels) {
  ------------------
  |  Branch (51:22): [True: 21.0k, False: 14.0k]
  ------------------
   52|  21.0k|    Sym->setFragment(F);
   53|  21.0k|    Sym->setOffset(FOffset);
   54|  21.0k|  }
   55|  14.0k|  PendingLabels.clear();
   56|  14.0k|}
_ZN7llvm_ks16MCObjectStreamer10EmitFramesEPNS_12MCAsmBackendE:
   83|  8.80k|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|  8.80k|}
_ZNK7llvm_ks16MCObjectStreamer18getCurrentFragmentEv:
   96|  83.7M|MCFragment *MCObjectStreamer::getCurrentFragment() const {
   97|  83.7M|  assert(getCurrentSectionOnly() && "No current section!");
  ------------------
  |  Branch (97:3): [True: 83.7M, False: 0]
  |  Branch (97:3): [True: 83.7M, Folded]
  |  Branch (97:3): [True: 83.7M, False: 0]
  ------------------
   98|       |
   99|  83.7M|  if (CurInsertionPoint != getCurrentSectionOnly()->getFragmentList().begin())
  ------------------
  |  Branch (99:7): [True: 83.3M, False: 390k]
  ------------------
  100|  83.3M|    return &*std::prev(CurInsertionPoint);
  101|       |
  102|   390k|  return nullptr;
  103|  83.7M|}
_ZN7llvm_ks16MCObjectStreamer23getOrCreateDataFragmentEv:
  105|  83.1M|MCDataFragment *MCObjectStreamer::getOrCreateDataFragment() {
  106|  83.1M|  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|  83.1M|  if (!F || (Assembler->isBundlingEnabled() && !Assembler->getRelaxAll() &&
  ------------------
  |  Branch (109:7): [True: 8.98k, False: 83.1M]
  |  Branch (109:14): [True: 0, False: 83.1M]
  |  Branch (109:48): [True: 0, False: 0]
  ------------------
  110|  8.98k|             F->hasInstructions())) {
  ------------------
  |  Branch (110:14): [True: 0, False: 0]
  ------------------
  111|  8.98k|    F = new MCDataFragment();
  112|  8.98k|    insert(F);
  113|  8.98k|  }
  114|  83.1M|  return F;
  115|  83.1M|}
_ZN7llvm_ks16MCObjectStreamer15visitUsedSymbolERKNS_8MCSymbolE:
  117|   242k|void MCObjectStreamer::visitUsedSymbol(const MCSymbol &Sym) {
  118|   242k|  Assembler->registerSymbol(Sym);
  119|   242k|}
_ZN7llvm_ks16MCObjectStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  129|  48.8k|{
  130|  48.8k|  MCStreamer::EmitValueImpl(Value, Size, Loc);
  131|  48.8k|  MCDataFragment *DF = getOrCreateDataFragment();
  132|  48.8k|  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|  48.8k|  int64_t AbsValue;
  149|  48.8k|  bool Error;
  150|  48.8k|  if (Value->evaluateAsAbsolute(AbsValue, getAssembler())) {
  ------------------
  |  Branch (150:7): [True: 4.14k, False: 44.7k]
  ------------------
  151|       |    // TODO: hande Error?
  152|  4.14k|    EmitIntValue(AbsValue, Size, Error);
  153|  4.14k|    return;
  154|  4.14k|  }
  155|  44.7k|  DF->getFixups().push_back(
  156|  44.7k|      MCFixup::create(DF->getContents().size(), Value,
  157|  44.7k|                      MCFixup::getKindForSize(Size, false), Loc));
  158|  44.7k|  DF->getContents().resize(DF->getContents().size() + Size, 0);
  159|  44.7k|}
_ZN7llvm_ks16MCObjectStreamer9EmitLabelEPNS_8MCSymbolE:
  172|   192k|void MCObjectStreamer::EmitLabel(MCSymbol *Symbol) {
  173|   192k|  MCStreamer::EmitLabel(Symbol);
  174|       |
  175|   192k|  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|   192k|  auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  181|   192k|  if (F && !(getAssembler().isBundlingEnabled() &&
  ------------------
  |  Branch (181:7): [True: 36.3k, False: 156k]
  |  Branch (181:14): [True: 0, False: 36.3k]
  ------------------
  182|  36.3k|             getAssembler().getRelaxAll())) {
  ------------------
  |  Branch (182:14): [True: 0, False: 0]
  ------------------
  183|  36.3k|    Symbol->setFragment(F);
  184|  36.3k|    Symbol->setOffset(F->getContents().size());
  185|   156k|  } else {
  186|   156k|    PendingLabels.push_back(Symbol);
  187|   156k|  }
  188|   192k|}
_ZN7llvm_ks16MCObjectStreamer16EmitULEB128ValueEPKNS_6MCExprE:
  190|     96|void MCObjectStreamer::EmitULEB128Value(const MCExpr *Value) {
  191|     96|  int64_t IntValue;
  192|     96|  if (Value->evaluateAsAbsolute(IntValue, getAssembler())) {
  ------------------
  |  Branch (192:7): [True: 78, False: 18]
  ------------------
  193|     78|    EmitULEB128IntValue(IntValue);
  194|     78|    return;
  195|     78|  }
  196|     18|  insert(new MCLEBFragment(*Value, false));
  197|     18|}
_ZN7llvm_ks16MCObjectStreamer16EmitSLEB128ValueEPKNS_6MCExprE:
  199|    113|void MCObjectStreamer::EmitSLEB128Value(const MCExpr *Value) {
  200|    113|  int64_t IntValue;
  201|    113|  if (Value->evaluateAsAbsolute(IntValue, getAssembler())) {
  ------------------
  |  Branch (201:7): [True: 84, False: 29]
  ------------------
  202|     84|    EmitSLEB128IntValue(IntValue);
  203|     84|    return;
  204|     84|  }
  205|     29|  insert(new MCLEBFragment(*Value, true));
  206|     29|}
_ZN7llvm_ks16MCObjectStreamer13ChangeSectionEPNS_9MCSectionEPKNS_6MCExprE:
  214|  20.5k|                                     const MCExpr *Subsection) {
  215|  20.5k|  changeSectionImpl(Section, Subsection);
  216|  20.5k|}
_ZN7llvm_ks16MCObjectStreamer17changeSectionImplEPNS_9MCSectionEPKNS_6MCExprE:
  219|  20.5k|                                         const MCExpr *Subsection) {
  220|  20.5k|  assert(Section && "Cannot switch to a null section!");
  ------------------
  |  Branch (220:3): [True: 20.5k, False: 0]
  |  Branch (220:3): [True: 20.5k, Folded]
  |  Branch (220:3): [True: 20.5k, False: 0]
  ------------------
  221|  20.5k|  flushPendingLabels(nullptr);
  222|       |
  223|  20.5k|  bool Created = getAssembler().registerSection(*Section);
  224|       |
  225|  20.5k|  int64_t IntSubsection = 0;
  226|  20.5k|  if (Subsection &&
  ------------------
  |  Branch (226:7): [True: 0, False: 20.5k]
  ------------------
  227|      0|      !Subsection->evaluateAsAbsolute(IntSubsection, getAssembler()))
  ------------------
  |  Branch (227:7): [True: 0, False: 0]
  ------------------
  228|      0|    report_fatal_error("Cannot evaluate subsection number");
  229|  20.5k|  if (IntSubsection < 0 || IntSubsection > 8192)
  ------------------
  |  Branch (229:7): [True: 0, False: 20.5k]
  |  Branch (229:28): [True: 0, False: 20.5k]
  ------------------
  230|      0|    report_fatal_error("Subsection number out of range");
  231|  20.5k|  CurInsertionPoint =
  232|  20.5k|      Section->getSubsectionInsertionPoint(unsigned(IntSubsection));
  233|  20.5k|  return Created;
  234|  20.5k|}
_ZN7llvm_ks16MCObjectStreamer14EmitAssignmentEPNS_8MCSymbolEPKNS_6MCExprE:
  236|   452k|bool MCObjectStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  237|   452k|  getAssembler().registerSymbol(*Symbol);
  238|   452k|  return MCStreamer::EmitAssignment(Symbol, Value);
  239|   452k|}
_ZN7llvm_ks16MCObjectStreamer15EmitInstructionERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  248|  32.2k|{
  249|  32.2k|  MCStreamer::EmitInstruction(Inst, STI, KsError);
  250|       |
  251|  32.2k|  MCSection *Sec = getCurrentSectionOnly();
  252|  32.2k|  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|  32.2k|  MCAssembler &Assembler = getAssembler();
  261|  32.2k|  if (!Assembler.getBackend().mayNeedRelaxation(Inst)) {
  ------------------
  |  Branch (261:7): [True: 24.8k, False: 7.37k]
  ------------------
  262|  24.8k|    EmitInstToData(Inst, STI, KsError);
  263|  24.8k|    return;
  264|  24.8k|  }
  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|  7.37k|  if (Assembler.getRelaxAll() ||
  ------------------
  |  Branch (271:7): [True: 0, False: 7.37k]
  ------------------
  272|  7.37k|      (Assembler.isBundlingEnabled() && Sec->isBundleLocked())) {
  ------------------
  |  Branch (272:8): [True: 0, False: 7.37k]
  |  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|  7.37k|  EmitInstToFragment(Inst, STI);
  283|  7.37k|}
_ZN7llvm_ks16MCObjectStreamer18EmitInstToFragmentERNS_6MCInstERKNS_15MCSubtargetInfoE:
  287|  7.37k|{
  288|  7.37k|  if (getAssembler().getRelaxAll() && getAssembler().isBundlingEnabled())
  ------------------
  |  Branch (288:7): [True: 0, False: 7.37k]
  |  Branch (288:39): [True: 0, False: 0]
  ------------------
  289|      0|    llvm_unreachable("All instructions should have already been relaxed");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  290|       |
  291|       |  // Always create a new, separate fragment here, because its size can change
  292|       |  // during relaxation.
  293|  7.37k|  MCRelaxableFragment *IF = new MCRelaxableFragment(Inst, STI);
  294|  7.37k|  insert(IF);
  295|       |
  296|  7.37k|  SmallString<128> Code;
  297|  7.37k|  raw_svector_ostream VecOS(Code);
  298|  7.37k|  unsigned int KsError;
  299|  7.37k|  getAssembler().getEmitter().encodeInstruction(Inst, VecOS, IF->getFixups(),
  300|  7.37k|                                                STI, KsError);
  301|  7.37k|  IF->getContents().append(Code.begin(), Code.end());
  302|  7.37k|}
_ZN7llvm_ks16MCObjectStreamer9EmitBytesENS_9StringRefE:
  428|  83.1M|void MCObjectStreamer::EmitBytes(StringRef Data) {
  429|       |  //MCCVLineEntry::Make(this);
  430|       |  //MCDwarfLineEntry::Make(this, getCurrentSection().first);
  431|  83.1M|  MCDataFragment *DF = getOrCreateDataFragment();
  432|  83.1M|  flushPendingLabels(DF, DF->getContents().size());
  433|  83.1M|  DF->getContents().append(Data.begin(), Data.end());
  434|  83.1M|}
_ZN7llvm_ks16MCObjectStreamer20EmitValueToAlignmentEjljj:
  439|  19.9k|                                            unsigned MaxBytesToEmit) {
  440|  19.9k|  if (MaxBytesToEmit == 0)
  ------------------
  |  Branch (440:7): [True: 19.1k, False: 734]
  ------------------
  441|  19.1k|    MaxBytesToEmit = ByteAlignment;
  442|  19.9k|  insert(new MCAlignFragment(ByteAlignment, Value, ValueSize, MaxBytesToEmit));
  443|       |
  444|       |  // Update the maximum alignment on the current section if necessary.
  445|  19.9k|  MCSection *CurSec = getCurrentSection().first;
  446|  19.9k|  if (ByteAlignment > CurSec->getAlignment())
  ------------------
  |  Branch (446:7): [True: 207, False: 19.7k]
  ------------------
  447|    207|    CurSec->setAlignment(ByteAlignment);
  448|  19.9k|}
_ZN7llvm_ks16MCObjectStreamer17EmitCodeAlignmentEjj:
  451|  1.14k|                                         unsigned MaxBytesToEmit) {
  452|  1.14k|  EmitValueToAlignment(ByteAlignment, 0, 1, MaxBytesToEmit);
  453|  1.14k|  cast<MCAlignFragment>(getCurrentFragment())->setEmitNops(true);
  454|  1.14k|}
_ZN7llvm_ks16MCObjectStreamer17emitValueToOffsetEPKNS_6MCExprEh:
  457|  11.4k|                                         unsigned char Value) {
  458|  11.4k|  insert(new MCOrgFragment(*Offset, Value));
  459|  11.4k|}
_ZN7llvm_ks16MCObjectStreamer18EmitRelocDirectiveERKNS_6MCExprENS_9StringRefEPS2_NS_5SMLocE:
  482|    869|                                          const MCExpr *Expr, SMLoc Loc) {
  483|    869|  int64_t OffsetValue;
  484|    869|  if (!Offset.evaluateAsAbsolute(OffsetValue))
  ------------------
  |  Branch (484:7): [True: 0, False: 869]
  ------------------
  485|      0|    llvm_unreachable("Offset is not absolute");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  486|       |
  487|    869|  if (OffsetValue < 0)
  ------------------
  |  Branch (487:7): [True: 0, False: 869]
  ------------------
  488|      0|    llvm_unreachable("Offset is negative");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  489|       |
  490|    869|  MCDataFragment *DF = getOrCreateDataFragment();
  491|    869|  flushPendingLabels(DF, DF->getContents().size());
  492|       |
  493|    869|  Optional<MCFixupKind> MaybeKind = Assembler->getBackend().getFixupKind(Name);
  494|    869|  if (!MaybeKind.hasValue())
  ------------------
  |  Branch (494:7): [True: 869, False: 0]
  ------------------
  495|    869|    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|    869|}
_ZN7llvm_ks16MCObjectStreamer8EmitFillEmh:
  506|  5.30k|void MCObjectStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue) {
  507|  5.30k|  const MCSection *Sec = getCurrentSection().first;
  508|  5.30k|  (void)Sec;
  509|  5.30k|  assert(Sec && "need a section");
  ------------------
  |  Branch (509:3): [True: 5.30k, False: 0]
  |  Branch (509:3): [True: 5.30k, Folded]
  |  Branch (509:3): [True: 5.30k, False: 0]
  ------------------
  510|  5.30k|  insert(new MCFillFragment(FillValue, NumBytes));
  511|  5.30k|}
_ZN7llvm_ks16MCObjectStreamer10FinishImplEv:
  514|  8.80k|{
  515|  8.80k|  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|  8.80k|  flushPendingLabels(nullptr);
  524|  8.80k|  getAssembler().setSymResolver(getSymResolver());
  525|  8.80k|  getAssembler().Finish(KsError);
  526|       |
  527|  8.80k|  return KsError;
  528|  8.80k|}
_ZN7llvm_ks16MCObjectStreamer22getCurrentFragmentSizeEv:
  530|   351k|uint64_t MCObjectStreamer::getCurrentFragmentSize() {
  531|   351k|  auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  532|   351k|  if (nullptr != F)
  ------------------
  |  Branch (532:7): [True: 62.6k, False: 289k]
  ------------------
  533|  62.6k|      return F->getContents().size();
  534|   289k|  return 0;
  535|   351k|}

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

_ZN7llvm_ks8AsmLexerC2ERKNS_9MCAsmInfoE:
   24|  19.0k|AsmLexer::AsmLexer(const MCAsmInfo &MAI) : MAI(MAI) {
   25|  19.0k|  CurPtr = nullptr;
   26|  19.0k|  isAtStartOfLine = true;
   27|  19.0k|  AllowAtInIdentifier = !StringRef(MAI.getCommentString()).startswith("@");
   28|  19.0k|  defaultRadix = MAI.getRadix();
   29|  19.0k|}
_ZN7llvm_ks8AsmLexerD2Ev:
   31|  19.0k|AsmLexer::~AsmLexer() {
   32|  19.0k|}
_ZN7llvm_ks8AsmLexer9setBufferENS_9StringRefEPKc:
   34|  75.5k|void AsmLexer::setBuffer(StringRef Buf, const char *ptr) {
   35|  75.5k|  CurBuf = Buf;
   36|       |
   37|  75.5k|  if (ptr)
  ------------------
  |  Branch (37:7): [True: 28.2k, False: 47.3k]
  ------------------
   38|  28.2k|    CurPtr = ptr;
   39|  47.3k|  else
   40|  47.3k|    CurPtr = CurBuf.begin();
   41|       |
   42|  75.5k|  TokStart = nullptr;
   43|  75.5k|}
_ZN7llvm_ks8AsmLexer11ReturnErrorEPKcRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
   48|  2.70M|{
   49|       |  //SetError(SMLoc::getFromPointer(Loc), Msg);
   50|       |
   51|  2.70M|  return AsmToken(AsmToken::Error, StringRef(Loc, 0));
   52|  2.70M|}
_ZN7llvm_ks8AsmLexer11getNextCharEv:
   54|  28.2M|int AsmLexer::getNextChar() {
   55|  28.2M|  char CurChar = *CurPtr++;
   56|  28.2M|  switch (CurChar) {
   57|  28.1M|  default:
  ------------------
  |  Branch (57:3): [True: 28.1M, False: 32.2k]
  ------------------
   58|  28.1M|    return (unsigned char)CurChar;
   59|  32.2k|  case 0:
  ------------------
  |  Branch (59:3): [True: 32.2k, False: 28.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|  32.2k|    if (CurPtr - 1 != CurBuf.end())
  ------------------
  |  Branch (62:9): [True: 0, False: 32.2k]
  ------------------
   63|      0|      return 0;  // Just whitespace.
   64|       |
   65|       |    // Otherwise, return end of file.
   66|  32.2k|    --CurPtr;  // Another call to lex will return EOF again.
   67|       |    return EOF;
   68|  28.2M|  }
   69|  28.2M|}
_ZN7llvm_ks8AsmLexer15LexFloatLiteralEv:
   76|   165k|AsmToken AsmLexer::LexFloatLiteral() {
   77|       |  // Skip the fractional digit sequence.
   78|   165k|  while (isdigit(*CurPtr))
  ------------------
  |  Branch (78:10): [True: 0, False: 165k]
  ------------------
   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|   165k|  if (*CurPtr == 'e' || *CurPtr == 'E') {
  ------------------
  |  Branch (84:7): [True: 2.31k, False: 162k]
  |  Branch (84:25): [True: 5.90k, False: 156k]
  ------------------
   85|  8.21k|    ++CurPtr;
   86|  8.21k|    if (*CurPtr == '-' || *CurPtr == '+')
  ------------------
  |  Branch (86:9): [True: 2.20k, False: 6.01k]
  |  Branch (86:27): [True: 283, False: 5.73k]
  ------------------
   87|  2.48k|      ++CurPtr;
   88|  31.3k|    while (isdigit(*CurPtr))
  ------------------
  |  Branch (88:12): [True: 23.1k, False: 8.21k]
  ------------------
   89|  23.1k|      ++CurPtr;
   90|  8.21k|  }
   91|       |
   92|   165k|  return AsmToken(AsmToken::Real,
   93|   165k|                  StringRef(TokStart, CurPtr - TokStart));
   94|   165k|}
_ZN7llvm_ks8AsmLexer18LexHexFloatLiteralEb:
  103|  7.01k|{
  104|  7.01k|  assert((*CurPtr == 'p' || *CurPtr == 'P' || *CurPtr == '.') &&
  ------------------
  |  Branch (104:3): [True: 2.74k, False: 4.26k]
  |  Branch (104:3): [True: 759, False: 3.50k]
  |  Branch (104:3): [True: 3.50k, False: 0]
  |  Branch (104:3): [True: 7.01k, Folded]
  |  Branch (104:3): [True: 7.01k, False: 0]
  ------------------
  105|  7.01k|         "unexpected parse state in floating hex");
  106|  7.01k|  bool NoFracDigits = true;
  107|       |
  108|       |  // Skip the fractional part if there is one
  109|  7.01k|  if (*CurPtr == '.') {
  ------------------
  |  Branch (109:7): [True: 3.50k, False: 3.50k]
  ------------------
  110|  3.50k|    ++CurPtr;
  111|       |
  112|  3.50k|    const char *FracStart = CurPtr;
  113|  23.4k|    while (isxdigit(*CurPtr))
  ------------------
  |  Branch (113:12): [True: 19.9k, False: 3.50k]
  ------------------
  114|  19.9k|      ++CurPtr;
  115|       |
  116|  3.50k|    NoFracDigits = CurPtr == FracStart;
  117|  3.50k|  }
  118|       |
  119|  7.01k|  if (NoIntDigits && NoFracDigits)
  ------------------
  |  Branch (119:7): [True: 3.07k, False: 3.94k]
  |  Branch (119:22): [True: 957, False: 2.11k]
  ------------------
  120|    957|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  121|    957|                                 "expected at least one significand digit");
  122|       |
  123|       |  // Make sure we do have some kind of proper exponent part
  124|  6.05k|  if (*CurPtr != 'p' && *CurPtr != 'P')
  ------------------
  |  Branch (124:7): [True: 2.36k, False: 3.68k]
  |  Branch (124:25): [True: 1.12k, False: 1.24k]
  ------------------
  125|  1.12k|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  126|  1.12k|                                 "expected exponent part 'p'");
  127|  4.92k|  ++CurPtr;
  128|       |
  129|  4.92k|  if (*CurPtr == '+' || *CurPtr == '-')
  ------------------
  |  Branch (129:7): [True: 1.31k, False: 3.61k]
  |  Branch (129:25): [True: 1.76k, False: 1.84k]
  ------------------
  130|  3.07k|    ++CurPtr;
  131|       |
  132|       |  // N.b. exponent digits are *not* hex
  133|  4.92k|  const char *ExpStart = CurPtr;
  134|  23.6k|  while (isdigit(*CurPtr))
  ------------------
  |  Branch (134:10): [True: 18.7k, False: 4.92k]
  ------------------
  135|  18.7k|    ++CurPtr;
  136|       |
  137|  4.92k|  if (CurPtr == ExpStart)
  ------------------
  |  Branch (137:7): [True: 986, False: 3.94k]
  ------------------
  138|    986|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  139|    986|                                 "expected at least one exponent digit");
  140|       |
  141|  3.94k|  return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart));
  142|  4.92k|}
_ZN7llvm_ks8AsmLexer13LexIdentifierEv:
  149|  4.15M|AsmToken AsmLexer::LexIdentifier() {
  150|       |  // Check for floating point literals.
  151|  4.15M|  if (CurPtr[-1] == '.' && isdigit(*CurPtr)) {
  ------------------
  |  Branch (151:7): [True: 1.65M, False: 2.50M]
  |  Branch (151:28): [True: 177k, False: 1.47M]
  ------------------
  152|       |    // Disambiguate a .1243foo identifier from a floating literal.
  153|  1.70M|    while (isdigit(*CurPtr))
  ------------------
  |  Branch (153:12): [True: 1.52M, False: 177k]
  ------------------
  154|  1.52M|      ++CurPtr;
  155|   177k|    if (*CurPtr == 'e' || *CurPtr == 'E' ||
  ------------------
  |  Branch (155:9): [True: 2.31k, False: 175k]
  |  Branch (155:27): [True: 5.90k, False: 169k]
  ------------------
  156|   169k|        !IsIdentifierChar(*CurPtr, AllowAtInIdentifier))
  ------------------
  |  Branch (156:9): [True: 156k, False: 12.8k]
  ------------------
  157|   165k|      return LexFloatLiteral();
  158|   177k|  }
  159|       |
  160|  14.7M|  while (IsIdentifierChar(*CurPtr, AllowAtInIdentifier))
  ------------------
  |  Branch (160:10): [True: 10.7M, False: 3.99M]
  ------------------
  161|  10.7M|    ++CurPtr;
  162|       |
  163|       |  // Handle . as a special case.
  164|  3.99M|  if (CurPtr == TokStart+1 && TokStart[0] == '.')
  ------------------
  |  Branch (164:7): [True: 1.59M, False: 2.39M]
  |  Branch (164:31): [True: 486k, False: 1.10M]
  ------------------
  165|   486k|    return AsmToken(AsmToken::Dot, StringRef(TokStart, 1));
  166|       |
  167|  3.50M|  return AsmToken(AsmToken::Identifier, StringRef(TokStart, CurPtr - TokStart));
  168|  3.99M|}
_ZN7llvm_ks8AsmLexer8LexSlashEv:
  173|  42.4k|{
  174|  42.4k|  switch (*CurPtr) {
  175|    274|  case '*': break; // C style comment.
  ------------------
  |  Branch (175:3): [True: 274, False: 42.1k]
  ------------------
  176|  8.03k|  case '/': return ++CurPtr, LexLineComment();
  ------------------
  |  Branch (176:3): [True: 8.03k, False: 34.4k]
  ------------------
  177|  34.1k|  default:  return AsmToken(AsmToken::Slash, StringRef(CurPtr-1, 1));
  ------------------
  |  Branch (177:3): [True: 34.1k, False: 8.31k]
  ------------------
  178|  42.4k|  }
  179|       |
  180|       |  // C Style comment.
  181|    274|  ++CurPtr;  // skip the star.
  182|    980|  while (1) {
  ------------------
  |  Branch (182:10): [True: 980, Folded]
  ------------------
  183|    980|    int CurChar = getNextChar();
  184|    980|    switch (CurChar) {
  ------------------
  |  Branch (184:13): [True: 603, False: 377]
  ------------------
  185|     37|    case EOF:
  ------------------
  |  Branch (185:5): [True: 37, False: 943]
  ------------------
  186|     37|      return ReturnError(TokStart, "unterminated comment");
  187|    566|    case '*':
  ------------------
  |  Branch (187:5): [True: 566, False: 414]
  ------------------
  188|       |      // End of the comment?
  189|    566|      if (CurPtr[0] != '/') break;
  ------------------
  |  Branch (189:11): [True: 329, False: 237]
  ------------------
  190|       |
  191|    237|      ++CurPtr;   // End the */.
  192|    237|      return LexToken();
  193|    980|    }
  194|    980|  }
  195|    274|}
_ZN7llvm_ks8AsmLexer14LexLineCommentEv:
  199|  74.3k|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|  74.3k|  int CurChar = getNextChar();
  203|  1.30M|  while (CurChar != '\n' && CurChar != '\r' && CurChar != EOF)
  ------------------
  |  Branch (203:10): [True: 1.25M, False: 49.4k]
  |  Branch (203:29): [True: 1.23M, False: 24.6k]
  |  Branch (203:48): [True: 1.23M, False: 266]
  ------------------
  204|  1.23M|    CurChar = getNextChar();
  205|       |
  206|  74.3k|  if (CurChar == EOF)
  ------------------
  |  Branch (206:7): [True: 266, False: 74.1k]
  ------------------
  207|    266|    return AsmToken(AsmToken::Eof, StringRef(TokStart, 0));
  208|  74.1k|  return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 0));
  209|  74.3k|}
_ZN7llvm_ks8AsmLexer8LexDigitEv:
  259|  1.95M|{
  260|       |  // Decimal integer: [1-9][0-9]*
  261|  1.95M|  if (CurPtr[-1] != '0' || CurPtr[0] == '.') {
  ------------------
  |  Branch (261:7): [True: 951k, False: 998k]
  |  Branch (261:28): [True: 1.88k, False: 996k]
  ------------------
  262|   953k|    unsigned Radix = doLookAhead(CurPtr, 10);
  263|       |
  264|   953k|    if (defaultRadix == 16)
  ------------------
  |  Branch (264:9): [True: 953k, False: 0]
  ------------------
  265|   953k|      Radix = 16;
  266|       |
  267|   953k|    bool isHex = Radix == 16;
  268|       |    // Check for floating point literals.
  269|   953k|    if (!isHex && (*CurPtr == '.' || *CurPtr == 'e')) {
  ------------------
  |  Branch (269:9): [True: 0, False: 953k]
  |  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|   953k|    StringRef Result(TokStart, CurPtr - TokStart);
  275|       |
  276|   953k|    APInt Value(128, 0, true);
  277|   953k|    if (Result.getAsInteger(Radix, Value))
  ------------------
  |  Branch (277:9): [True: 0, False: 953k]
  ------------------
  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|   953k|    if (defaultRadix != 16) {
  ------------------
  |  Branch (282:9): [True: 0, False: 953k]
  ------------------
  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|   953k|    SkipIgnoredIntegerSuffix(CurPtr);
  290|       |
  291|   953k|    return intToken(Result, Value);
  292|   953k|  }
  293|       |
  294|   996k|  if (*CurPtr == 'b') {
  ------------------
  |  Branch (294:7): [True: 4.61k, False: 992k]
  ------------------
  295|  4.61k|    ++CurPtr;
  296|       |    // See if we actually have "0b" as part of something like "jmp 0b\n"
  297|  4.61k|    if (!isdigit(CurPtr[0])) {
  ------------------
  |  Branch (297:9): [True: 1.94k, False: 2.67k]
  ------------------
  298|  1.94k|      --CurPtr;
  299|  1.94k|      StringRef Result(TokStart, CurPtr - TokStart);
  300|  1.94k|      return AsmToken(AsmToken::Integer, Result, 0);
  301|  1.94k|    }
  302|  2.67k|    const char *NumStart = CurPtr;
  303|  32.0k|    while (CurPtr[0] == '0' || CurPtr[0] == '1')
  ------------------
  |  Branch (303:12): [True: 27.5k, False: 4.51k]
  |  Branch (303:32): [True: 1.83k, False: 2.67k]
  ------------------
  304|  29.3k|      ++CurPtr;
  305|       |
  306|       |    // Requires at least one binary digit.
  307|  2.67k|    if (CurPtr == NumStart)
  ------------------
  |  Branch (307:9): [True: 263, False: 2.41k]
  ------------------
  308|    263|      return ReturnError(TokStart, "invalid binary number");
  309|       |
  310|  2.41k|    StringRef Result(TokStart, CurPtr - TokStart);
  311|       |
  312|  2.41k|    APInt Value(128, 0, true);
  313|  2.41k|    if (Result.substr(2).getAsInteger(2, Value))
  ------------------
  |  Branch (313:9): [True: 0, False: 2.41k]
  ------------------
  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|  2.41k|    SkipIgnoredIntegerSuffix(CurPtr);
  319|       |
  320|  2.41k|    return intToken(Result, Value);
  321|  2.41k|  }
  322|       |
  323|   992k|  if (*CurPtr == 'x' || *CurPtr == 'X') {
  ------------------
  |  Branch (323:7): [True: 8.39k, False: 983k]
  |  Branch (323:25): [True: 3.49k, False: 980k]
  ------------------
  324|  11.8k|    ++CurPtr;
  325|  11.8k|    const char *NumStart = CurPtr;
  326|  91.7k|    while (isxdigit(CurPtr[0]))
  ------------------
  |  Branch (326:12): [True: 79.8k, False: 11.8k]
  ------------------
  327|  79.8k|      ++CurPtr;
  328|       |
  329|       |    // "0x.0p0" is valid, and "0x0p0" (but not "0xp0" for example, which will be
  330|       |    // diagnosed by LexHexFloatLiteral).
  331|  11.8k|    if (CurPtr[0] == '.' || CurPtr[0] == 'p' || CurPtr[0] == 'P')
  ------------------
  |  Branch (331:9): [True: 3.50k, False: 8.37k]
  |  Branch (331:29): [True: 2.74k, False: 5.63k]
  |  Branch (331:49): [True: 759, False: 4.87k]
  ------------------
  332|  7.01k|      return LexHexFloatLiteral(NumStart == CurPtr);
  333|       |
  334|       |    // Otherwise requires at least one hex digit.
  335|  4.87k|    if (CurPtr == NumStart)
  ------------------
  |  Branch (335:9): [True: 1.43k, False: 3.44k]
  ------------------
  336|  1.43k|      return ReturnError(CurPtr-2, "invalid hexadecimal number");
  337|       |
  338|  3.44k|    APInt Result(128, 0);
  339|  3.44k|    if (StringRef(TokStart, CurPtr - TokStart).getAsInteger(0, Result))
  ------------------
  |  Branch (339:9): [True: 0, False: 3.44k]
  ------------------
  340|      0|      return ReturnError(TokStart, "invalid hexadecimal number");
  341|       |
  342|       |    // Consume the optional [hH].
  343|  3.44k|    if (*CurPtr == 'h' || *CurPtr == 'H')
  ------------------
  |  Branch (343:9): [True: 89, False: 3.35k]
  |  Branch (343:27): [True: 143, False: 3.20k]
  ------------------
  344|    232|      ++CurPtr;
  345|       |
  346|       |    // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  347|       |    // suffixes on integer literals.
  348|  3.44k|    SkipIgnoredIntegerSuffix(CurPtr);
  349|       |
  350|  3.44k|    return intToken(StringRef(TokStart, CurPtr - TokStart), Result);
  351|  3.44k|  }
  352|       |
  353|       |  // Either octal or hexadecimal.
  354|   980k|  APInt Value(128, 0, true);
  355|   980k|  unsigned Radix = doLookAhead(CurPtr, 8);
  356|   980k|  bool isHex = Radix == 16;
  357|   980k|  StringRef Result(TokStart, CurPtr - TokStart);
  358|   980k|  if (Result.getAsInteger(Radix, Value))
  ------------------
  |  Branch (358:7): [True: 3.41k, False: 976k]
  ------------------
  359|  3.41k|    return ReturnError(TokStart, !isHex ? "invalid octal number" :
  ------------------
  |  Branch (359:34): [True: 3.41k, False: 0]
  ------------------
  360|  3.41k|                       "invalid hexdecimal number");
  361|       |
  362|       |  // Consume the [hH].
  363|   976k|  if (Radix == 16)
  ------------------
  |  Branch (363:7): [True: 5.07k, False: 971k]
  ------------------
  364|  5.07k|    ++CurPtr;
  365|       |
  366|       |  // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  367|       |  // suffixes on integer literals.
  368|   976k|  SkipIgnoredIntegerSuffix(CurPtr);
  369|       |
  370|   976k|  return intToken(Result, Value);
  371|   980k|}
_ZN7llvm_ks8AsmLexer14LexSingleQuoteEv:
  375|  18.5k|{
  376|  18.5k|  int CurChar = getNextChar();
  377|       |
  378|  18.5k|  if (CurChar == '\\')
  ------------------
  |  Branch (378:7): [True: 2.20k, False: 16.3k]
  ------------------
  379|  2.20k|    CurChar = getNextChar();
  380|       |
  381|  18.5k|  if (CurChar == EOF)
  ------------------
  |  Branch (381:7): [True: 25, False: 18.4k]
  ------------------
  382|     25|    return ReturnError(TokStart, "unterminated single quote");
  383|       |
  384|  18.4k|  CurChar = getNextChar();
  385|       |
  386|  18.4k|  if (CurChar != '\'')
  ------------------
  |  Branch (386:7): [True: 16.2k, False: 2.22k]
  ------------------
  387|  16.2k|    return ReturnError(TokStart, "single quote way too long");
  388|       |
  389|       |  // The idea here being that 'c' is basically just an integral
  390|       |  // constant.
  391|  2.22k|  StringRef Res = StringRef(TokStart,CurPtr - TokStart);
  392|  2.22k|  long long Value;
  393|       |
  394|  2.22k|  if (Res.startswith("\'\\")) {
  ------------------
  |  Branch (394:7): [True: 1.18k, False: 1.03k]
  ------------------
  395|  1.18k|    char theChar = Res[2];
  396|  1.18k|    switch (theChar) {
  397|    294|      default: Value = theChar; break;
  ------------------
  |  Branch (397:7): [True: 294, False: 895]
  ------------------
  398|    519|      case '\'': Value = '\''; break;
  ------------------
  |  Branch (398:7): [True: 519, False: 670]
  ------------------
  399|     76|      case 't': Value = '\t'; break;
  ------------------
  |  Branch (399:7): [True: 76, False: 1.11k]
  ------------------
  400|    203|      case 'n': Value = '\n'; break;
  ------------------
  |  Branch (400:7): [True: 203, False: 986]
  ------------------
  401|     97|      case 'b': Value = '\b'; break;
  ------------------
  |  Branch (401:7): [True: 97, False: 1.09k]
  ------------------
  402|  1.18k|    }
  403|  1.18k|  } else
  404|  1.03k|    Value = TokStart[1];
  405|       |
  406|  2.22k|  return AsmToken(AsmToken::Integer, Res, Value);
  407|  2.22k|}
_ZN7llvm_ks8AsmLexer8LexQuoteEv:
  412|  29.7k|{
  413|  29.7k|  int CurChar = getNextChar();
  414|       |  // TODO: does gas allow multiline string constants?
  415|   309k|  while (CurChar != '"') {
  ------------------
  |  Branch (415:10): [True: 280k, False: 29.6k]
  ------------------
  416|   280k|    if (CurChar == '\\') {
  ------------------
  |  Branch (416:9): [True: 18.7k, False: 261k]
  ------------------
  417|       |      // Allow \", etc.
  418|  18.7k|      CurChar = getNextChar();
  419|  18.7k|    }
  420|       |
  421|   280k|    if (CurChar == EOF)
  ------------------
  |  Branch (421:9): [True: 163, False: 279k]
  ------------------
  422|    163|      return ReturnError(TokStart, "unterminated string constant");
  423|       |
  424|   279k|    CurChar = getNextChar();
  425|   279k|  }
  426|       |
  427|  29.6k|  return AsmToken(AsmToken::String, StringRef(TokStart, CurPtr - TokStart));
  428|  29.7k|}
_ZN7llvm_ks8AsmLexer22LexUntilEndOfStatementEv:
  430|  4.06k|StringRef AsmLexer::LexUntilEndOfStatement() {
  431|  4.06k|  TokStart = CurPtr;
  432|       |
  433|   179k|  while (!isAtStartOfComment(CurPtr) &&     // Start of line comment.
  ------------------
  |  Branch (433:10): [True: 178k, False: 573]
  ------------------
  434|   178k|         !isAtStatementSeparator(CurPtr) && // End of statement marker.
  ------------------
  |  Branch (434:10): [True: 177k, False: 713]
  ------------------
  435|   177k|         *CurPtr != '\n' && *CurPtr != '\r' &&
  ------------------
  |  Branch (435:10): [True: 175k, False: 2.03k]
  |  Branch (435:29): [True: 175k, False: 588]
  ------------------
  436|   175k|         (*CurPtr != 0 || CurPtr != CurBuf.end())) {
  ------------------
  |  Branch (436:11): [True: 175k, False: 149]
  |  Branch (436:27): [True: 0, False: 149]
  ------------------
  437|   175k|    ++CurPtr;
  438|   175k|  }
  439|  4.06k|  return StringRef(TokStart, CurPtr-TokStart);
  440|  4.06k|}
_ZN7llvm_ks8AsmLexer17LexUntilEndOfLineEv:
  442|  25.6k|StringRef AsmLexer::LexUntilEndOfLine() {
  443|  25.6k|  TokStart = CurPtr;
  444|       |
  445|   399k|  while (*CurPtr != '\n' && *CurPtr != '\r' &&
  ------------------
  |  Branch (445:10): [True: 387k, False: 12.2k]
  |  Branch (445:29): [True: 374k, False: 13.3k]
  ------------------
  446|   374k|         (*CurPtr != 0 || CurPtr != CurBuf.end())) {
  ------------------
  |  Branch (446:11): [True: 373k, False: 103]
  |  Branch (446:27): [True: 0, False: 103]
  ------------------
  447|   373k|    ++CurPtr;
  448|   373k|  }
  449|  25.6k|  return StringRef(TokStart, CurPtr-TokStart);
  450|  25.6k|}
_ZN7llvm_ks8AsmLexer10peekTokensENS_15MutableArrayRefINS_8AsmTokenEEEb:
  454|  11.4k|{
  455|  11.4k|  const char *SavedTokStart = TokStart;
  456|  11.4k|  const char *SavedCurPtr = CurPtr;
  457|  11.4k|  bool SavedAtStartOfLine = isAtStartOfLine;
  458|  11.4k|  bool SavedSkipSpace = SkipSpace;
  459|       |
  460|  11.4k|  std::string SavedErr = getErr();
  461|  11.4k|  SMLoc SavedErrLoc = getErrLoc();
  462|       |
  463|  11.4k|  SkipSpace = ShouldSkipSpace;
  464|       |
  465|  11.4k|  size_t ReadCount;
  466|  23.1k|  for (ReadCount = 0; ReadCount < Buf.size(); ++ReadCount) {
  ------------------
  |  Branch (466:23): [True: 11.7k, False: 11.3k]
  ------------------
  467|  11.7k|    AsmToken Token = LexToken();
  468|       |
  469|  11.7k|    Buf[ReadCount] = Token;
  470|       |
  471|  11.7k|    if (Token.is(AsmToken::Eof))
  ------------------
  |  Branch (471:9): [True: 29, False: 11.7k]
  ------------------
  472|     29|      break;
  473|  11.7k|  }
  474|       |
  475|  11.4k|  SetError(SavedErrLoc, SavedErr);
  476|       |
  477|  11.4k|  SkipSpace = SavedSkipSpace;
  478|  11.4k|  isAtStartOfLine = SavedAtStartOfLine;
  479|  11.4k|  CurPtr = SavedCurPtr;
  480|  11.4k|  TokStart = SavedTokStart;
  481|       |
  482|  11.4k|  return ReadCount;
  483|  11.4k|}
_ZN7llvm_ks8AsmLexer18isAtStartOfCommentEPKc:
  485|  26.7M|bool AsmLexer::isAtStartOfComment(const char *Ptr) {
  486|  26.7M|  const char *CommentString = MAI.getCommentString();
  487|       |
  488|  26.7M|  if (CommentString[1] == '\0')
  ------------------
  |  Branch (488:7): [True: 26.7M, False: 0]
  ------------------
  489|  26.7M|    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|  26.5M|bool AsmLexer::isAtStatementSeparator(const char *Ptr) {
  499|  26.5M|  return strncmp(Ptr, MAI.getSeparatorString(),
  500|  26.5M|                 strlen(MAI.getSeparatorString())) == 0;
  501|  26.5M|}
_ZN7llvm_ks8AsmLexer8LexTokenEv:
  504|  26.5M|{
  505|  26.5M|  TokStart = CurPtr;
  506|       |  // This always consumes at least one character.
  507|  26.5M|  int CurChar = getNextChar();
  508|       |
  509|  26.5M|  if (isAtStartOfComment(TokStart)) {
  ------------------
  |  Branch (509:7): [True: 109k, False: 26.4M]
  ------------------
  510|       |    // If this comment starts with a '#', then return the Hash token and let
  511|       |    // the assembler parser see if it can be parsed as a cpp line filename
  512|       |    // comment. We do this only if we are at the start of a line.
  513|   109k|    if (CurChar == '#' && isAtStartOfLine)
  ------------------
  |  Branch (513:9): [True: 109k, False: 196]
  |  Branch (513:27): [True: 43.5k, False: 66.1k]
  ------------------
  514|  43.5k|      return AsmToken(AsmToken::Hash, StringRef(TokStart, 1));
  515|  66.3k|    isAtStartOfLine = true;
  516|  66.3k|    return LexLineComment();
  517|   109k|  }
  518|  26.4M|  if (isAtStatementSeparator(TokStart)) {
  ------------------
  |  Branch (518:7): [True: 8.28M, False: 18.1M]
  ------------------
  519|  8.28M|    CurPtr += strlen(MAI.getSeparatorString()) - 1;
  520|  8.28M|    return AsmToken(AsmToken::EndOfStatement,
  521|  8.28M|                    StringRef(TokStart, strlen(MAI.getSeparatorString())));
  522|  8.28M|  }
  523|       |
  524|       |  // If we're missing a newline at EOF, make sure we still get an
  525|       |  // EndOfStatement token before the Eof token.
  526|  18.1M|  if (CurChar == EOF && !isAtStartOfLine) {
  ------------------
  |  Branch (526:7): [True: 31.7k, False: 18.1M]
  |  Branch (526:25): [True: 15.8k, False: 15.8k]
  ------------------
  527|  15.8k|    isAtStartOfLine = true;
  528|  15.8k|    return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 1));
  529|  15.8k|  }
  530|       |
  531|  18.1M|  isAtStartOfLine = false;
  532|  18.1M|  switch (CurChar) {
  533|  6.83M|  default:
  ------------------
  |  Branch (533:3): [True: 6.83M, False: 11.2M]
  ------------------
  534|       |    // Handle identifier: [a-zA-Z_.][a-zA-Z0-9_$.@]*
  535|  6.83M|    if (isalpha(CurChar) || CurChar == '_' || CurChar == '.')
  ------------------
  |  Branch (535:9): [True: 2.45M, False: 4.37M]
  |  Branch (535:29): [True: 48.7k, False: 4.33M]
  |  Branch (535:47): [True: 1.65M, False: 2.67M]
  ------------------
  536|  4.15M|      return LexIdentifier();
  537|       |
  538|       |    // Unknown character, emit an error.
  539|  2.67M|    return ReturnError(TokStart, "invalid character in input");
  540|  15.8k|  case EOF: return AsmToken(AsmToken::Eof, StringRef(TokStart, 0));
  ------------------
  |  Branch (540:3): [True: 15.8k, False: 18.1M]
  ------------------
  541|      0|  case 0:
  ------------------
  |  Branch (541:3): [True: 0, False: 18.1M]
  ------------------
  542|   272k|  case ' ':
  ------------------
  |  Branch (542:3): [True: 272k, False: 17.8M]
  ------------------
  543|   318k|  case '\t':
  ------------------
  |  Branch (543:3): [True: 45.7k, False: 18.0M]
  ------------------
  544|   318k|    if (SkipSpace) {
  ------------------
  |  Branch (544:9): [True: 318k, False: 0]
  ------------------
  545|       |      // Ignore whitespace.
  546|   318k|      return LexToken();
  547|   318k|    } 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.04M|  case '\n': // FALL THROUGH.
  ------------------
  |  Branch (555:3): [True: 1.04M, False: 17.0M]
  ------------------
  556|  1.86M|  case '\r':
  ------------------
  |  Branch (556:3): [True: 823k, False: 17.2M]
  ------------------
  557|  1.86M|    isAtStartOfLine = true;
  558|  1.86M|    return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 1));
  559|  12.4k|  case ':': return AsmToken(AsmToken::Colon, StringRef(TokStart, 1));
  ------------------
  |  Branch (559:3): [True: 12.4k, False: 18.1M]
  ------------------
  560|   161k|  case '+': return AsmToken(AsmToken::Plus, StringRef(TokStart, 1));
  ------------------
  |  Branch (560:3): [True: 161k, False: 17.9M]
  ------------------
  561|   694k|  case '-': return AsmToken(AsmToken::Minus, StringRef(TokStart, 1));
  ------------------
  |  Branch (561:3): [True: 694k, False: 17.4M]
  ------------------
  562|  94.6k|  case '~': return AsmToken(AsmToken::Tilde, StringRef(TokStart, 1));
  ------------------
  |  Branch (562:3): [True: 94.6k, False: 18.0M]
  ------------------
  563|   265k|  case '(': return AsmToken(AsmToken::LParen, StringRef(TokStart, 1));
  ------------------
  |  Branch (563:3): [True: 265k, False: 17.8M]
  ------------------
  564|  20.4k|  case ')': return AsmToken(AsmToken::RParen, StringRef(TokStart, 1));
  ------------------
  |  Branch (564:3): [True: 20.4k, False: 18.0M]
  ------------------
  565|   210k|  case '[': return AsmToken(AsmToken::LBrac, StringRef(TokStart, 1));
  ------------------
  |  Branch (565:3): [True: 210k, False: 17.9M]
  ------------------
  566|  6.17k|  case ']': return AsmToken(AsmToken::RBrac, StringRef(TokStart, 1));
  ------------------
  |  Branch (566:3): [True: 6.17k, False: 18.1M]
  ------------------
  567|  8.84k|  case '{': return AsmToken(AsmToken::LCurly, StringRef(TokStart, 1));
  ------------------
  |  Branch (567:3): [True: 8.84k, False: 18.1M]
  ------------------
  568|   171k|  case '}': return AsmToken(AsmToken::RCurly, StringRef(TokStart, 1));
  ------------------
  |  Branch (568:3): [True: 171k, False: 17.9M]
  ------------------
  569|   139k|  case '*': return AsmToken(AsmToken::Star, StringRef(TokStart, 1));
  ------------------
  |  Branch (569:3): [True: 139k, False: 17.9M]
  ------------------
  570|  1.14M|  case ',': return AsmToken(AsmToken::Comma, StringRef(TokStart, 1));
  ------------------
  |  Branch (570:3): [True: 1.14M, False: 16.9M]
  ------------------
  571|  86.0k|  case '$': return AsmToken(AsmToken::Dollar, StringRef(TokStart, 1));
  ------------------
  |  Branch (571:3): [True: 86.0k, False: 18.0M]
  ------------------
  572|   436k|  case '@': return AsmToken(AsmToken::At, StringRef(TokStart, 1));
  ------------------
  |  Branch (572:3): [True: 436k, False: 17.6M]
  ------------------
  573|   648k|  case '\\': return AsmToken(AsmToken::BackSlash, StringRef(TokStart, 1));
  ------------------
  |  Branch (573:3): [True: 648k, False: 17.4M]
  ------------------
  574|  1.55M|  case '=':
  ------------------
  |  Branch (574:3): [True: 1.55M, False: 16.5M]
  ------------------
  575|  1.55M|    if (*CurPtr == '=')
  ------------------
  |  Branch (575:9): [True: 990, False: 1.55M]
  ------------------
  576|    990|      return ++CurPtr, AsmToken(AsmToken::EqualEqual, StringRef(TokStart, 2));
  577|  1.55M|    return AsmToken(AsmToken::Equal, StringRef(TokStart, 1));
  578|   710k|  case '|':
  ------------------
  |  Branch (578:3): [True: 710k, False: 17.4M]
  ------------------
  579|   710k|    if (*CurPtr == '|')
  ------------------
  |  Branch (579:9): [True: 98.6k, False: 611k]
  ------------------
  580|  98.6k|      return ++CurPtr, AsmToken(AsmToken::PipePipe, StringRef(TokStart, 2));
  581|   611k|    return AsmToken(AsmToken::Pipe, StringRef(TokStart, 1));
  582|   181k|  case '^': return AsmToken(AsmToken::Caret, StringRef(TokStart, 1));
  ------------------
  |  Branch (582:3): [True: 181k, False: 17.9M]
  ------------------
  583|  29.9k|  case '&':
  ------------------
  |  Branch (583:3): [True: 29.9k, False: 18.0M]
  ------------------
  584|  29.9k|    if (*CurPtr == '&')
  ------------------
  |  Branch (584:9): [True: 1.10k, False: 28.8k]
  ------------------
  585|  1.10k|      return ++CurPtr, AsmToken(AsmToken::AmpAmp, StringRef(TokStart, 2));
  586|  28.8k|    return AsmToken(AsmToken::Amp, StringRef(TokStart, 1));
  587|  26.9k|  case '!':
  ------------------
  |  Branch (587:3): [True: 26.9k, False: 18.0M]
  ------------------
  588|  26.9k|    if (*CurPtr == '=')
  ------------------
  |  Branch (588:9): [True: 824, False: 26.1k]
  ------------------
  589|    824|      return ++CurPtr, AsmToken(AsmToken::ExclaimEqual, StringRef(TokStart, 2));
  590|  26.1k|    return AsmToken(AsmToken::Exclaim, StringRef(TokStart, 1));
  591|   129k|  case '%': return AsmToken(AsmToken::Percent, StringRef(TokStart, 1));
  ------------------
  |  Branch (591:3): [True: 129k, False: 17.9M]
  ------------------
  592|  42.4k|  case '/': return LexSlash();
  ------------------
  |  Branch (592:3): [True: 42.4k, False: 18.0M]
  ------------------
  593|    231|  case '#': return AsmToken(AsmToken::Hash, StringRef(TokStart, 1));
  ------------------
  |  Branch (593:3): [True: 231, False: 18.1M]
  ------------------
  594|  18.5k|  case '\'': return LexSingleQuote();
  ------------------
  |  Branch (594:3): [True: 18.5k, False: 18.0M]
  ------------------
  595|  29.7k|  case '"': return LexQuote();
  ------------------
  |  Branch (595:3): [True: 29.7k, False: 18.0M]
  ------------------
  596|  1.36M|  case '0': case '1': case '2': case '3': case '4':
  ------------------
  |  Branch (596:3): [True: 998k, False: 17.1M]
  |  Branch (596:13): [True: 99.1k, False: 18.0M]
  |  Branch (596:23): [True: 122k, False: 17.9M]
  |  Branch (596:33): [True: 65.0k, False: 18.0M]
  |  Branch (596:43): [True: 77.2k, False: 18.0M]
  ------------------
  597|  1.95M|  case '5': case '6': case '7': case '8': case '9':
  ------------------
  |  Branch (597:3): [True: 37.6k, False: 18.0M]
  |  Branch (597:13): [True: 293k, False: 17.8M]
  |  Branch (597:23): [True: 175k, False: 17.9M]
  |  Branch (597:33): [True: 42.6k, False: 18.0M]
  |  Branch (597:43): [True: 39.0k, False: 18.0M]
  ------------------
  598|  1.95M|    return LexDigit();
  599|   104k|  case '<':
  ------------------
  |  Branch (599:3): [True: 104k, False: 18.0M]
  ------------------
  600|   104k|    switch (*CurPtr) {
  601|  2.42k|    case '<': return ++CurPtr, AsmToken(AsmToken::LessLess,
  ------------------
  |  Branch (601:5): [True: 2.42k, False: 101k]
  ------------------
  602|  2.42k|                                        StringRef(TokStart, 2));
  603|    900|    case '=': return ++CurPtr, AsmToken(AsmToken::LessEqual,
  ------------------
  |  Branch (603:5): [True: 900, False: 103k]
  ------------------
  604|    900|                                        StringRef(TokStart, 2));
  605|    372|    case '>': return ++CurPtr, AsmToken(AsmToken::LessGreater,
  ------------------
  |  Branch (605:5): [True: 372, False: 103k]
  ------------------
  606|    372|                                        StringRef(TokStart, 2));
  607|   100k|    default: return AsmToken(AsmToken::Less, StringRef(TokStart, 1));
  ------------------
  |  Branch (607:5): [True: 100k, False: 3.69k]
  ------------------
  608|   104k|    }
  609|   199k|  case '>':
  ------------------
  |  Branch (609:3): [True: 199k, False: 17.9M]
  ------------------
  610|   199k|    switch (*CurPtr) {
  611|  27.4k|    case '>': return ++CurPtr, AsmToken(AsmToken::GreaterGreater,
  ------------------
  |  Branch (611:5): [True: 27.4k, False: 172k]
  ------------------
  612|  27.4k|                                        StringRef(TokStart, 2));
  613|  43.5k|    case '=': return ++CurPtr, AsmToken(AsmToken::GreaterEqual,
  ------------------
  |  Branch (613:5): [True: 43.5k, False: 156k]
  ------------------
  614|  43.5k|                                        StringRef(TokStart, 2));
  615|   128k|    default: return AsmToken(AsmToken::Greater, StringRef(TokStart, 1));
  ------------------
  |  Branch (615:5): [True: 128k, False: 70.9k]
  ------------------
  616|   199k|    }
  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|  18.1M|  }
  623|  18.1M|}
AsmLexer.cpp:_ZL16IsIdentifierCharcb:
  145|  14.9M|static bool IsIdentifierChar(char c, bool AllowAt) {
  146|  14.9M|  return isalnum(c) || c == '_' || c == '$' || c == '.' ||
  ------------------
  |  Branch (146:10): [True: 10.4M, False: 4.50M]
  |  Branch (146:24): [True: 106k, False: 4.39M]
  |  Branch (146:36): [True: 17.5k, False: 4.37M]
  |  Branch (146:48): [True: 147k, False: 4.23M]
  ------------------
  147|  4.23M|         (c == '@' && AllowAt) || c == '?';
  ------------------
  |  Branch (147:11): [True: 63.9k, False: 4.16M]
  |  Branch (147:23): [True: 63.9k, False: 0]
  |  Branch (147:35): [True: 15.2k, False: 4.15M]
  ------------------
  148|  14.9M|}
AsmLexer.cpp:_ZL11doLookAheadRPKcj:
  223|  1.93M|static unsigned doLookAhead(const char *&CurPtr, unsigned DefaultRadix) {
  224|  1.93M|  const char *FirstHex = nullptr;
  225|  1.93M|  const char *LookAhead = CurPtr;
  226|  4.04M|  while (1) {
  ------------------
  |  Branch (226:10): [True: 4.04M, Folded]
  ------------------
  227|  4.04M|    if (isdigit(*LookAhead)) {
  ------------------
  |  Branch (227:9): [True: 2.05M, False: 1.98M]
  ------------------
  228|  2.05M|      ++LookAhead;
  229|  2.05M|    } else if (isxdigit(*LookAhead)) {
  ------------------
  |  Branch (229:16): [True: 55.3k, False: 1.93M]
  ------------------
  230|  55.3k|      if (!FirstHex)
  ------------------
  |  Branch (230:11): [True: 33.9k, False: 21.3k]
  ------------------
  231|  33.9k|        FirstHex = LookAhead;
  232|  55.3k|      ++LookAhead;
  233|  1.93M|    } else {
  234|  1.93M|      break;
  235|  1.93M|    }
  236|  4.04M|  }
  237|  1.93M|  bool isHex = *LookAhead == 'h' || *LookAhead == 'H';
  ------------------
  |  Branch (237:16): [True: 7.66k, False: 1.92M]
  |  Branch (237:37): [True: 60, False: 1.92M]
  ------------------
  238|  1.93M|  CurPtr = isHex || !FirstHex ? LookAhead : FirstHex;
  ------------------
  |  Branch (238:12): [True: 7.72k, False: 1.92M]
  |  Branch (238:21): [True: 1.89M, False: 33.9k]
  ------------------
  239|  1.93M|  if (isHex)
  ------------------
  |  Branch (239:7): [True: 7.72k, False: 1.92M]
  ------------------
  240|  7.72k|    return 16;
  241|  1.92M|  return DefaultRadix;
  242|  1.93M|}
AsmLexer.cpp:_ZL24SkipIgnoredIntegerSuffixRPKc:
  211|  1.93M|static void SkipIgnoredIntegerSuffix(const char *&CurPtr) {
  212|       |  // Skip ULL, UL, U, L and LL suffices.
  213|  1.93M|  if (CurPtr[0] == 'U')
  ------------------
  |  Branch (213:7): [True: 366, False: 1.93M]
  ------------------
  214|    366|    ++CurPtr;
  215|  1.93M|  if (CurPtr[0] == 'L')
  ------------------
  |  Branch (215:7): [True: 3.47k, False: 1.93M]
  ------------------
  216|  3.47k|    ++CurPtr;
  217|  1.93M|  if (CurPtr[0] == 'L')
  ------------------
  |  Branch (217:7): [True: 2.22k, False: 1.93M]
  ------------------
  218|  2.22k|    ++CurPtr;
  219|  1.93M|}
AsmLexer.cpp:_ZL8intTokenN7llvm_ks9StringRefERNS_5APIntE:
  245|  1.93M|{
  246|  1.93M|  if (Value.isIntN(64))
  ------------------
  |  Branch (246:7): [True: 1.93M, False: 3.33k]
  ------------------
  247|  1.93M|    return AsmToken(AsmToken::Integer, Ref, Value);
  248|  3.33k|  return AsmToken(AsmToken::BigNum, Ref, Value);
  249|  1.93M|}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

_ZN7llvm_ks5APInt12initSlowCaseEjmb:
   77|  1.94M|void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) {
   78|  1.94M|  pVal = getClearedMemory(getNumWords());
   79|  1.94M|  pVal[0] = val;
   80|  1.94M|  if (isSigned && int64_t(val) < 0)
  ------------------
  |  Branch (80:7): [True: 1.93M, False: 3.74k]
  |  Branch (80:19): [True: 0, False: 1.93M]
  ------------------
   81|      0|    for (unsigned i = 1; i < getNumWords(); ++i)
  ------------------
  |  Branch (81:26): [True: 0, False: 0]
  ------------------
   82|      0|      pVal[i] = -1ULL;
   83|  1.94M|}
_ZN7llvm_ks5APInt12initSlowCaseERKS0_:
   85|  3.40M|void APInt::initSlowCase(const APInt& that) {
   86|  3.40M|  pVal = getMemory(getNumWords());
   87|  3.40M|  memcpy(pVal, that.pVal, getNumWords() * APINT_WORD_SIZE);
   88|  3.40M|}
_ZN7llvm_ks5APInt14AssignSlowCaseERKS0_:
  123|  3.01k|APInt& APInt::AssignSlowCase(const APInt& RHS) {
  124|       |  // Don't do anything for X = X
  125|  3.01k|  if (this == &RHS)
  ------------------
  |  Branch (125:7): [True: 0, False: 3.01k]
  ------------------
  126|      0|    return *this;
  127|       |
  128|  3.01k|  if (BitWidth == RHS.getBitWidth()) {
  ------------------
  |  Branch (128:7): [True: 569, False: 2.44k]
  ------------------
  129|       |    // assume same bit-width single-word case is already handled
  130|    569|    assert(!isSingleWord());
  ------------------
  |  Branch (130:5): [True: 569, False: 0]
  ------------------
  131|    569|    memcpy(pVal, RHS.pVal, getNumWords() * APINT_WORD_SIZE);
  132|    569|    return *this;
  133|    569|  }
  134|       |
  135|  2.44k|  if (isSingleWord()) {
  ------------------
  |  Branch (135:7): [True: 1.54k, False: 901]
  ------------------
  136|       |    // assume case where both are single words is already handled
  137|  1.54k|    assert(!RHS.isSingleWord());
  ------------------
  |  Branch (137:5): [True: 1.54k, False: 0]
  ------------------
  138|  1.54k|    VAL = 0;
  139|  1.54k|    pVal = getMemory(RHS.getNumWords());
  140|  1.54k|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  141|  1.54k|  } else if (getNumWords() == RHS.getNumWords())
  ------------------
  |  Branch (141:14): [True: 11, False: 890]
  ------------------
  142|     11|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  143|    890|  else if (RHS.isSingleWord()) {
  ------------------
  |  Branch (143:12): [True: 839, False: 51]
  ------------------
  144|    839|    delete [] pVal;
  145|    839|    VAL = RHS.VAL;
  146|    839|  } else {
  147|     51|    delete [] pVal;
  148|     51|    pVal = getMemory(RHS.getNumWords());
  149|     51|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  150|     51|  }
  151|  2.44k|  BitWidth = RHS.BitWidth;
  152|  2.44k|  return clearUnusedBits();
  153|  2.44k|}
_ZN7llvm_ks5APIntaSEm:
  155|  1.70M|APInt& APInt::operator=(uint64_t RHS) {
  156|  1.70M|  if (isSingleWord())
  ------------------
  |  Branch (156:7): [True: 733, False: 1.70M]
  ------------------
  157|    733|    VAL = RHS;
  158|  1.70M|  else {
  159|  1.70M|    pVal[0] = RHS;
  160|  1.70M|    memset(pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
  161|  1.70M|  }
  162|  1.70M|  return clearUnusedBits();
  163|  1.70M|}
_ZN7llvm_ks5APIntpLERKS0_:
  254|  12.2k|APInt& APInt::operator+=(const APInt& RHS) {
  255|  12.2k|  assert(BitWidth == RHS.BitWidth && "Bit widths must be the same");
  ------------------
  |  Branch (255:3): [True: 12.2k, False: 0]
  |  Branch (255:3): [True: 12.2k, Folded]
  |  Branch (255:3): [True: 12.2k, False: 0]
  ------------------
  256|  12.2k|  if (isSingleWord())
  ------------------
  |  Branch (256:7): [True: 642, False: 11.6k]
  ------------------
  257|    642|    VAL += RHS.VAL;
  258|  11.6k|  else {
  259|  11.6k|    add(pVal, pVal, RHS.pVal, getNumWords());
  260|  11.6k|  }
  261|  12.2k|  return clearUnusedBits();
  262|  12.2k|}
_ZN7llvm_ks5APIntmLERKS0_:
  358|  12.2k|APInt& APInt::operator*=(const APInt& RHS) {
  359|  12.2k|  assert(BitWidth == RHS.BitWidth && "Bit widths must be the same");
  ------------------
  |  Branch (359:3): [True: 12.2k, False: 0]
  |  Branch (359:3): [True: 12.2k, Folded]
  |  Branch (359:3): [True: 12.2k, False: 0]
  ------------------
  360|  12.2k|  if (isSingleWord()) {
  ------------------
  |  Branch (360:7): [True: 642, False: 11.6k]
  ------------------
  361|    642|    VAL *= RHS.VAL;
  362|    642|    clearUnusedBits();
  363|    642|    return *this;
  364|    642|  }
  365|       |
  366|       |  // Get some bit facts about LHS and check for zero
  367|  11.6k|  unsigned lhsBits = getActiveBits();
  368|  11.6k|  unsigned lhsWords = !lhsBits ? 0 : whichWord(lhsBits - 1) + 1;
  ------------------
  |  Branch (368:23): [True: 151, False: 11.4k]
  ------------------
  369|  11.6k|  if (!lhsWords)
  ------------------
  |  Branch (369:7): [True: 151, False: 11.4k]
  ------------------
  370|       |    // 0 * X ===> 0
  371|    151|    return *this;
  372|       |
  373|       |  // Get some bit facts about RHS and check for zero
  374|  11.4k|  unsigned rhsBits = RHS.getActiveBits();
  375|  11.4k|  unsigned rhsWords = !rhsBits ? 0 : whichWord(rhsBits - 1) + 1;
  ------------------
  |  Branch (375:23): [True: 0, False: 11.4k]
  ------------------
  376|  11.4k|  if (!rhsWords) {
  ------------------
  |  Branch (376:7): [True: 0, False: 11.4k]
  ------------------
  377|       |    // X * 0 ===> 0
  378|      0|    clearAllBits();
  379|      0|    return *this;
  380|      0|  }
  381|       |
  382|       |  // Allocate space for the result
  383|  11.4k|  unsigned destWords = rhsWords + lhsWords;
  384|  11.4k|  uint64_t *dest = getMemory(destWords);
  385|       |
  386|       |  // Perform the long multiply
  387|  11.4k|  mul(dest, pVal, lhsWords, RHS.pVal, rhsWords);
  388|       |
  389|       |  // Copy result back into *this
  390|  11.4k|  clearAllBits();
  391|  11.4k|  unsigned wordsToCopy = destWords >= getNumWords() ? getNumWords() : destWords;
  ------------------
  |  Branch (391:26): [True: 2.17k, False: 9.28k]
  ------------------
  392|  11.4k|  memcpy(pVal, dest, wordsToCopy * APINT_WORD_SIZE);
  393|  11.4k|  clearUnusedBits();
  394|       |
  395|       |  // delete dest array and return
  396|  11.4k|  delete[] dest;
  397|  11.4k|  return *this;
  398|  11.4k|}
_ZNK7llvm_ks5APInt9getHiBitsEj:
  686|    270|APInt APInt::getHiBits(unsigned numBits) const {
  687|    270|  return APIntOps::lshr(*this, BitWidth - numBits);
  688|    270|}
_ZNK7llvm_ks5APInt9getLoBitsEj:
  691|    270|APInt APInt::getLoBits(unsigned numBits) const {
  692|    270|  return APIntOps::lshr(APIntOps::shl(*this, BitWidth - numBits),
  693|    270|                        BitWidth - numBits);
  694|    270|}
_ZNK7llvm_ks5APInt25countLeadingZerosSlowCaseEv:
  696|  2.29M|unsigned APInt::countLeadingZerosSlowCase() const {
  697|       |  // Treat the most significand word differently because it might have
  698|       |  // meaningless bits set beyond the precision.
  699|  2.29M|  unsigned BitsInMSW = BitWidth % APINT_BITS_PER_WORD;
  700|  2.29M|  integerPart MSWMask;
  701|  2.29M|  if (BitsInMSW) MSWMask = (integerPart(1) << BitsInMSW) - 1;
  ------------------
  |  Branch (701:7): [True: 23.0k, False: 2.26M]
  ------------------
  702|  2.26M|  else {
  703|  2.26M|    MSWMask = ~integerPart(0);
  704|  2.26M|    BitsInMSW = APINT_BITS_PER_WORD;
  705|  2.26M|  }
  706|       |
  707|  2.29M|  unsigned i = getNumWords();
  708|  2.29M|  integerPart MSW = pVal[i-1] & MSWMask;
  709|  2.29M|  if (MSW)
  ------------------
  |  Branch (709:7): [True: 4.17k, False: 2.28M]
  ------------------
  710|  4.17k|    return llvm_ks::countLeadingZeros(MSW) - (APINT_BITS_PER_WORD - BitsInMSW);
  711|       |
  712|  2.28M|  unsigned Count = BitsInMSW;
  713|  2.87M|  for (--i; i > 0u; --i) {
  ------------------
  |  Branch (713:13): [True: 2.87M, False: 402]
  ------------------
  714|  2.87M|    if (pVal[i-1] == 0)
  ------------------
  |  Branch (714:9): [True: 585k, False: 2.28M]
  ------------------
  715|   585k|      Count += APINT_BITS_PER_WORD;
  716|  2.28M|    else {
  717|  2.28M|      Count += llvm_ks::countLeadingZeros(pVal[i-1]);
  718|  2.28M|      break;
  719|  2.28M|    }
  720|  2.87M|  }
  721|  2.28M|  return Count;
  722|  2.29M|}
_ZNK7llvm_ks5APInt4zextEj:
  998|  1.39k|APInt APInt::zext(unsigned width) const {
  999|  1.39k|  assert(width > BitWidth && "Invalid APInt ZeroExtend request");
  ------------------
  |  Branch (999:3): [True: 1.39k, False: 0]
  |  Branch (999:3): [True: 1.39k, Folded]
  |  Branch (999:3): [True: 1.39k, False: 0]
  ------------------
 1000|       |
 1001|  1.39k|  if (width <= APINT_BITS_PER_WORD)
  ------------------
  |  Branch (1001:7): [True: 91, False: 1.30k]
  ------------------
 1002|     91|    return APInt(width, VAL);
 1003|       |
 1004|  1.30k|  APInt Result(getMemory(getNumWords(width)), width);
 1005|       |
 1006|       |  // Copy words.
 1007|  1.30k|  unsigned i;
 1008|  3.76k|  for (i = 0; i != getNumWords(); i++)
  ------------------
  |  Branch (1008:15): [True: 2.45k, False: 1.30k]
  ------------------
 1009|  2.45k|    Result.pVal[i] = getRawData()[i];
 1010|       |
 1011|       |  // Zero remaining words.
 1012|  1.30k|  memset(&Result.pVal[i], 0, (Result.getNumWords() - i) * APINT_WORD_SIZE);
 1013|       |
 1014|  1.30k|  return Result;
 1015|  1.39k|}
_ZNK7llvm_ks5APInt4lshrEj:
 1144|    540|APInt APInt::lshr(unsigned shiftAmt) const {
 1145|    540|  if (isSingleWord()) {
  ------------------
  |  Branch (1145:7): [True: 0, False: 540]
  ------------------
 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|    540|  if (shiftAmt >= BitWidth)
  ------------------
  |  Branch (1155:7): [True: 0, False: 540]
  ------------------
 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|    540|  if (shiftAmt == 0)
  ------------------
  |  Branch (1161:7): [True: 0, False: 540]
  ------------------
 1162|      0|    return *this;
 1163|       |
 1164|       |  // Create some space for the result.
 1165|    540|  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|    540|  if (shiftAmt < APINT_BITS_PER_WORD) {
  ------------------
  |  Branch (1168:7): [True: 0, False: 540]
  ------------------
 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|    540|  unsigned wordShift = shiftAmt % APINT_BITS_PER_WORD;
 1177|    540|  unsigned offset = shiftAmt / APINT_BITS_PER_WORD;
 1178|       |
 1179|       |  // If we are shifting whole words, just move whole words
 1180|    540|  if (wordShift == 0) {
  ------------------
  |  Branch (1180:7): [True: 536, False: 4]
  ------------------
 1181|  1.07k|    for (unsigned i = 0; i < getNumWords() - offset; ++i)
  ------------------
  |  Branch (1181:26): [True: 540, False: 536]
  ------------------
 1182|    540|      val[i] = pVal[i+offset];
 1183|  1.07k|    for (unsigned i = getNumWords()-offset; i < getNumWords(); i++)
  ------------------
  |  Branch (1183:45): [True: 536, False: 536]
  ------------------
 1184|    536|      val[i] = 0;
 1185|    536|    APInt Result(val, BitWidth);
 1186|    536|    Result.clearUnusedBits();
 1187|    536|    return Result;
 1188|    536|  }
 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|    540|}
_ZNK7llvm_ks5APInt11shlSlowCaseEj:
 1213|  2.95M|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|  2.95M|  if (shiftAmt == BitWidth)
  ------------------
  |  Branch (1217:7): [True: 0, False: 2.95M]
  ------------------
 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|  2.95M|  if (shiftAmt == 0)
  ------------------
  |  Branch (1223:7): [True: 0, False: 2.95M]
  ------------------
 1224|      0|    return *this;
 1225|       |
 1226|       |  // Create some space for the result.
 1227|  2.95M|  uint64_t * val = new uint64_t[getNumWords()];
 1228|       |
 1229|       |  // If we are shifting less than a word, do it the easy way
 1230|  2.95M|  if (shiftAmt < APINT_BITS_PER_WORD) {
  ------------------
  |  Branch (1230:7): [True: 2.95M, False: 270]
  ------------------
 1231|  2.95M|    uint64_t carry = 0;
 1232|  15.2M|    for (unsigned i = 0; i < getNumWords(); i++) {
  ------------------
  |  Branch (1232:26): [True: 12.2M, False: 2.95M]
  ------------------
 1233|  12.2M|      val[i] = pVal[i] << shiftAmt | carry;
 1234|  12.2M|      carry = pVal[i] >> (APINT_BITS_PER_WORD - shiftAmt);
 1235|  12.2M|    }
 1236|  2.95M|    APInt Result(val, BitWidth);
 1237|  2.95M|    Result.clearUnusedBits();
 1238|  2.95M|    return Result;
 1239|  2.95M|  }
 1240|       |
 1241|       |  // Compute some values needed by the remaining shift algorithms
 1242|    270|  unsigned wordShift = shiftAmt % APINT_BITS_PER_WORD;
 1243|    270|  unsigned offset = shiftAmt / APINT_BITS_PER_WORD;
 1244|       |
 1245|       |  // If we are shifting whole words, just move whole words
 1246|    270|  if (wordShift == 0) {
  ------------------
  |  Branch (1246:7): [True: 266, False: 4]
  ------------------
 1247|    532|    for (unsigned i = 0; i < offset; i++)
  ------------------
  |  Branch (1247:26): [True: 266, False: 266]
  ------------------
 1248|    266|      val[i] = 0;
 1249|    532|    for (unsigned i = offset; i < getNumWords(); i++)
  ------------------
  |  Branch (1249:31): [True: 266, False: 266]
  ------------------
 1250|    266|      val[i] = pVal[i-offset];
 1251|    266|    APInt Result(val, BitWidth);
 1252|    266|    Result.clearUnusedBits();
 1253|    266|    return Result;
 1254|    266|  }
 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|    270|}
_ZN7llvm_ks5APInt5tcSetEPmmj:
 2307|   299k|{
 2308|   299k|  unsigned int i;
 2309|       |
 2310|   299k|  assert(parts > 0);
  ------------------
  |  Branch (2310:3): [True: 299k, False: 0]
  ------------------
 2311|       |
 2312|   299k|  dst[0] = part;
 2313|   369k|  for (i = 1; i < parts; i++)
  ------------------
  |  Branch (2313:15): [True: 69.5k, False: 299k]
  ------------------
 2314|  69.5k|    dst[i] = 0;
 2315|   299k|}
_ZN7llvm_ks5APInt8tcAssignEPmPKmj:
 2320|   533k|{
 2321|   533k|  unsigned int i;
 2322|       |
 2323|  1.11M|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2323:15): [True: 579k, False: 533k]
  ------------------
 2324|   579k|    dst[i] = src[i];
 2325|   533k|}
_ZN7llvm_ks5APInt8tcIsZeroEPKmj:
 2330|   401k|{
 2331|   401k|  unsigned int i;
 2332|       |
 2333|   432k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2333:15): [True: 411k, False: 21.5k]
  ------------------
 2334|   411k|    if (src[i])
  ------------------
  |  Branch (2334:9): [True: 380k, False: 30.9k]
  ------------------
 2335|   380k|      return false;
 2336|       |
 2337|  21.5k|  return true;
 2338|   401k|}
_ZN7llvm_ks5APInt12tcExtractBitEPKmj:
 2343|   343k|{
 2344|   343k|  return (parts[bit / integerPartWidth] &
 2345|   343k|          ((integerPart) 1 << bit % integerPartWidth)) != 0;
 2346|   343k|}
_ZN7llvm_ks5APInt8tcSetBitEPmj:
 2351|  5.26M|{
 2352|  5.26M|  parts[bit / integerPartWidth] |= (integerPart) 1 << (bit % integerPartWidth);
 2353|  5.26M|}
_ZN7llvm_ks5APInt5tcLSBEPKmj:
 2367|   236k|{
 2368|   236k|  unsigned int i, lsb;
 2369|       |
 2370|   241k|  for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2370:15): [True: 241k, False: 0]
  ------------------
 2371|   241k|      if (parts[i] != 0) {
  ------------------
  |  Branch (2371:11): [True: 236k, False: 4.66k]
  ------------------
 2372|   236k|          lsb = partLSB(parts[i]);
 2373|       |
 2374|   236k|          return lsb + i * integerPartWidth;
 2375|   236k|      }
 2376|   241k|  }
 2377|       |
 2378|      0|  return -1U;
 2379|   236k|}
_ZN7llvm_ks5APInt5tcMSBEPKmj:
 2385|  1.28M|{
 2386|  1.28M|  unsigned int msb;
 2387|       |
 2388|  1.28M|  do {
 2389|  1.28M|    --n;
 2390|       |
 2391|  1.28M|    if (parts[n] != 0) {
  ------------------
  |  Branch (2391:9): [True: 1.27M, False: 6.82k]
  ------------------
 2392|  1.27M|      msb = partMSB(parts[n]);
 2393|       |
 2394|  1.27M|      return msb + n * integerPartWidth;
 2395|  1.27M|    }
 2396|  1.28M|  } while (n);
  ------------------
  |  Branch (2396:12): [True: 5.47k, False: 1.34k]
  ------------------
 2397|       |
 2398|  1.34k|  return -1U;
 2399|  1.28M|}
_ZN7llvm_ks5APInt9tcExtractEPmjPKmjj:
 2408|   482k|{
 2409|   482k|  unsigned int firstSrcPart, dstParts, shift, n;
 2410|       |
 2411|   482k|  dstParts = (srcBits + integerPartWidth - 1) / integerPartWidth;
 2412|   482k|  assert(dstParts <= dstCount);
  ------------------
  |  Branch (2412:3): [True: 482k, False: 0]
  ------------------
 2413|       |
 2414|   482k|  firstSrcPart = srcLSB / integerPartWidth;
 2415|   482k|  tcAssign (dst, src + firstSrcPart, dstParts);
 2416|       |
 2417|   482k|  shift = srcLSB % integerPartWidth;
 2418|   482k|  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|   482k|  n = dstParts * integerPartWidth - shift;
 2424|   482k|  if (n < srcBits) {
  ------------------
  |  Branch (2424:7): [True: 46.3k, False: 436k]
  ------------------
 2425|  46.3k|    integerPart mask = lowBitMask (srcBits - n);
 2426|  46.3k|    dst[dstParts - 1] |= ((src[firstSrcPart + dstParts] & mask)
 2427|  46.3k|                          << n % integerPartWidth);
 2428|   436k|  } else if (n > srcBits) {
  ------------------
  |  Branch (2428:14): [True: 436k, False: 250]
  ------------------
 2429|   436k|    if (srcBits % integerPartWidth)
  ------------------
  |  Branch (2429:9): [True: 435k, False: 379]
  ------------------
 2430|   435k|      dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth);
 2431|   436k|  }
 2432|       |
 2433|       |  /* Clear high parts.  */
 2434|   488k|  while (dstParts < dstCount)
  ------------------
  |  Branch (2434:10): [True: 5.85k, False: 482k]
  ------------------
 2435|  5.85k|    dst[dstParts++] = 0;
 2436|   482k|}
_ZN7llvm_ks5APInt10tcSubtractEPmPKmmj:
 2467|  5.26M|{
 2468|  5.26M|  unsigned int i;
 2469|       |
 2470|  5.26M|  assert(c <= 1);
  ------------------
  |  Branch (2470:3): [True: 5.26M, False: 0]
  ------------------
 2471|       |
 2472|  33.4M|  for (i = 0; i < parts; i++) {
  ------------------
  |  Branch (2472:15): [True: 28.1M, False: 5.26M]
  ------------------
 2473|  28.1M|    integerPart l;
 2474|       |
 2475|  28.1M|    l = dst[i];
 2476|  28.1M|    if (c) {
  ------------------
  |  Branch (2476:9): [True: 5.67M, False: 22.4M]
  ------------------
 2477|  5.67M|      dst[i] -= rhs[i] + 1;
 2478|  5.67M|      c = (dst[i] >= l);
 2479|  22.4M|    } else {
 2480|  22.4M|      dst[i] -= rhs[i];
 2481|  22.4M|      c = (dst[i] > l);
 2482|  22.4M|    }
 2483|  28.1M|  }
 2484|       |
 2485|  5.26M|  return c;
 2486|  5.26M|}
_ZN7llvm_ks5APInt14tcMultiplyPartEPmPKmmmjjb:
 2512|   340k|{
 2513|   340k|  unsigned int i, n;
 2514|       |
 2515|       |  /* Otherwise our writes of DST kill our later reads of SRC.  */
 2516|   340k|  assert(dst <= src || dst >= src + srcParts);
  ------------------
  |  Branch (2516:3): [True: 198k, False: 141k]
  |  Branch (2516:3): [True: 141k, False: 0]
  |  Branch (2516:3): [True: 340k, False: 0]
  ------------------
 2517|   340k|  assert(dstParts <= srcParts + 1);
  ------------------
  |  Branch (2517:3): [True: 340k, False: 0]
  ------------------
 2518|       |
 2519|       |  /* N loops; minimum of dstParts and srcParts.  */
 2520|   340k|  n = dstParts < srcParts ? dstParts: srcParts;
  ------------------
  |  Branch (2520:7): [True: 0, False: 340k]
  ------------------
 2521|       |
 2522|   820k|  for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2522:15): [True: 479k, False: 340k]
  ------------------
 2523|   479k|    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|   479k|    srcPart = src[i];
 2534|       |
 2535|   479k|    if (multiplier == 0 || srcPart == 0)        {
  ------------------
  |  Branch (2535:9): [True: 82, False: 479k]
  |  Branch (2535:28): [True: 9.06k, False: 470k]
  ------------------
 2536|  9.15k|      low = carry;
 2537|  9.15k|      high = 0;
 2538|   470k|    } else {
 2539|   470k|      low = lowHalf(srcPart) * lowHalf(multiplier);
 2540|   470k|      high = highHalf(srcPart) * highHalf(multiplier);
 2541|       |
 2542|   470k|      mid = lowHalf(srcPart) * highHalf(multiplier);
 2543|   470k|      high += highHalf(mid);
 2544|   470k|      mid <<= integerPartWidth / 2;
 2545|   470k|      if (low + mid < low)
  ------------------
  |  Branch (2545:11): [True: 83.6k, False: 387k]
  ------------------
 2546|  83.6k|        high++;
 2547|   470k|      low += mid;
 2548|       |
 2549|   470k|      mid = highHalf(srcPart) * lowHalf(multiplier);
 2550|   470k|      high += highHalf(mid);
 2551|   470k|      mid <<= integerPartWidth / 2;
 2552|   470k|      if (low + mid < low)
  ------------------
  |  Branch (2552:11): [True: 165k, False: 304k]
  ------------------
 2553|   165k|        high++;
 2554|   470k|      low += mid;
 2555|       |
 2556|       |      /* Now add carry.  */
 2557|   470k|      if (low + carry < low)
  ------------------
  |  Branch (2557:11): [True: 55.3k, False: 415k]
  ------------------
 2558|  55.3k|        high++;
 2559|   470k|      low += carry;
 2560|   470k|    }
 2561|       |
 2562|   479k|    if (add) {
  ------------------
  |  Branch (2562:9): [True: 316k, False: 163k]
  ------------------
 2563|       |      /* And now DST[i], and store the new low part there.  */
 2564|   316k|      if (low + dst[i] < low)
  ------------------
  |  Branch (2564:11): [True: 54.9k, False: 261k]
  ------------------
 2565|  54.9k|        high++;
 2566|   316k|      dst[i] += low;
 2567|   316k|    } else
 2568|   163k|      dst[i] = low;
 2569|       |
 2570|   479k|    carry = high;
 2571|   479k|  }
 2572|       |
 2573|   340k|  if (i < dstParts) {
  ------------------
  |  Branch (2573:7): [True: 340k, False: 0]
  ------------------
 2574|       |    /* Full multiplication, there is no overflow.  */
 2575|   340k|    assert(i + 1 == dstParts);
  ------------------
  |  Branch (2575:5): [True: 340k, False: 0]
  ------------------
 2576|   340k|    dst[i] = carry;
 2577|   340k|    return 0;
 2578|   340k|  } 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|   340k|}
_ZN7llvm_ks5APInt14tcFullMultiplyEPmPKmS3_jj:
 2627|   133k|{
 2628|       |  /* Put the narrower number on the LHS for less loops below.  */
 2629|   133k|  if (lhsParts > rhsParts) {
  ------------------
  |  Branch (2629:7): [True: 0, False: 133k]
  ------------------
 2630|      0|    return tcFullMultiply (dst, rhs, lhs, rhsParts, lhsParts);
 2631|   133k|  } else {
 2632|   133k|    unsigned int n;
 2633|       |
 2634|   133k|    assert(dst != lhs && dst != rhs);
  ------------------
  |  Branch (2634:5): [True: 133k, False: 0]
  |  Branch (2634:5): [True: 133k, False: 0]
  |  Branch (2634:5): [True: 133k, False: 0]
  ------------------
 2635|       |
 2636|   133k|    tcSet(dst, 0, rhsParts);
 2637|       |
 2638|   287k|    for (n = 0; n < lhsParts; n++)
  ------------------
  |  Branch (2638:17): [True: 154k, False: 133k]
  ------------------
 2639|   154k|      tcMultiplyPart(&dst[n], rhs, lhs[n], 0, rhsParts, rhsParts + 1, true);
 2640|       |
 2641|   133k|    n = lhsParts + rhsParts;
 2642|       |
 2643|   133k|    return n - (dst[n - 1] == 0);
 2644|   133k|  }
 2645|   133k|}
_ZN7llvm_ks5APInt11tcShiftLeftEPmjj:
 2706|  10.7M|{
 2707|  10.7M|  if (count) {
  ------------------
  |  Branch (2707:7): [True: 10.7M, False: 0]
  ------------------
 2708|  10.7M|    unsigned int jump, shift;
 2709|       |
 2710|       |    /* Jump is the inter-part jump; shift is is intra-part shift.  */
 2711|  10.7M|    jump = count / integerPartWidth;
 2712|  10.7M|    shift = count % integerPartWidth;
 2713|       |
 2714|  62.7M|    while (parts > jump) {
  ------------------
  |  Branch (2714:12): [True: 51.9M, False: 10.7M]
  ------------------
 2715|  51.9M|      integerPart part;
 2716|       |
 2717|  51.9M|      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|  51.9M|      part = dst[parts - jump];
 2722|  51.9M|      if (shift) {
  ------------------
  |  Branch (2722:11): [True: 51.9M, False: 567]
  ------------------
 2723|  51.9M|        part <<= shift;
 2724|  51.9M|        if (parts >= jump + 1)
  ------------------
  |  Branch (2724:13): [True: 41.1M, False: 10.7M]
  ------------------
 2725|  41.1M|          part |= dst[parts - jump - 1] >> (integerPartWidth - shift);
 2726|  51.9M|      }
 2727|       |
 2728|  51.9M|      dst[parts] = part;
 2729|  51.9M|    }
 2730|       |
 2731|  10.7M|    while (parts > 0)
  ------------------
  |  Branch (2731:12): [True: 5.45k, False: 10.7M]
  ------------------
 2732|  5.45k|      dst[--parts] = 0;
 2733|  10.7M|  }
 2734|  10.7M|}
_ZN7llvm_ks5APInt12tcShiftRightEPmjj:
 2740|   512k|{
 2741|   512k|  if (count) {
  ------------------
  |  Branch (2741:7): [True: 236k, False: 276k]
  ------------------
 2742|   236k|    unsigned int i, jump, shift;
 2743|       |
 2744|       |    /* Jump is the inter-part jump; shift is is intra-part shift.  */
 2745|   236k|    jump = count / integerPartWidth;
 2746|   236k|    shift = count % integerPartWidth;
 2747|       |
 2748|       |    /* Perform the shift.  This leaves the most significant COUNT bits
 2749|       |       of the result at zero.  */
 2750|   486k|    for (i = 0; i < parts; i++) {
  ------------------
  |  Branch (2750:17): [True: 249k, False: 236k]
  ------------------
 2751|   249k|      integerPart part;
 2752|       |
 2753|   249k|      if (i + jump >= parts) {
  ------------------
  |  Branch (2753:11): [True: 1.14k, False: 248k]
  ------------------
 2754|  1.14k|        part = 0;
 2755|   248k|      } else {
 2756|   248k|        part = dst[i + jump];
 2757|   248k|        if (shift) {
  ------------------
  |  Branch (2757:13): [True: 248k, False: 0]
  ------------------
 2758|   248k|          part >>= shift;
 2759|   248k|          if (i + jump + 1 < parts)
  ------------------
  |  Branch (2759:15): [True: 13.6k, False: 234k]
  ------------------
 2760|  13.6k|            part |= dst[i + jump + 1] << (integerPartWidth - shift);
 2761|   248k|        }
 2762|   248k|      }
 2763|       |
 2764|   249k|      dst[i] = part;
 2765|   249k|    }
 2766|   236k|  }
 2767|   512k|}
_ZN7llvm_ks5APInt9tcCompareEPKmS2_j:
 2813|  10.8M|{
 2814|  10.8M|  while (parts) {
  ------------------
  |  Branch (2814:10): [True: 10.8M, False: 42.9k]
  ------------------
 2815|  10.8M|      parts--;
 2816|  10.8M|      if (lhs[parts] == rhs[parts])
  ------------------
  |  Branch (2816:11): [True: 49.2k, False: 10.7M]
  ------------------
 2817|  49.2k|        continue;
 2818|       |
 2819|  10.7M|      if (lhs[parts] > rhs[parts])
  ------------------
  |  Branch (2819:11): [True: 5.40M, False: 5.36M]
  ------------------
 2820|  5.40M|        return 1;
 2821|  5.36M|      else
 2822|  5.36M|        return -1;
 2823|  10.7M|    }
 2824|       |
 2825|  42.9k|  return 0;
 2826|  10.8M|}
_ZN7llvm_ks5APInt11tcIncrementEPmj:
 2831|   154k|{
 2832|   154k|  unsigned int i;
 2833|       |
 2834|   154k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2834:15): [True: 154k, False: 0]
  ------------------
 2835|   154k|    if (++dst[i] != 0)
  ------------------
  |  Branch (2835:9): [True: 154k, False: 216]
  ------------------
 2836|   154k|      break;
 2837|       |
 2838|   154k|  return i == parts;
 2839|   154k|}
APInt.cpp:_ZL16getClearedMemoryj:
   34|  1.94M|inline static uint64_t* getClearedMemory(unsigned numWords) {
   35|  1.94M|  uint64_t * result = new uint64_t[numWords];
   36|  1.94M|  assert(result && "APInt memory allocation fails!");
  ------------------
  |  Branch (36:3): [True: 1.94M, False: 0]
  |  Branch (36:3): [True: 1.94M, Folded]
  |  Branch (36:3): [True: 1.94M, False: 0]
  ------------------
   37|  1.94M|  memset(result, 0, numWords * sizeof(uint64_t));
   38|  1.94M|  return result;
   39|  1.94M|}
APInt.cpp:_ZL9getMemoryj:
   43|  3.42M|inline static uint64_t* getMemory(unsigned numWords) {
   44|  3.42M|  uint64_t * result = new uint64_t[numWords];
   45|  3.42M|  assert(result && "APInt memory allocation fails!");
  ------------------
  |  Branch (45:3): [True: 3.42M, False: 0]
  |  Branch (45:3): [True: 3.42M, Folded]
  |  Branch (45:3): [True: 3.42M, False: 0]
  ------------------
   46|  3.42M|  return result;
   47|  3.42M|}
APInt.cpp:_ZL3addPmPKmS1_j:
  241|  11.6k|                unsigned len) {
  242|  11.6k|  bool carry = false;
  243|   403k|  for (unsigned i = 0; i< len; ++i) {
  ------------------
  |  Branch (243:24): [True: 391k, False: 11.6k]
  ------------------
  244|   391k|    uint64_t limit = std::min(x[i],y[i]); // must come first in case dest == x
  245|   391k|    dest[i] = x[i] + y[i] + carry;
  246|   391k|    carry = dest[i] < limit || (carry && dest[i] == limit);
  ------------------
  |  Branch (246:13): [True: 1, False: 391k]
  |  Branch (246:33): [True: 1, False: 391k]
  |  Branch (246:42): [True: 0, False: 1]
  ------------------
  247|   391k|  }
  248|  11.6k|  return carry;
  249|  11.6k|}
APInt.cpp:_ZL3mulPmS_jS_j:
  329|  11.4k|                unsigned ylen) {
  330|  11.4k|  dest[xlen] = mul_1(dest, x, xlen, y[0]);
  331|  11.4k|  for (unsigned i = 1; i < ylen; ++i) {
  ------------------
  |  Branch (331:24): [True: 0, False: 11.4k]
  ------------------
  332|      0|    uint64_t ly = y[i] & 0xffffffffULL, hy = y[i] >> 32;
  333|      0|    uint64_t carry = 0, lx = 0, hx = 0;
  334|      0|    for (unsigned j = 0; j < xlen; ++j) {
  ------------------
  |  Branch (334:26): [True: 0, False: 0]
  ------------------
  335|      0|      lx = x[j] & 0xffffffffULL;
  336|      0|      hx = x[j] >> 32;
  337|       |      // hasCarry - A flag to indicate if has carry.
  338|       |      // hasCarry == 0, no carry
  339|       |      // hasCarry == 1, has carry
  340|       |      // hasCarry == 2, no carry and the calculation result == 0.
  341|      0|      uint8_t hasCarry = 0;
  342|      0|      uint64_t resul = carry + lx * ly;
  343|      0|      hasCarry = (resul < carry) ? 1 : 0;
  ------------------
  |  Branch (343:18): [True: 0, False: 0]
  ------------------
  344|      0|      carry = (hasCarry ? (1ULL << 32) : 0) + hx * ly + (resul >> 32);
  ------------------
  |  Branch (344:16): [True: 0, False: 0]
  ------------------
  345|      0|      hasCarry = (!carry && hasCarry) ? 1 : (!carry ? 2 : 0);
  ------------------
  |  Branch (345:19): [True: 0, False: 0]
  |  Branch (345:29): [True: 0, False: 0]
  |  Branch (345:46): [True: 0, False: 0]
  ------------------
  346|       |
  347|      0|      carry += (lx * hy) & 0xffffffffULL;
  348|      0|      resul = (carry << 32) | (resul & 0xffffffffULL);
  349|      0|      dest[i+j] += resul;
  350|      0|      carry = (((!carry && hasCarry != 2) || hasCarry == 1) ? (1ULL << 32) : 0)+
  ------------------
  |  Branch (350:18): [True: 0, False: 0]
  |  Branch (350:28): [True: 0, False: 0]
  |  Branch (350:46): [True: 0, False: 0]
  ------------------
  351|      0|              (carry >> 32) + (dest[i+j] < resul ? 1 : 0) +
  ------------------
  |  Branch (351:32): [True: 0, False: 0]
  ------------------
  352|      0|              ((lx * hy) >> 32) + hx * hy;
  353|      0|    }
  354|      0|    dest[i+xlen] = carry;
  355|      0|  }
  356|  11.4k|}
APInt.cpp:_ZL5mul_1PmS_jm:
  294|  11.4k|static uint64_t mul_1(uint64_t dest[], uint64_t x[], unsigned len, uint64_t y) {
  295|       |  // Split y into high 32-bit part (hy)  and low 32-bit part (ly)
  296|  11.4k|  uint64_t ly = y & 0xffffffffULL, hy = y >> 32;
  297|  11.4k|  uint64_t carry = 0;
  298|       |
  299|       |  // For each digit of x.
  300|   175k|  for (unsigned i = 0; i < len; ++i) {
  ------------------
  |  Branch (300:24): [True: 163k, False: 11.4k]
  ------------------
  301|       |    // Split x into high and low words
  302|   163k|    uint64_t lx = x[i] & 0xffffffffULL;
  303|   163k|    uint64_t hx = x[i] >> 32;
  304|       |    // hasCarry - A flag to indicate if there is a carry to the next digit.
  305|       |    // hasCarry == 0, no carry
  306|       |    // hasCarry == 1, has carry
  307|       |    // hasCarry == 2, no carry and the calculation result == 0.
  308|   163k|    uint8_t hasCarry = 0;
  309|   163k|    dest[i] = carry + lx * ly;
  310|       |    // Determine if the add above introduces carry.
  311|   163k|    hasCarry = (dest[i] < carry) ? 1 : 0;
  ------------------
  |  Branch (311:16): [True: 0, False: 163k]
  ------------------
  312|   163k|    carry = hx * ly + (dest[i] >> 32) + (hasCarry ? (1ULL << 32) : 0);
  ------------------
  |  Branch (312:42): [True: 0, False: 163k]
  ------------------
  313|       |    // The upper limit of carry can be (2^32 - 1)(2^32 - 1) +
  314|       |    // (2^32 - 1) + 2^32 = 2^64.
  315|   163k|    hasCarry = (!carry && hasCarry) ? 1 : (!carry ? 2 : 0);
  ------------------
  |  Branch (315:17): [True: 41.5k, False: 122k]
  |  Branch (315:27): [True: 0, False: 41.5k]
  |  Branch (315:44): [True: 41.5k, False: 122k]
  ------------------
  316|       |
  317|   163k|    carry += (lx * hy) & 0xffffffffULL;
  318|   163k|    dest[i] = (carry << 32) | (dest[i] & 0xffffffffULL);
  319|   163k|    carry = (((!carry && hasCarry != 2) || hasCarry == 1) ? (1ULL << 32) : 0) +
  ------------------
  |  Branch (319:16): [True: 41.5k, False: 122k]
  |  Branch (319:26): [True: 0, False: 41.5k]
  |  Branch (319:44): [True: 0, False: 163k]
  ------------------
  320|   163k|            (carry >> 32) + ((lx * hy) >> 32) + hx * hy;
  321|   163k|  }
  322|  11.4k|  return carry;
  323|  11.4k|}
APInt.cpp:_ZN12_GLOBAL__N_17partLSBEm:
 2298|   236k|  {
 2299|   236k|    return findFirstSet(value, ZB_Max);
 2300|   236k|  }
APInt.cpp:_ZN12_GLOBAL__N_17partMSBEm:
 2290|  1.27M|  {
 2291|  1.27M|    return findLastSet(value, ZB_Max);
 2292|  1.27M|  }
APInt.cpp:_ZN12_GLOBAL__N_110lowBitMaskEj:
 2266|  2.36M|  {
 2267|  2.36M|    assert(bits != 0 && bits <= integerPartWidth);
  ------------------
  |  Branch (2267:5): [True: 2.36M, False: 0]
  |  Branch (2267:5): [True: 2.36M, False: 0]
  |  Branch (2267:5): [True: 2.36M, False: 0]
  ------------------
 2268|       |
 2269|  2.36M|    return ~(integerPart) 0 >> (integerPartWidth - bits);
 2270|  2.36M|  }
APInt.cpp:_ZN12_GLOBAL__N_17lowHalfEm:
 2275|  1.88M|  {
 2276|  1.88M|    return part & lowBitMask(integerPartWidth / 2);
 2277|  1.88M|  }
APInt.cpp:_ZN12_GLOBAL__N_18highHalfEm:
 2282|  2.82M|  {
 2283|  2.82M|    return part >> (integerPartWidth / 2);
 2284|  2.82M|  }

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

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

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

_ZN7llvm_ks9SourceMgrD2Ev:
   38|  19.0k|SourceMgr::~SourceMgr() {
   39|       |  // Delete the line # cache if allocated.
   40|  19.0k|  if (LineNoCacheTy *Cache = getCache(LineNoCache))
  ------------------
  |  Branch (40:22): [True: 1.29k, False: 17.7k]
  ------------------
   41|  1.29k|    delete Cache;
   42|  19.0k|}
_ZN7llvm_ks9SourceMgr14AddIncludeFileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_5SMLocERS7_:
   46|      7|                                   std::string &IncludedFile) {
   47|      7|  IncludedFile = Filename;
   48|      7|  ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr =
   49|      7|    MemoryBuffer::getFile(IncludedFile);
   50|       |
   51|       |  // If the file didn't exist directly, see if it's in an include path.
   52|      7|  for (unsigned i = 0, e = IncludeDirectories.size(); i != e && !NewBufOrErr;
  ------------------
  |  Branch (52:55): [True: 0, False: 7]
  |  Branch (52:65): [True: 0, False: 0]
  ------------------
   53|      7|       ++i) {
   54|      0|    IncludedFile =
   55|      0|        IncludeDirectories[i] + sys::path::get_separator().data() + Filename;
   56|      0|    NewBufOrErr = MemoryBuffer::getFile(IncludedFile);
   57|      0|  }
   58|       |
   59|      7|  if (!NewBufOrErr)
  ------------------
  |  Branch (59:7): [True: 7, False: 0]
  ------------------
   60|      7|    return 0;
   61|       |
   62|      0|  return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc);
   63|      7|}
_ZNK7llvm_ks9SourceMgr23FindBufferContainingLocENS_5SMLocE:
   65|   349k|unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const {
   66|  27.7M|  for (unsigned i = 0, e = Buffers.size(); i != e; ++i)
  ------------------
  |  Branch (66:44): [True: 27.6M, False: 83.3k]
  ------------------
   67|  27.6M|    if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() &&
  ------------------
  |  Branch (67:9): [True: 16.8M, False: 10.8M]
  ------------------
   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|  16.8M|        Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd())
  ------------------
  |  Branch (70:9): [True: 266k, False: 16.5M]
  ------------------
   71|   266k|      return i + 1;
   72|  83.3k|  return 0;
   73|   349k|}
_ZNK7llvm_ks9SourceMgr16getLineAndColumnENS_5SMLocEj:
   76|  89.8k|SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const {
   77|  89.8k|  if (!BufferID)
  ------------------
  |  Branch (77:7): [True: 0, False: 89.8k]
  ------------------
   78|      0|    BufferID = FindBufferContainingLoc(Loc);
   79|  89.8k|  assert(BufferID && "Invalid Location!");
  ------------------
  |  Branch (79:3): [True: 89.8k, False: 0]
  |  Branch (79:3): [True: 89.8k, Folded]
  |  Branch (79:3): [True: 89.8k, False: 0]
  ------------------
   80|       |
   81|  89.8k|  const MemoryBuffer *Buff = getMemoryBuffer(BufferID);
   82|       |
   83|       |  // Count the number of \n's between the start of the file and the specified
   84|       |  // location.
   85|  89.8k|  unsigned LineNo = 1;
   86|       |
   87|  89.8k|  const char *BufStart = Buff->getBufferStart();
   88|  89.8k|  const char *Ptr = BufStart;
   89|       |
   90|       |  // If we have a line number cache, and if the query is to a later point in the
   91|       |  // same file, start searching from the last query location.  This optimizes
   92|       |  // for the case when multiple diagnostics come out of one file in order.
   93|  89.8k|  if (LineNoCacheTy *Cache = getCache(LineNoCache))
  ------------------
  |  Branch (93:22): [True: 88.5k, False: 1.29k]
  ------------------
   94|  88.5k|    if (Cache->LastQueryBufferID == BufferID &&
  ------------------
  |  Branch (94:9): [True: 10.5k, False: 77.9k]
  ------------------
   95|  10.5k|        Cache->LastQuery <= Loc.getPointer()) {
  ------------------
  |  Branch (95:9): [True: 9.37k, False: 1.20k]
  ------------------
   96|  9.37k|      Ptr = Cache->LastQuery;
   97|  9.37k|      LineNo = Cache->LineNoOfQuery;
   98|  9.37k|    }
   99|       |
  100|       |  // Scan for the location being queried, keeping track of the number of lines
  101|       |  // we see.
  102|   496M|  for (; SMLoc::getFromPointer(Ptr) != Loc; ++Ptr)
  ------------------
  |  Branch (102:10): [True: 496M, False: 89.8k]
  ------------------
  103|   496M|    if (*Ptr == '\n') ++LineNo;
  ------------------
  |  Branch (103:9): [True: 26.9M, False: 469M]
  ------------------
  104|       |
  105|       |  // Allocate the line number cache if it doesn't exist.
  106|  89.8k|  if (!LineNoCache)
  ------------------
  |  Branch (106:7): [True: 1.29k, False: 88.5k]
  ------------------
  107|  1.29k|    LineNoCache = new LineNoCacheTy();
  108|       |
  109|       |  // Update the line # cache.
  110|  89.8k|  LineNoCacheTy &Cache = *getCache(LineNoCache);
  111|  89.8k|  Cache.LastQueryBufferID = BufferID;
  112|  89.8k|  Cache.LastQuery = Ptr;
  113|  89.8k|  Cache.LineNoOfQuery = LineNo;
  114|       |  
  115|  89.8k|  size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r");
  116|  89.8k|  if (NewlineOffs == StringRef::npos) NewlineOffs = ~(size_t)0;
  ------------------
  |  Branch (116:7): [True: 63.8k, False: 26.0k]
  ------------------
  117|  89.8k|  return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs);
  118|  89.8k|}
_ZNK7llvm_ks9SourceMgr17PrintIncludeStackENS_5SMLocERNS_11raw_ostreamE:
  120|  65.1k|void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const {
  121|  65.1k|  if (IncludeLoc == SMLoc()) return;  // Top of stack.
  ------------------
  |  Branch (121:7): [True: 65.1k, False: 0]
  ------------------
  122|       |
  123|      0|  unsigned CurBuf = FindBufferContainingLoc(IncludeLoc);
  124|      0|  assert(CurBuf && "Invalid or unspecified location!");
  ------------------
  |  Branch (124:3): [True: 0, False: 0]
  |  Branch (124:3): [True: 0, Folded]
  |  Branch (124:3): [True: 0, False: 0]
  ------------------
  125|       |
  126|      0|  PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS);
  127|       |
  128|      0|  OS << "Included from "
  129|      0|     << getBufferInfo(CurBuf).Buffer->getBufferIdentifier()
  130|      0|     << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n";
  131|      0|}
_ZNK7llvm_ks9SourceMgr10GetMessageENS_5SMLocENS0_8DiagKindERKNS_5TwineENS_8ArrayRefINS_7SMRangeEEENS6_INS_7SMFixItEEE:
  137|  87.3k|                                   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|  87.3k|  SmallVector<std::pair<unsigned, unsigned>, 4> ColRanges;
  142|  87.3k|  std::pair<unsigned, unsigned> LineAndCol;
  143|  87.3k|  const char *BufferID = "<unknown>";
  144|  87.3k|  std::string LineStr;
  145|       |  
  146|  87.3k|  if (Loc.isValid()) {
  ------------------
  |  Branch (146:7): [True: 87.3k, False: 0]
  ------------------
  147|  87.3k|    unsigned CurBuf = FindBufferContainingLoc(Loc);
  148|  87.3k|    assert(CurBuf && "Invalid or unspecified location!");
  ------------------
  |  Branch (148:5): [True: 87.3k, False: 0]
  |  Branch (148:5): [True: 87.3k, Folded]
  |  Branch (148:5): [True: 87.3k, False: 0]
  ------------------
  149|       |
  150|  87.3k|    const MemoryBuffer *CurMB = getMemoryBuffer(CurBuf);
  151|  87.3k|    BufferID = CurMB->getBufferIdentifier();
  152|       |    
  153|       |    // Scan backward to find the start of the line.
  154|  87.3k|    const char *LineStart = Loc.getPointer();
  155|  87.3k|    const char *BufStart = CurMB->getBufferStart();
  156|  2.17M|    while (LineStart != BufStart && LineStart[-1] != '\n' &&
  ------------------
  |  Branch (156:12): [True: 2.11M, False: 62.7k]
  |  Branch (156:37): [True: 2.09M, False: 13.9k]
  ------------------
  157|  2.09M|           LineStart[-1] != '\r')
  ------------------
  |  Branch (157:12): [True: 2.08M, False: 10.6k]
  ------------------
  158|  2.08M|      --LineStart;
  159|       |
  160|       |    // Get the end of the line.
  161|  87.3k|    const char *LineEnd = Loc.getPointer();
  162|  87.3k|    const char *BufEnd = CurMB->getBufferEnd();
  163|  1.85M|    while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r')
  ------------------
  |  Branch (163:12): [True: 1.85M, False: 2.62k]
  |  Branch (163:33): [True: 1.77M, False: 79.9k]
  |  Branch (163:55): [True: 1.76M, False: 4.84k]
  ------------------
  164|  1.76M|      ++LineEnd;
  165|  87.3k|    LineStr = std::string(LineStart, LineEnd);
  166|       |
  167|       |    // Convert any ranges to column ranges that only intersect the line of the
  168|       |    // location.
  169|  87.4k|    for (unsigned i = 0, e = Ranges.size(); i != e; ++i) {
  ------------------
  |  Branch (169:45): [True: 60, False: 87.3k]
  ------------------
  170|     60|      SMRange R = Ranges[i];
  171|     60|      if (!R.isValid()) continue;
  ------------------
  |  Branch (171:11): [True: 0, False: 60]
  ------------------
  172|       |      
  173|       |      // If the line doesn't contain any part of the range, then ignore it.
  174|     60|      if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart)
  ------------------
  |  Branch (174:11): [True: 0, False: 60]
  |  Branch (174:45): [True: 0, False: 60]
  ------------------
  175|      0|        continue;
  176|       |     
  177|       |      // Ignore pieces of the range that go onto other lines.
  178|     60|      if (R.Start.getPointer() < LineStart)
  ------------------
  |  Branch (178:11): [True: 0, False: 60]
  ------------------
  179|      0|        R.Start = SMLoc::getFromPointer(LineStart);
  180|     60|      if (R.End.getPointer() > LineEnd)
  ------------------
  |  Branch (180:11): [True: 44, False: 16]
  ------------------
  181|     44|        R.End = SMLoc::getFromPointer(LineEnd);
  182|       |      
  183|       |      // Translate from SMLoc ranges to column ranges.
  184|       |      // FIXME: Handle multibyte characters.
  185|     60|      ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart,
  186|     60|                                         R.End.getPointer()-LineStart));
  187|     60|    }
  188|       |
  189|  87.3k|    LineAndCol = getLineAndColumn(Loc, CurBuf);
  190|  87.3k|  }
  191|       |    
  192|  87.3k|  return SMDiagnostic(*this, Loc, BufferID, LineAndCol.first,
  193|  87.3k|                      LineAndCol.second-1, Kind, Msg.str(),
  194|  87.3k|                      LineStr, ColRanges, FixIts);
  195|  87.3k|}
_ZNK7llvm_ks9SourceMgr12PrintMessageERNS_11raw_ostreamERKNS_12SMDiagnosticEb:
  198|  87.3k|                             bool ShowColors) const {
  199|       |  // Report the message with the diagnostic handler if present.
  200|  87.3k|  if (DiagHandler) {
  ------------------
  |  Branch (200:7): [True: 87.3k, False: 0]
  ------------------
  201|  87.3k|    DiagHandler(Diagnostic, DiagContext);
  202|  87.3k|    return;
  203|  87.3k|  }
  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|  87.3k|                             ArrayRef<SMFixIt> FixIts, bool ShowColors) const {
  218|  87.3k|  PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors);
  219|  87.3k|}
_ZNK7llvm_ks9SourceMgr12PrintMessageENS_5SMLocENS0_8DiagKindERKNS_5TwineENS_8ArrayRefINS_7SMRangeEEENS6_INS_7SMFixItEEEb:
  223|  87.3k|                             ArrayRef<SMFixIt> FixIts, bool ShowColors) const {
  224|  87.3k|  PrintMessage(llvm_ks::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors);
  225|  87.3k|}
_ZN7llvm_ks12SMDiagnosticC2ERKNS_9SourceMgrENS_5SMLocENS_9StringRefEiiNS1_8DiagKindES5_S5_NS_8ArrayRefINSt3__14pairIjjEEEENS7_INS_7SMFixItEEE:
  236|  88.6k|  : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind),
  237|  88.6k|    Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()),
  238|  88.6k|    FixIts(Hints.begin(), Hints.end()) {
  239|  88.6k|  std::sort(FixIts.begin(), FixIts.end());
  240|  88.6k|}
_ZNK7llvm_ks12SMDiagnostic5printEPKcRNS_11raw_ostreamEbb:
  329|  87.3k|                         bool ShowKindLabel) const {
  330|       |  // Display colors only if OS supports colors.
  331|  87.3k|  ShowColors &= S.has_colors();
  332|       |
  333|  87.3k|  if (ShowColors)
  ------------------
  |  Branch (333:7): [True: 87.3k, False: 0]
  ------------------
  334|  87.3k|    S.changeColor(raw_ostream::SAVEDCOLOR, true);
  335|       |
  336|  87.3k|  if (ProgName && ProgName[0])
  ------------------
  |  Branch (336:7): [True: 0, False: 87.3k]
  |  Branch (336:19): [True: 0, False: 0]
  ------------------
  337|      0|    S << ProgName << ": ";
  338|       |
  339|  87.3k|  if (!Filename.empty()) {
  ------------------
  |  Branch (339:7): [True: 66.1k, False: 21.2k]
  ------------------
  340|  66.1k|    if (Filename == "-")
  ------------------
  |  Branch (340:9): [True: 71, False: 66.0k]
  ------------------
  341|     71|      S << "<stdin>";
  342|  66.0k|    else
  343|  66.0k|      S << Filename;
  344|       |
  345|  66.1k|    if (LineNo != -1) {
  ------------------
  |  Branch (345:9): [True: 66.0k, False: 51]
  ------------------
  346|  66.0k|      S << ':' << LineNo;
  347|  66.0k|      if (ColumnNo != -1)
  ------------------
  |  Branch (347:11): [True: 66.0k, False: 0]
  ------------------
  348|  66.0k|        S << ':' << (ColumnNo+1);
  349|  66.0k|    }
  350|  66.1k|    S << ": ";
  351|  66.1k|  }
  352|       |
  353|  87.3k|  if (ShowKindLabel) {
  ------------------
  |  Branch (353:7): [True: 87.3k, False: 0]
  ------------------
  354|  87.3k|    switch (Kind) {
  ------------------
  |  Branch (354:13): [True: 87.3k, False: 0]
  ------------------
  355|  5.06k|    case SourceMgr::DK_Error:
  ------------------
  |  Branch (355:5): [True: 5.06k, False: 82.3k]
  ------------------
  356|  5.06k|      if (ShowColors)
  ------------------
  |  Branch (356:11): [True: 5.06k, False: 0]
  ------------------
  357|  5.06k|        S.changeColor(raw_ostream::RED, true);
  358|  5.06k|      S << "error: ";
  359|  5.06k|      break;
  360|  20.3k|    case SourceMgr::DK_Warning:
  ------------------
  |  Branch (360:5): [True: 20.3k, False: 67.0k]
  ------------------
  361|  20.3k|      if (ShowColors)
  ------------------
  |  Branch (361:11): [True: 20.3k, False: 0]
  ------------------
  362|  20.3k|        S.changeColor(raw_ostream::MAGENTA, true);
  363|  20.3k|      S << "warning: ";
  364|  20.3k|      break;
  365|  62.0k|    case SourceMgr::DK_Note:
  ------------------
  |  Branch (365:5): [True: 62.0k, False: 25.3k]
  ------------------
  366|  62.0k|      if (ShowColors)
  ------------------
  |  Branch (366:11): [True: 62.0k, False: 0]
  ------------------
  367|  62.0k|        S.changeColor(raw_ostream::BLACK, true);
  368|  62.0k|      S << "note: ";
  369|  62.0k|      break;
  370|  87.3k|    }
  371|       |
  372|  87.3k|    if (ShowColors) {
  ------------------
  |  Branch (372:9): [True: 87.3k, False: 0]
  ------------------
  373|  87.3k|      S.resetColor();
  374|  87.3k|      S.changeColor(raw_ostream::SAVEDCOLOR, true);
  375|  87.3k|    }
  376|  87.3k|  }
  377|       |
  378|  87.3k|  S << Message << '\n';
  379|       |
  380|  87.3k|  if (ShowColors)
  ------------------
  |  Branch (380:7): [True: 87.3k, False: 0]
  ------------------
  381|  87.3k|    S.resetColor();
  382|       |
  383|  87.3k|  if (LineNo == -1 || ColumnNo == -1)
  ------------------
  |  Branch (383:7): [True: 52, False: 87.3k]
  |  Branch (383:23): [True: 0, False: 87.3k]
  ------------------
  384|     52|    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|  87.3k|  if (std::find_if(LineContents.begin(), LineContents.end(), isNonASCII) !=
  ------------------
  |  Branch (391:7): [True: 4.17k, False: 83.1k]
  ------------------
  392|  87.3k|      LineContents.end()) {
  393|  4.17k|    printSourceLine(S, LineContents);
  394|  4.17k|    return;
  395|  4.17k|  }
  396|  83.1k|  size_t NumColumns = LineContents.size();
  397|       |
  398|       |  // Build the line with the caret and ranges.
  399|  83.1k|  std::string CaretLine(NumColumns+1, ' ');
  400|       |  
  401|       |  // Expand any ranges.
  402|  83.2k|  for (unsigned r = 0, e = Ranges.size(); r != e; ++r) {
  ------------------
  |  Branch (402:43): [True: 44, False: 83.1k]
  ------------------
  403|     44|    std::pair<unsigned, unsigned> R = Ranges[r];
  404|     44|    std::fill(&CaretLine[R.first],
  405|     44|              &CaretLine[std::min((size_t)R.second, CaretLine.size())],
  406|     44|              '~');
  407|     44|  }
  408|       |
  409|       |  // Add any fix-its.
  410|       |  // FIXME: Find the beginning of the line properly for multibyte characters.
  411|  83.1k|  std::string FixItInsertionLine;
  412|  83.1k|  buildFixItLine(CaretLine, FixItInsertionLine, FixIts,
  413|  83.1k|                 makeArrayRef(Loc.getPointer() - ColumnNo,
  414|  83.1k|                              LineContents.size()));
  415|       |
  416|       |  // Finally, plop on the caret.
  417|  83.1k|  if (unsigned(ColumnNo) <= NumColumns)
  ------------------
  |  Branch (417:7): [True: 83.1k, False: 0]
  ------------------
  418|  83.1k|    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|  83.1k|  CaretLine.erase(CaretLine.find_last_not_of(' ')+1);
  426|       |  
  427|  83.1k|  printSourceLine(S, LineContents);
  428|       |
  429|  83.1k|  if (ShowColors)
  ------------------
  |  Branch (429:7): [True: 83.1k, False: 0]
  ------------------
  430|  83.1k|    S.changeColor(raw_ostream::GREEN, true);
  431|       |
  432|       |  // Print out the caret line, matching tabs in the source line.
  433|  2.16M|  for (unsigned i = 0, e = CaretLine.size(), OutCol = 0; i != e; ++i) {
  ------------------
  |  Branch (433:58): [True: 2.08M, False: 83.1k]
  ------------------
  434|  2.08M|    if (i >= LineContents.size() || LineContents[i] != '\t') {
  ------------------
  |  Branch (434:9): [True: 268, False: 2.08M]
  |  Branch (434:37): [True: 2.06M, False: 14.2k]
  ------------------
  435|  2.06M|      S << CaretLine[i];
  436|  2.06M|      ++OutCol;
  437|  2.06M|      continue;
  438|  2.06M|    }
  439|       |    
  440|       |    // Okay, we have a tab.  Insert the appropriate number of characters.
  441|  95.1k|    do {
  442|  95.1k|      S << CaretLine[i];
  443|  95.1k|      ++OutCol;
  444|  95.1k|    } while ((OutCol % TabStop) != 0);
  ------------------
  |  Branch (444:14): [True: 80.9k, False: 14.2k]
  ------------------
  445|  14.2k|  }
  446|  83.1k|  S << '\n';
  447|       |
  448|  83.1k|  if (ShowColors)
  ------------------
  |  Branch (448:7): [True: 83.1k, False: 0]
  ------------------
  449|  83.1k|    S.resetColor();
  450|       |
  451|       |  // Print out the replacement line, matching tabs in the source line.
  452|  83.1k|  if (FixItInsertionLine.empty())
  ------------------
  |  Branch (452:7): [True: 83.1k, False: 0]
  ------------------
  453|  83.1k|    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|   198k|static LineNoCacheTy *getCache(void *Ptr) {
   34|   198k|  return (LineNoCacheTy*)Ptr;
   35|   198k|}
SourceMgr.cpp:_ZL10isNonASCIIc:
  324|  3.73M|static bool isNonASCII(char c) {
  325|  3.73M|  return c & 0x80;
  326|  3.73M|}
SourceMgr.cpp:_ZL15printSourceLineRN7llvm_ks11raw_ostreamENS_9StringRefE:
  306|  87.3k|static void printSourceLine(raw_ostream &S, StringRef LineContents) {
  307|       |  // Print out the source line one character at a time, so we can expand tabs.
  308|  3.93M|  for (unsigned i = 0, e = LineContents.size(), OutCol = 0; i != e; ++i) {
  ------------------
  |  Branch (308:61): [True: 3.84M, False: 87.3k]
  ------------------
  309|  3.84M|    if (LineContents[i] != '\t') {
  ------------------
  |  Branch (309:9): [True: 3.82M, False: 22.4k]
  ------------------
  310|  3.82M|      S << LineContents[i];
  311|  3.82M|      ++OutCol;
  312|  3.82M|      continue;
  313|  3.82M|    }
  314|       |
  315|       |    // If we have a tab, emit at least one space, then round up to 8 columns.
  316|   130k|    do {
  317|   130k|      S << ' ';
  318|   130k|      ++OutCol;
  319|   130k|    } while ((OutCol % TabStop) != 0);
  ------------------
  |  Branch (319:14): [True: 108k, False: 22.4k]
  ------------------
  320|  22.4k|  }
  321|  87.3k|  S << '\n';
  322|  87.3k|}
SourceMgr.cpp:_ZL14buildFixItLineRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_N7llvm_ks8ArrayRefINS7_7SMFixItEEENS8_IcEE:
  243|  83.1k|                           ArrayRef<SMFixIt> FixIts, ArrayRef<char> SourceLine){
  244|  83.1k|  if (FixIts.empty())
  ------------------
  |  Branch (244:7): [True: 83.1k, False: 0]
  ------------------
  245|  83.1k|    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|  96.3k|void StringMapImpl::init(unsigned InitSize) {
   37|  96.3k|  assert((InitSize & (InitSize-1)) == 0 &&
  ------------------
  |  Branch (37:3): [True: 96.3k, False: 0]
  |  Branch (37:3): [True: 96.3k, Folded]
  |  Branch (37:3): [True: 96.3k, False: 0]
  ------------------
   38|  96.3k|         "Init Size must be a power of 2 or zero!");
   39|  96.3k|  NumBuckets = InitSize ? InitSize : 16;
  ------------------
  |  Branch (39:16): [True: 96.3k, False: 0]
  ------------------
   40|  96.3k|  NumItems = 0;
   41|  96.3k|  NumTombstones = 0;
   42|       |  
   43|  96.3k|  TheTable = (StringMapEntryBase **)calloc(NumBuckets+1,
   44|  96.3k|                                           sizeof(StringMapEntryBase **) +
   45|  96.3k|                                           sizeof(unsigned));
   46|       |
   47|       |  // Allocate one extra bucket, set it to look filled so the iterators stop at
   48|       |  // end.
   49|  96.3k|  TheTable[NumBuckets] = (StringMapEntryBase*)2;
   50|  96.3k|}
_ZN7llvm_ks13StringMapImpl15LookupBucketForENS_9StringRefE:
   58|  4.73M|unsigned StringMapImpl::LookupBucketFor(StringRef Name) {
   59|  4.73M|  unsigned HTSize = NumBuckets;
   60|  4.73M|  if (HTSize == 0) {  // Hash table unallocated so far?
  ------------------
  |  Branch (60:7): [True: 96.3k, False: 4.63M]
  ------------------
   61|  96.3k|    init(16);
   62|  96.3k|    HTSize = NumBuckets;
   63|  96.3k|  }
   64|  4.73M|  unsigned FullHashValue = HashString(Name);
   65|  4.73M|  unsigned BucketNo = FullHashValue & (HTSize-1);
   66|  4.73M|  unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
   67|       |
   68|  4.73M|  unsigned ProbeAmt = 1;
   69|  4.73M|  int FirstTombstone = -1;
   70|  11.8M|  while (1) {
  ------------------
  |  Branch (70:10): [True: 11.8M, Folded]
  ------------------
   71|  11.8M|    StringMapEntryBase *BucketItem = TheTable[BucketNo];
   72|       |    // If we found an empty bucket, this key isn't in the table yet, return it.
   73|  11.8M|    if (LLVM_LIKELY(!BucketItem)) {
  ------------------
  |  |  171|  11.8M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 4.24M, False: 7.65M]
  |  |  ------------------
  ------------------
   74|       |      // If we found a tombstone, we want to reuse the tombstone instead of an
   75|       |      // empty bucket.  This reduces probing.
   76|  4.24M|      if (FirstTombstone != -1) {
  ------------------
  |  Branch (76:11): [True: 0, False: 4.24M]
  ------------------
   77|      0|        HashTable[FirstTombstone] = FullHashValue;
   78|      0|        return FirstTombstone;
   79|      0|      }
   80|       |      
   81|  4.24M|      HashTable[BucketNo] = FullHashValue;
   82|  4.24M|      return BucketNo;
   83|  4.24M|    }
   84|       |    
   85|  7.65M|    if (BucketItem == getTombstoneVal()) {
  ------------------
  |  Branch (85:9): [True: 0, False: 7.65M]
  ------------------
   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|  7.65M|    } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) {
  ------------------
  |  |  171|  7.65M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 491k, False: 7.15M]
  |  |  ------------------
  ------------------
   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|   491k|      char *ItemStr = (char*)BucketItem+ItemSize;
   97|   491k|      if (Name == StringRef(ItemStr, BucketItem->getKeyLength())) {
  ------------------
  |  Branch (97:11): [True: 490k, False: 279]
  ------------------
   98|       |        // We found a match!
   99|   490k|        return BucketNo;
  100|   490k|      }
  101|   491k|    }
  102|       |    
  103|       |    // Okay, we didn't find the item.  Probe to the next bucket.
  104|  7.15M|    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|  7.15M|    ++ProbeAmt;
  109|  7.15M|  }
  110|  4.73M|}
_ZNK7llvm_ks13StringMapImpl7FindKeyENS_9StringRefE:
  116|  3.59M|int StringMapImpl::FindKey(StringRef Key) const {
  117|  3.59M|  unsigned HTSize = NumBuckets;
  118|  3.59M|  if (HTSize == 0) return -1;  // Really empty table?
  ------------------
  |  Branch (118:7): [True: 539k, False: 3.05M]
  ------------------
  119|  3.05M|  unsigned FullHashValue = HashString(Key);
  120|  3.05M|  unsigned BucketNo = FullHashValue & (HTSize-1);
  121|  3.05M|  unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
  122|       |
  123|  3.05M|  unsigned ProbeAmt = 1;
  124|  6.60M|  while (1) {
  ------------------
  |  Branch (124:10): [True: 6.60M, Folded]
  ------------------
  125|  6.60M|    StringMapEntryBase *BucketItem = TheTable[BucketNo];
  126|       |    // If we found an empty bucket, this key isn't in the table yet, return.
  127|  6.60M|    if (LLVM_LIKELY(!BucketItem))
  ------------------
  |  |  171|  6.60M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 2.03M, False: 4.57M]
  |  |  ------------------
  ------------------
  128|  2.03M|      return -1;
  129|       |    
  130|  4.57M|    if (BucketItem == getTombstoneVal()) {
  ------------------
  |  Branch (130:9): [True: 0, False: 4.57M]
  ------------------
  131|       |      // Ignore tombstones.
  132|  4.57M|    } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) {
  ------------------
  |  |  171|  4.57M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 1.02M, False: 3.54M]
  |  |  ------------------
  ------------------
  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|  1.02M|      char *ItemStr = (char*)BucketItem+ItemSize;
  141|  1.02M|      if (Key == StringRef(ItemStr, BucketItem->getKeyLength())) {
  ------------------
  |  Branch (141:11): [True: 1.02M, False: 254]
  ------------------
  142|       |        // We found a match!
  143|  1.02M|        return BucketNo;
  144|  1.02M|      }
  145|  1.02M|    }
  146|       |    
  147|       |    // Okay, we didn't find the item.  Probe to the next bucket.
  148|  3.54M|    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|  3.54M|    ++ProbeAmt;
  153|  3.54M|  }
  154|  3.05M|}
_ZN7llvm_ks13StringMapImpl11RehashTableEj:
  184|  4.24M|unsigned StringMapImpl::RehashTable(unsigned BucketNo) {
  185|  4.24M|  unsigned NewSize;
  186|  4.24M|  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|  4.24M|  if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) {
  ------------------
  |  |  172|  4.24M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 141k, False: 4.10M]
  |  |  ------------------
  ------------------
  192|   141k|    NewSize = NumBuckets*2;
  193|  4.10M|  } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <=
  ------------------
  |  |  172|  4.10M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 4.10M]
  |  |  ------------------
  ------------------
  194|  4.10M|                           NumBuckets / 8)) {
  195|      0|    NewSize = NumBuckets;
  196|  4.10M|  } else {
  197|  4.10M|    return BucketNo;
  198|  4.10M|  }
  199|       |
  200|   141k|  unsigned NewBucketNo = BucketNo;
  201|       |  // Allocate one extra bucket which will always be non-empty.  This allows the
  202|       |  // iterators to stop at end.
  203|   141k|  StringMapEntryBase **NewTableArray =
  204|   141k|    (StringMapEntryBase **)calloc(NewSize+1, sizeof(StringMapEntryBase *) +
  205|   141k|                                             sizeof(unsigned));
  206|   141k|  unsigned *NewHashArray = (unsigned *)(NewTableArray + NewSize + 1);
  207|   141k|  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|  7.32M|  for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (211:40): [True: 7.18M, False: 141k]
  ------------------
  212|  7.18M|    StringMapEntryBase *Bucket = TheTable[I];
  213|  7.18M|    if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (213:9): [True: 5.53M, False: 1.65M]
  |  Branch (213:19): [True: 5.53M, False: 0]
  ------------------
  214|       |      // Fast case, bucket available.
  215|  5.53M|      unsigned FullHash = HashTable[I];
  216|  5.53M|      unsigned NewBucket = FullHash & (NewSize-1);
  217|  5.53M|      if (!NewTableArray[NewBucket]) {
  ------------------
  |  Branch (217:11): [True: 4.30M, False: 1.22M]
  ------------------
  218|  4.30M|        NewTableArray[FullHash & (NewSize-1)] = Bucket;
  219|  4.30M|        NewHashArray[FullHash & (NewSize-1)] = FullHash;
  220|  4.30M|        if (I == BucketNo)
  ------------------
  |  Branch (220:13): [True: 120k, False: 4.18M]
  ------------------
  221|   120k|          NewBucketNo = NewBucket;
  222|  4.30M|        continue;
  223|  4.30M|      }
  224|       |      
  225|       |      // Otherwise probe for a spot.
  226|  1.22M|      unsigned ProbeSize = 1;
  227|  1.92M|      do {
  228|  1.92M|        NewBucket = (NewBucket + ProbeSize++) & (NewSize-1);
  229|  1.92M|      } while (NewTableArray[NewBucket]);
  ------------------
  |  Branch (229:16): [True: 707k, False: 1.22M]
  ------------------
  230|       |      
  231|       |      // Finally found a slot.  Fill it in.
  232|  1.22M|      NewTableArray[NewBucket] = Bucket;
  233|  1.22M|      NewHashArray[NewBucket] = FullHash;
  234|  1.22M|      if (I == BucketNo)
  ------------------
  |  Branch (234:11): [True: 20.7k, False: 1.20M]
  ------------------
  235|  20.7k|        NewBucketNo = NewBucket;
  236|  1.22M|    }
  237|  7.18M|  }
  238|       |  
  239|   141k|  free(TheTable);
  240|       |  
  241|   141k|  TheTable = NewTableArray;
  242|   141k|  NumBuckets = NewSize;
  243|   141k|  NumTombstones = 0;
  244|   141k|  return NewBucketNo;
  245|  4.24M|}

_ZNK7llvm_ks9StringRef13compare_lowerES0_:
   52|  4.09k|int StringRef::compare_lower(StringRef RHS) const {
   53|  4.09k|  if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length)))
  ------------------
  |  Branch (53:11): [True: 2.48k, False: 1.60k]
  ------------------
   54|  2.48k|    return Res;
   55|  1.60k|  if (Length == RHS.Length)
  ------------------
  |  Branch (55:7): [True: 953, False: 648]
  ------------------
   56|    953|    return 0;
   57|    648|  return Length < RHS.Length ? -1 : 1;
  ------------------
  |  Branch (57:10): [True: 636, False: 12]
  ------------------
   58|  1.60k|}
_ZNK7llvm_ks9StringRef5lowerEv:
  117|  2.57M|std::string StringRef::lower() const {
  118|  2.57M|  std::string Result(size(), char());
  119|  14.1M|  for (size_type i = 0, e = size(); i != e; ++i) {
  ------------------
  |  Branch (119:37): [True: 11.5M, False: 2.57M]
  ------------------
  120|  11.5M|    Result[i] = ascii_tolower(Data[i]);
  121|  11.5M|  }
  122|  2.57M|  return Result;
  123|  2.57M|}
_ZNK7llvm_ks9StringRef17find_first_not_ofES0_m:
  231|   118k|                                                  size_t From) const {
  232|   118k|  std::bitset<1 << CHAR_BIT> CharBits;
  233|   831k|  for (size_type i = 0; i != Chars.size(); ++i)
  ------------------
  |  Branch (233:25): [True: 712k, False: 118k]
  ------------------
  234|   712k|    CharBits.set((unsigned char)Chars[i]);
  235|       |
  236|   119k|  for (size_type i = std::min(From, Length), e = Length; i != e; ++i)
  ------------------
  |  Branch (236:58): [True: 114k, False: 5.47k]
  ------------------
  237|   114k|    if (!CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (237:9): [True: 113k, False: 720]
  ------------------
  238|   113k|      return i;
  239|  5.47k|  return npos;
  240|   118k|}
_ZNK7llvm_ks9StringRef12find_last_ofES0_m:
  247|  89.8k|                                             size_t From) const {
  248|  89.8k|  std::bitset<1 << CHAR_BIT> CharBits;
  249|   269k|  for (size_type i = 0; i != Chars.size(); ++i)
  ------------------
  |  Branch (249:25): [True: 179k, False: 89.8k]
  ------------------
  250|   179k|    CharBits.set((unsigned char)Chars[i]);
  251|       |
  252|  2.19M|  for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
  ------------------
  |  Branch (252:58): [True: 2.12M, False: 63.8k]
  ------------------
  253|  2.12M|    if (CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (253:9): [True: 26.0k, False: 2.10M]
  ------------------
  254|  26.0k|      return i;
  255|  63.8k|  return npos;
  256|  89.8k|}
_ZNK7llvm_ks9StringRef16find_last_not_ofES0_m:
  272|   118k|                                                 size_t From) const {
  273|   118k|  std::bitset<1 << CHAR_BIT> CharBits;
  274|   831k|  for (size_type i = 0, e = Chars.size(); i != e; ++i)
  ------------------
  |  Branch (274:43): [True: 712k, False: 118k]
  ------------------
  275|   712k|    CharBits.set((unsigned char)Chars[i]);
  276|       |
  277|   119k|  for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
  ------------------
  |  Branch (277:58): [True: 113k, False: 5.47k]
  ------------------
  278|   113k|    if (!CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (278:9): [True: 113k, False: 421]
  ------------------
  279|   113k|      return i;
  280|  5.47k|  return npos;
  281|   118k|}
_ZNK7llvm_ks9StringRef5splitERNS_15SmallVectorImplIS0_EEcib:
  311|   213k|                      int MaxSplit, bool KeepEmpty) const {
  312|   213k|  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|   867k|  while (MaxSplit-- != 0) {
  ------------------
  |  Branch (318:10): [True: 695k, False: 171k]
  ------------------
  319|   695k|    size_t Idx = S.find(Separator);
  320|   695k|    if (Idx == npos)
  ------------------
  |  Branch (320:9): [True: 42.1k, False: 653k]
  ------------------
  321|  42.1k|      break;
  322|       |
  323|       |    // Push this split.
  324|   653k|    if (KeepEmpty || Idx > 0)
  ------------------
  |  Branch (324:9): [True: 615k, False: 38.3k]
  |  Branch (324:22): [True: 38.1k, False: 150]
  ------------------
  325|   653k|      A.push_back(S.slice(0, Idx));
  326|       |
  327|       |    // Jump forward.
  328|   653k|    S = S.slice(Idx + 1, npos);
  329|   653k|  }
  330|       |
  331|       |  // Push the tail.
  332|   213k|  if (KeepEmpty || !S.empty())
  ------------------
  |  Branch (332:7): [True: 194k, False: 19.0k]
  |  Branch (332:20): [True: 19.0k, False: 2]
  ------------------
  333|   213k|    A.push_back(S);
  334|   213k|}
_ZNK7llvm_ks9StringRef12getAsIntegerEjRNS_5APIntE:
  445|  1.94M|bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const {
  446|  1.94M|  StringRef Str = *this;
  447|       |
  448|       |  // Autosense radix if not specified.
  449|  1.94M|  if (Radix == 0)
  ------------------
  |  Branch (449:7): [True: 3.44k, False: 1.93M]
  ------------------
  450|  3.44k|    Radix = GetAutoSenseRadix(Str);
  451|       |
  452|  1.94M|  assert(Radix > 1 && Radix <= 36);
  ------------------
  |  Branch (452:3): [True: 1.94M, False: 0]
  |  Branch (452:3): [True: 1.94M, False: 0]
  |  Branch (452:3): [True: 1.94M, False: 0]
  ------------------
  453|       |
  454|       |  // Empty strings (after the radix autosense) are invalid.
  455|  1.94M|  if (Str.empty()) return true;
  ------------------
  |  Branch (455:7): [True: 0, False: 1.94M]
  ------------------
  456|       |
  457|       |  // Skip leading zeroes.  This can be a significant improvement if
  458|       |  // it means we don't need > 64 bits.
  459|  3.00M|  while (!Str.empty() && Str.front() == '0')
  ------------------
  |  Branch (459:10): [True: 2.75M, False: 250k]
  |  Branch (459:26): [True: 1.06M, False: 1.68M]
  ------------------
  460|  1.06M|    Str = Str.substr(1);
  461|       |
  462|       |  // If it was nothing but zeroes....
  463|  1.94M|  if (Str.empty()) {
  ------------------
  |  Branch (463:7): [True: 250k, False: 1.68M]
  ------------------
  464|   250k|    Result = APInt(64, 0);
  465|   250k|    return false;
  466|   250k|  }
  467|       |
  468|       |  // (Over-)estimate the required number of bits.
  469|  1.68M|  unsigned Log2Radix = 0;
  470|  7.71M|  while ((1U << Log2Radix) < Radix) Log2Radix++;
  ------------------
  |  Branch (470:10): [True: 6.02M, False: 1.68M]
  ------------------
  471|  1.68M|  bool IsPowerOf2Radix = ((1U << Log2Radix) == Radix);
  472|       |
  473|  1.68M|  unsigned BitWidth = Log2Radix * Str.size();
  474|  1.68M|  if (BitWidth < Result.getBitWidth())
  ------------------
  |  Branch (474:7): [True: 1.68M, False: 1.63k]
  ------------------
  475|  1.68M|    BitWidth = Result.getBitWidth(); // don't shrink the result
  476|  1.63k|  else if (BitWidth > Result.getBitWidth())
  ------------------
  |  Branch (476:12): [True: 1.39k, False: 236]
  ------------------
  477|  1.39k|    Result = Result.zext(BitWidth);
  478|       |
  479|  1.68M|  APInt RadixAP, CharAP; // unused unless !IsPowerOf2Radix
  480|  1.68M|  if (!IsPowerOf2Radix) {
  ------------------
  |  Branch (480:7): [True: 243, False: 1.68M]
  ------------------
  481|       |    // These must have the same bit-width as Result.
  482|    243|    RadixAP = APInt(BitWidth, Radix);
  483|    243|    CharAP = APInt(BitWidth, 0);
  484|    243|  }
  485|       |
  486|       |  // Parse all the bytes of the string given this radix.
  487|  1.68M|  Result = 0;
  488|  4.65M|  while (!Str.empty()) {
  ------------------
  |  Branch (488:10): [True: 2.96M, False: 1.68M]
  ------------------
  489|  2.96M|    unsigned CharVal;
  490|  2.96M|    if (Str[0] >= '0' && Str[0] <= '9')
  ------------------
  |  Branch (490:9): [True: 2.96M, False: 0]
  |  Branch (490:26): [True: 2.94M, False: 28.8k]
  ------------------
  491|  2.94M|      CharVal = Str[0]-'0';
  492|  28.8k|    else if (Str[0] >= 'a' && Str[0] <= 'z')
  ------------------
  |  Branch (492:14): [True: 25.7k, False: 3.13k]
  |  Branch (492:31): [True: 25.7k, False: 0]
  ------------------
  493|  25.7k|      CharVal = Str[0]-'a'+10;
  494|  3.13k|    else if (Str[0] >= 'A' && Str[0] <= 'Z')
  ------------------
  |  Branch (494:14): [True: 3.13k, False: 0]
  |  Branch (494:31): [True: 3.13k, False: 0]
  ------------------
  495|  3.13k|      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|  2.96M|    if (CharVal >= Radix)
  ------------------
  |  Branch (501:9): [True: 3.45k, False: 2.96M]
  ------------------
  502|  3.45k|      return true;
  503|       |
  504|       |    // Add in this character.
  505|  2.96M|    if (IsPowerOf2Radix) {
  ------------------
  |  Branch (505:9): [True: 2.95M, False: 12.2k]
  ------------------
  506|  2.95M|      Result <<= Log2Radix;
  507|  2.95M|      Result |= CharVal;
  508|  2.95M|    } else {
  509|  12.2k|      Result *= RadixAP;
  510|  12.2k|      CharAP = CharVal;
  511|  12.2k|      Result += CharAP;
  512|  12.2k|    }
  513|       |
  514|  2.96M|    Str = Str.substr(1);
  515|  2.96M|  }
  516|       |
  517|  1.68M|  return false;
  518|  1.68M|}
_ZN7llvm_ks10hash_valueENS_9StringRefE:
  522|  16.0k|hash_code llvm_ks::hash_value(StringRef S) {
  523|  16.0k|  return hash_combine_range(S.begin(), S.end());
  524|  16.0k|}
StringRef.cpp:_ZL17ascii_strncasecmpPKcS0_m:
   41|  4.09k|static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) {
   42|  9.02k|  for (size_t I = 0; I < Length; ++I) {
  ------------------
  |  Branch (42:22): [True: 7.42k, False: 1.60k]
  ------------------
   43|  7.42k|    unsigned char LHC = ascii_tolower(LHS[I]);
   44|  7.42k|    unsigned char RHC = ascii_tolower(RHS[I]);
   45|  7.42k|    if (LHC != RHC)
  ------------------
  |  Branch (45:9): [True: 2.48k, False: 4.93k]
  ------------------
   46|  2.48k|      return LHC < RHC ? -1 : 1;
  ------------------
  |  Branch (46:14): [True: 1.80k, False: 685]
  ------------------
   47|  7.42k|  }
   48|  1.60k|  return 0;
   49|  4.09k|}
StringRef.cpp:_ZL13ascii_tolowerc:
   23|  11.5M|static char ascii_tolower(char x) {
   24|  11.5M|  if (x >= 'A' && x <= 'Z')
  ------------------
  |  Branch (24:7): [True: 9.21M, False: 2.37M]
  |  Branch (24:19): [True: 3.33M, False: 5.87M]
  ------------------
   25|  3.33M|    return x - 'A' + 'a';
   26|  8.24M|  return x;
   27|  11.5M|}
StringRef.cpp:_ZL17GetAutoSenseRadixRN7llvm_ks9StringRefE:
  353|  3.44k|static unsigned GetAutoSenseRadix(StringRef &Str) {
  354|  3.44k|  if (Str.startswith("0x") || Str.startswith("0X")) {
  ------------------
  |  Branch (354:7): [True: 2.83k, False: 609]
  |  Branch (354:7): [True: 3.44k, False: 0]
  |  Branch (354:31): [True: 609, False: 0]
  ------------------
  355|  3.44k|    Str = Str.substr(2);
  356|  3.44k|    return 16;
  357|  3.44k|  }
  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|   342k|StringRef llvm_ks::ARM::getCanonicalArchName(StringRef Arch) {
  424|   342k|  size_t offset = StringRef::npos;
  425|   342k|  StringRef A = Arch;
  426|   342k|  StringRef Error = "";
  427|       |
  428|       |  // Begins with "arm" / "thumb", move past it.
  429|   342k|  if (A.startswith("arm64"))
  ------------------
  |  Branch (429:7): [True: 0, False: 342k]
  ------------------
  430|      0|    offset = 5;
  431|   342k|  else if (A.startswith("arm"))
  ------------------
  |  Branch (431:12): [True: 0, False: 342k]
  ------------------
  432|      0|    offset = 3;
  433|   342k|  else if (A.startswith("thumb"))
  ------------------
  |  Branch (433:12): [True: 0, False: 342k]
  ------------------
  434|      0|    offset = 5;
  435|   342k|  else if (A.startswith("aarch64")) {
  ------------------
  |  Branch (435:12): [True: 0, False: 342k]
  ------------------
  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|   342k|  if (offset != StringRef::npos && A.substr(offset, 2) == "eb")
  ------------------
  |  Branch (445:7): [True: 0, False: 342k]
  |  Branch (445:7): [True: 0, False: 342k]
  |  Branch (445:36): [True: 0, False: 0]
  ------------------
  446|      0|    offset += 2;
  447|       |  // Or, if it ends with eb ("armv7eb"), chop it off.
  448|   342k|  else if (A.endswith("eb"))
  ------------------
  |  Branch (448:12): [True: 0, False: 342k]
  ------------------
  449|      0|    A = A.substr(0, A.size() - 2);
  450|       |  // Trim the head
  451|   342k|  if (offset != StringRef::npos)
  ------------------
  |  Branch (451:7): [True: 0, False: 342k]
  ------------------
  452|      0|    A = A.substr(offset);
  453|       |
  454|       |  // Empty string means offset reached the end, which means it's valid.
  455|   342k|  if (A.empty())
  ------------------
  |  Branch (455:7): [True: 0, False: 342k]
  ------------------
  456|      0|    return Arch;
  457|       |
  458|       |  // Only match non-marketing names
  459|   342k|  if (offset != StringRef::npos) {
  ------------------
  |  Branch (459:7): [True: 0, False: 342k]
  ------------------
  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|   342k|  return A;
  470|   342k|}
_ZN7llvm_ks3ARM9parseArchENS_9StringRefE:
  491|   171k|unsigned llvm_ks::ARM::parseArch(StringRef Arch) {
  492|   171k|  Arch = getCanonicalArchName(Arch);
  493|   171k|  StringRef Syn = getArchSynonym(Arch);
  494|  4.97M|  for (const auto A : ARCHNames) {
  ------------------
  |  Branch (494:21): [True: 4.97M, False: 171k]
  ------------------
  495|  4.97M|    if (A.getName().endswith(Syn))
  ------------------
  |  Branch (495:9): [True: 0, False: 4.97M]
  ------------------
  496|      0|      return A.ID;
  497|  4.97M|  }
  498|   171k|  return ARM::AK_INVALID;
  499|   171k|}
TargetParser.cpp:_ZNK12_GLOBAL__N_13$_17getNameEv:
   66|  4.97M|  StringRef getName() const { return StringRef(NameCStr, NameLength); }
TargetParser.cpp:_ZL14getArchSynonymN7llvm_ks9StringRefE:
  399|   171k|static StringRef getArchSynonym(StringRef Arch) {
  400|   171k|  return StringSwitch<StringRef>(Arch)
  401|   171k|      .Case("v5", "v5t")
  402|   171k|      .Case("v5e", "v5te")
  403|   171k|      .Case("v6j", "v6")
  404|   171k|      .Case("v6hl", "v6k")
  405|   171k|      .Cases("v6m", "v6sm", "v6s-m", "v6-m")
  406|   171k|      .Cases("v6z", "v6zk", "v6kz")
  407|   171k|      .Cases("v7", "v7a", "v7hl", "v7l", "v7-a")
  408|   171k|      .Case("v7r", "v7-r")
  409|   171k|      .Case("v7m", "v7-m")
  410|   171k|      .Case("v7em", "v7e-m")
  411|   171k|      .Cases("v8", "v8a", "aarch64", "arm64", "v8-a")
  412|   171k|      .Case("v8.1a", "v8.1-a")
  413|   171k|      .Case("v8.2a", "v8.2-a")
  414|   171k|      .Case("v8m.base", "v8-m.base")
  415|   171k|      .Case("v8m.main", "v8-m.main")
  416|   171k|      .Default(Arch);
  417|   171k|}

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

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

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

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

_ZN7llvm_ks11raw_ostreamD2Ev:
   64|   623k|raw_ostream::~raw_ostream() {
   65|       |  // raw_ostream's subclasses should take care to flush the buffer
   66|       |  // in their destructors.
   67|   623k|  assert(OutBufCur == OutBufStart &&
  ------------------
  |  Branch (67:3): [True: 623k, False: 0]
  |  Branch (67:3): [True: 623k, Folded]
  |  Branch (67:3): [True: 623k, False: 0]
  ------------------
   68|   623k|         "raw_ostream destructor called with non-empty buffer!");
   69|       |
   70|   623k|  if (BufferMode == InternalBuffer)
  ------------------
  |  Branch (70:7): [True: 0, False: 623k]
  ------------------
   71|      0|    delete [] OutBufStart;
   72|   623k|}
_ZN7llvm_ks11raw_ostream16SetBufferAndModeEPcmNS0_10BufferKindE:
   92|   623k|                                   BufferKind Mode) {
   93|   623k|  assert(((Mode == Unbuffered && !BufferStart && Size == 0) ||
  ------------------
  |  Branch (93:3): [True: 623k, False: 0]
  |  Branch (93:3): [True: 623k, False: 0]
  |  Branch (93:3): [True: 623k, 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: 623k, Folded]
  |  Branch (93:3): [True: 623k, False: 0]
  ------------------
   94|   623k|          (Mode != Unbuffered && BufferStart && Size != 0)) &&
   95|   623k|         "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|   623k|  assert(GetNumBytesInBuffer() == 0 && "Current buffer is non-empty!");
  ------------------
  |  Branch (98:3): [True: 623k, False: 0]
  |  Branch (98:3): [True: 623k, Folded]
  |  Branch (98:3): [True: 623k, False: 0]
  ------------------
   99|       |
  100|   623k|  if (BufferMode == InternalBuffer)
  ------------------
  |  Branch (100:7): [True: 623k, False: 0]
  ------------------
  101|   623k|    delete [] OutBufStart;
  102|   623k|  OutBufStart = BufferStart;
  103|   623k|  OutBufEnd = OutBufStart+Size;
  104|   623k|  OutBufCur = OutBufStart;
  105|   623k|  BufferMode = Mode;
  106|       |
  107|       |  assert(OutBufStart <= OutBufEnd && "Invalid size!");
  ------------------
  |  Branch (107:3): [True: 623k, False: 0]
  |  Branch (107:3): [True: 623k, Folded]
  |  Branch (107:3): [True: 623k, False: 0]
  ------------------
  108|   623k|}
_ZN7llvm_ks11raw_ostreamlsEm:
  110|   306k|raw_ostream &raw_ostream::operator<<(unsigned long N) {
  111|       |  // Zero is a special case.
  112|   306k|  if (N == 0)
  ------------------
  |  Branch (112:7): [True: 2.64k, False: 304k]
  ------------------
  113|  2.64k|    return *this << '0';
  114|       |
  115|   304k|  char NumberBuffer[20];
  116|   304k|  char *EndPtr = NumberBuffer+sizeof(NumberBuffer);
  117|   304k|  char *CurPtr = EndPtr;
  118|       |
  119|  1.25M|  while (N) {
  ------------------
  |  Branch (119:10): [True: 953k, False: 304k]
  ------------------
  120|   953k|    *--CurPtr = '0' + char(N % 10);
  121|   953k|    N /= 10;
  122|   953k|  }
  123|   304k|  return write(CurPtr, EndPtr-CurPtr);
  124|   306k|}
_ZN7llvm_ks11raw_ostreamlsEl:
  126|   132k|raw_ostream &raw_ostream::operator<<(long N) {
  127|   132k|  if (N <  0) {
  ------------------
  |  Branch (127:7): [True: 159, False: 131k]
  ------------------
  128|    159|    *this << '-';
  129|       |    // Avoid undefined behavior on LONG_MIN with a cast.
  130|    159|    N = -(unsigned long)N;
  131|    159|  }
  132|       |
  133|   132k|  return this->operator<<(static_cast<unsigned long>(N));
  134|   132k|}
_ZN7llvm_ks11raw_ostream5writeEh:
  278|   104M|raw_ostream &raw_ostream::write(unsigned char C) {
  279|       |  // Group exceptional cases into a single branch.
  280|   104M|  if (LLVM_UNLIKELY(OutBufCur >= OutBufEnd)) {
  ------------------
  |  |  172|   104M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 104M, False: 0]
  |  |  ------------------
  ------------------
  281|   104M|    if (LLVM_UNLIKELY(!OutBufStart)) {
  ------------------
  |  |  172|   104M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 104M, False: 0]
  |  |  ------------------
  ------------------
  282|   104M|      if (BufferMode == Unbuffered) {
  ------------------
  |  Branch (282:11): [True: 104M, False: 0]
  ------------------
  283|   104M|        write_impl(reinterpret_cast<char*>(&C), 1);
  284|   104M|        return *this;
  285|   104M|      }
  286|       |      // Set up a buffer and start over.
  287|      0|      SetBuffered();
  288|      0|      return write(C);
  289|   104M|    }
  290|       |
  291|      0|    flush_nonempty();
  292|      0|  }
  293|       |
  294|      0|  *OutBufCur++ = C;
  295|      0|  return *this;
  296|   104M|}
_ZN7llvm_ks11raw_ostream5writeEPKcm:
  298|  12.9M|raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) {
  299|       |  // Group exceptional cases into a single branch.
  300|  12.9M|  if (LLVM_UNLIKELY(size_t(OutBufEnd - OutBufCur) < Size)) {
  ------------------
  |  |  172|  12.9M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 12.9M, False: 18]
  |  |  ------------------
  ------------------
  301|  12.9M|    if (LLVM_UNLIKELY(!OutBufStart)) {
  ------------------
  |  |  172|  12.9M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 12.9M, False: 0]
  |  |  ------------------
  ------------------
  302|  12.9M|      if (BufferMode == Unbuffered) {
  ------------------
  |  Branch (302:11): [True: 12.9M, False: 0]
  ------------------
  303|  12.9M|        write_impl(Ptr, Size);
  304|  12.9M|        return *this;
  305|  12.9M|      }
  306|       |      // Set up a buffer and start over.
  307|      0|      SetBuffered();
  308|      0|      return write(Ptr, Size);
  309|  12.9M|    }
  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|     18|  copy_to_buffer(Ptr, Size);
  337|       |
  338|     18|  return *this;
  339|  12.9M|}
_ZN7llvm_ks11raw_ostream14copy_to_bufferEPKcm:
  341|     18|void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) {
  342|     18|  assert(Size <= size_t(OutBufEnd - OutBufCur) && "Buffer overrun!");
  ------------------
  |  Branch (342:3): [True: 18, False: 0]
  |  Branch (342:3): [True: 18, Folded]
  |  Branch (342:3): [True: 18, False: 0]
  ------------------
  343|       |
  344|       |  // Handle short strings specially, memcpy isn't very good at very short
  345|       |  // strings.
  346|     18|  switch (Size) {
  347|      0|  case 4: OutBufCur[3] = Ptr[3]; // FALL THROUGH
  ------------------
  |  Branch (347:3): [True: 0, False: 18]
  ------------------
  348|      0|  case 3: OutBufCur[2] = Ptr[2]; // FALL THROUGH
  ------------------
  |  Branch (348:3): [True: 0, False: 18]
  ------------------
  349|      0|  case 2: OutBufCur[1] = Ptr[1]; // FALL THROUGH
  ------------------
  |  Branch (349:3): [True: 0, False: 18]
  ------------------
  350|      0|  case 1: OutBufCur[0] = Ptr[0]; // FALL THROUGH
  ------------------
  |  Branch (350:3): [True: 0, False: 18]
  ------------------
  351|     18|  case 0: break;
  ------------------
  |  Branch (351:3): [True: 18, False: 0]
  ------------------
  352|      0|  default:
  ------------------
  |  Branch (352:3): [True: 0, False: 18]
  ------------------
  353|      0|    memcpy(OutBufCur, Ptr, Size);
  354|      0|    break;
  355|     18|  }
  356|       |
  357|     18|  OutBufCur += Size;
  358|     18|}
_ZN7llvm_ks14raw_fd_ostreamC2Eibb:
  517|      1|    : raw_pwrite_stream(unbuffered), FD(fd), ShouldClose(shouldClose),
  518|      1|      Error(false) {
  519|      1|  if (FD < 0 ) {
  ------------------
  |  Branch (519:7): [True: 0, False: 1]
  ------------------
  520|      0|    ShouldClose = false;
  521|      0|    return;
  522|      0|  }
  523|       |
  524|       |  // Get the starting position.
  525|      1|  off_t loc = ::lseek(FD, 0, SEEK_CUR);
  526|       |#ifdef LLVM_ON_WIN32
  527|       |  // MSVCRT's _lseek(SEEK_CUR) doesn't return -1 for pipes.
  528|       |  sys::fs::file_status Status;
  529|       |  std::error_code EC = status(FD, Status);
  530|       |  SupportsSeeking = !EC && Status.type() == sys::fs::file_type::regular_file;
  531|       |#else
  532|      1|  SupportsSeeking = loc != (off_t)-1;
  533|      1|#endif
  534|      1|  if (!SupportsSeeking)
  ------------------
  |  Branch (534:7): [True: 0, False: 1]
  ------------------
  535|      0|    pos = 0;
  536|      1|  else
  537|      1|    pos = static_cast<uint64_t>(loc);
  538|      1|}
_ZN7llvm_ks14raw_fd_ostreamD2Ev:
  540|      1|raw_fd_ostream::~raw_fd_ostream() {
  541|      1|  if (FD >= 0) {
  ------------------
  |  Branch (541:7): [True: 1, False: 0]
  ------------------
  542|      1|    flush();
  543|      1|  }
  544|       |
  545|       |#ifdef __MINGW32__
  546|       |  // On mingw, global dtors should not call exit().
  547|       |  // report_fatal_error() invokes exit(). We know report_fatal_error()
  548|       |  // might not write messages to stderr when any errors were detected
  549|       |  // on FD == 2.
  550|       |  if (FD == 2) return;
  551|       |#endif
  552|       |
  553|       |  // If there are any pending errors, report them now. Clients wishing
  554|       |  // to avoid report_fatal_error calls should check for errors with
  555|       |  // has_error() and clear the error flag with clear_error() before
  556|       |  // destructing raw_ostream objects which may have errors.
  557|      1|  if (has_error())
  ------------------
  |  Branch (557:7): [True: 0, False: 1]
  ------------------
  558|      0|    report_fatal_error("IO failure on output stream.", /*GenCrashDiag=*/false);
  559|      1|}
_ZN7llvm_ks14raw_fd_ostream10write_implEPKcm:
  562|  6.94M|void raw_fd_ostream::write_impl(const char *Ptr, size_t Size) {
  563|  6.94M|  assert(FD >= 0 && "File already closed.");
  ------------------
  |  Branch (563:3): [True: 6.94M, False: 0]
  |  Branch (563:3): [True: 6.94M, Folded]
  |  Branch (563:3): [True: 6.94M, False: 0]
  ------------------
  564|  6.94M|  pos += Size;
  565|       |
  566|  6.94M|#ifndef LLVM_ON_WIN32
  567|  6.94M|  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|  6.94M|  do {
  576|  6.94M|    size_t ChunkSize = Size;
  577|  6.94M|    if (ChunkSize > 32767 && ShouldWriteInChunks)
  ------------------
  |  Branch (577:9): [True: 0, False: 6.94M]
  |  Branch (577:30): [True: 0, False: 0]
  ------------------
  578|      0|        ChunkSize = 32767;
  579|       |
  580|  6.94M|    ssize_t ret = ::write(FD, Ptr, ChunkSize);
  581|       |
  582|  6.94M|    if (ret < 0) {
  ------------------
  |  Branch (582:9): [True: 0, False: 6.94M]
  ------------------
  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|  6.94M|    Ptr += ret;
  607|  6.94M|    Size -= ret;
  608|  6.94M|  } while (Size > 0);
  ------------------
  |  Branch (608:12): [True: 0, False: 6.94M]
  ------------------
  609|  6.94M|}
_ZN7llvm_ks14raw_fd_ostream11changeColorENS_11raw_ostream6ColorsEbb:
  655|   345k|                                         bool bg) {
  656|   345k|  return *this;
  657|   345k|}
_ZN7llvm_ks14raw_fd_ostream10resetColorEv:
  659|   257k|raw_ostream &raw_fd_ostream::resetColor() {
  660|   257k|  return *this;
  661|   257k|}
_ZNK7llvm_ks14raw_fd_ostream10has_colorsEv:
  671|  87.3k|bool raw_fd_ostream::has_colors() const {
  672|  87.3k|  return true;
  673|  87.3k|}
_ZN7llvm_ks4errsEv:
  693|   174k|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|   174k|  return S;
  697|   174k|}
_ZNK7llvm_ks19raw_svector_ostream11current_posEv:
  722|   105k|uint64_t raw_svector_ostream::current_pos() const { return OS.size(); }
_ZN7llvm_ks19raw_svector_ostream10write_implEPKcm:
  724|   110M|void raw_svector_ostream::write_impl(const char *Ptr, size_t Size) {
  725|   110M|  OS.append(Ptr, Ptr + Size);
  726|   110M|}

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|  19.0k|                                 [](Triple::ArchType) { return false; });

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

_ZN7llvm_ks19isImmSExti64i8ValueEm:
   27|    286|inline bool isImmSExti64i8Value(uint64_t Value) {
   28|    286|  return isInt<8>(Value);
   29|    286|}
_ZN7llvm_ks19isImmSExti16i8ValueEm:
   17|    321|inline bool isImmSExti16i8Value(uint64_t Value) {
   18|    321|  return isInt<8>(Value) ||
  ------------------
  |  Branch (18:10): [True: 111, False: 210]
  ------------------
   19|    210|         (isUInt<16>(Value) && isInt<8>(static_cast<int16_t>(Value)));
  ------------------
  |  Branch (19:11): [True: 40, False: 170]
  |  Branch (19:32): [True: 3, False: 37]
  ------------------
   20|    321|}
_ZN7llvm_ks19isImmSExti32i8ValueEm:
   22|    277|inline bool isImmSExti32i8Value(uint64_t Value) {
   23|    277|  return isInt<8>(Value) ||
  ------------------
  |  Branch (23:10): [True: 59, False: 218]
  ------------------
   24|    218|         (isUInt<32>(Value) && isInt<8>(static_cast<int32_t>(Value)));
  ------------------
  |  Branch (24:11): [True: 76, False: 142]
  |  Branch (24:32): [True: 0, False: 76]
  ------------------
   25|    277|}
_ZN7llvm_ks20isImmSExti64i32ValueEm:
   31|    212|inline bool isImmSExti64i32Value(uint64_t Value) {
   32|    212|  return isInt<32>(Value);
   33|    212|}
_ZN7llvm_ks20isImmUnsignedi8ValueEm:
   35|    418|inline bool isImmUnsignedi8Value(uint64_t Value) {
   36|    418|  return isUInt<8>(Value) || isInt<8>(Value);
  ------------------
  |  Branch (36:10): [True: 110, False: 308]
  |  Branch (36:30): [True: 16, False: 292]
  ------------------
   37|    418|}

_ZN7llvm_ks10X86Operand11CreateTokenENS_9StringRefENS_5SMLocE:
  466|   290k|  static std::unique_ptr<X86Operand> CreateToken(StringRef Str, SMLoc Loc) {
  467|   290k|    SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size());
  468|   290k|    auto Res = llvm_ks::make_unique<X86Operand>(Token, Loc, EndLoc);
  469|   290k|    Res->Tok.Data = Str.data();
  470|   290k|    Res->Tok.Length = Str.size();
  471|   290k|    return Res;
  472|   290k|  }
_ZN7llvm_ks10X86OperandC2ENS0_6KindTyENS_5SMLocES2_:
   70|   346k|    : Kind(K), StartLoc(Start), EndLoc(End) {}
_ZNK7llvm_ks10X86Operand7isTokenEv:
  132|   717k|  bool isToken() const override {return Kind == Token; }
_ZNK7llvm_ks10X86Operand5isImmEv:
  134|  23.5k|  bool isImm() const override { return Kind == Immediate; }
_ZNK7llvm_ks10X86Operand5isRegEv:
  368|   558k|  bool isReg() const override { return Kind == Register; }
_ZNK7llvm_ks10X86Operand6getRegEv:
   97|   373k|  unsigned getReg() const override {
   98|   373k|    assert(Kind == Register && "Invalid access!");
  ------------------
  |  Branch (98:5): [True: 373k, False: 0]
  |  Branch (98:5): [True: 373k, Folded]
  |  Branch (98:5): [True: 373k, False: 0]
  ------------------
   99|   373k|    return Reg.RegNo;
  100|   373k|  }
_ZNK7llvm_ks10X86Operand5isMemEv:
  208|  1.85k|  bool isMem() const override { return Kind == Memory; }
_ZNK7llvm_ks10X86Operand11getStartLocEv:
   76|    807|  SMLoc getStartLoc() const override { return StartLoc; }
_ZN7llvm_ks10X86Operand9CreateImmEPKNS_6MCExprENS_5SMLocES4_:
  488|  15.7k|                                               SMLoc StartLoc, SMLoc EndLoc) {
  489|  15.7k|    auto Res = llvm_ks::make_unique<X86Operand>(Immediate, StartLoc, EndLoc);
  490|  15.7k|    Res->Imm.Val = Val;
  491|  15.7k|    return Res;
  492|  15.7k|  }
_ZN7llvm_ks10X86Operand9CreateMemEjPKNS_6MCExprENS_5SMLocES4_jNS_9StringRefEPv:
  498|  16.5k|            void *OpDecl = nullptr) {
  499|  16.5k|    auto Res = llvm_ks::make_unique<X86Operand>(Memory, StartLoc, EndLoc);
  500|  16.5k|    Res->Mem.SegReg   = 0;
  501|  16.5k|    Res->Mem.Disp     = Disp;
  502|  16.5k|    Res->Mem.BaseReg  = 0;
  503|  16.5k|    Res->Mem.IndexReg = 0;
  504|  16.5k|    Res->Mem.Scale    = 1;
  505|  16.5k|    Res->Mem.Size     = Size;
  506|  16.5k|    Res->Mem.ModeSize = ModeSize;
  507|  16.5k|    Res->SymName      = SymName;
  508|  16.5k|    Res->OpDecl       = OpDecl;
  509|  16.5k|    Res->AddressOf    = false;
  510|  16.5k|    return Res;
  511|  16.5k|  }
_ZN7llvm_ks10X86Operand9CreateMemEjjPKNS_6MCExprEjjjNS_5SMLocES4_jNS_9StringRefEPv:
  518|  20.3k|            void *OpDecl = nullptr) {
  519|       |    // We should never just have a displacement, that should be parsed as an
  520|       |    // absolute memory operand.
  521|       |    // assert((SegReg || BaseReg || IndexReg) && "Invalid memory operand!");
  522|       |
  523|       |    // The scale should always be one of {1,2,4,8}.
  524|  20.3k|    assert(((Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8)) &&
  ------------------
  |  Branch (524:5): [True: 20.3k, False: 47]
  |  Branch (524:5): [True: 36, False: 11]
  |  Branch (524:5): [True: 4, False: 7]
  |  Branch (524:5): [True: 7, False: 0]
  |  Branch (524:5): [True: 20.3k, Folded]
  |  Branch (524:5): [True: 20.3k, False: 0]
  ------------------
  525|  20.3k|           "Invalid scale!");
  526|  20.3k|    auto Res = llvm_ks::make_unique<X86Operand>(Memory, StartLoc, EndLoc);
  527|  20.3k|    Res->Mem.SegReg   = SegReg;
  528|  20.3k|    Res->Mem.Disp     = Disp;
  529|  20.3k|    Res->Mem.BaseReg  = BaseReg;
  530|  20.3k|    Res->Mem.IndexReg = IndexReg;
  531|  20.3k|    Res->Mem.Scale    = Scale;
  532|  20.3k|    Res->Mem.Size     = Size;
  533|  20.3k|    Res->Mem.ModeSize = ModeSize;
  534|  20.3k|    Res->SymName      = SymName;
  535|  20.3k|    Res->OpDecl       = OpDecl;
  536|  20.3k|    Res->AddressOf    = false;
  537|  20.3k|    return Res;
  538|  20.3k|  }
_ZN7llvm_ks10X86Operand13setTokenValueENS_9StringRefE:
   91|  7.49k|  void setTokenValue(StringRef Value) {
   92|  7.49k|    assert(Kind == Token && "Invalid access!");
  ------------------
  |  Branch (92:5): [True: 7.49k, False: 0]
  |  Branch (92:5): [True: 7.49k, Folded]
  |  Branch (92:5): [True: 7.49k, False: 0]
  ------------------
   93|  7.49k|    Tok.Data = Value.data();
   94|  7.49k|    Tok.Length = Value.size();
   95|  7.49k|  }
_ZN7llvm_ks10X86Operand9CreateRegEjNS_5SMLocES1_bS1_NS_9StringRefEPv:
  477|  3.36k|            StringRef SymName = StringRef(), void *OpDecl = nullptr) {
  478|  3.36k|    auto Res = llvm_ks::make_unique<X86Operand>(Register, StartLoc, EndLoc);
  479|  3.36k|    Res->Reg.RegNo = RegNo;
  480|  3.36k|    Res->AddressOf = AddressOf;
  481|  3.36k|    Res->OffsetOfLoc = OffsetOfLoc;
  482|  3.36k|    Res->SymName = SymName;
  483|  3.36k|    Res->OpDecl = OpDecl;
  484|  3.36k|    return Res;
  485|  3.36k|  }
_ZNK7llvm_ks10X86Operand6getImmEv:
  102|  2.81k|  const MCExpr *getImm() const {
  103|  2.81k|    assert(Kind == Immediate && "Invalid access!");
  ------------------
  |  Branch (103:5): [True: 2.81k, False: 0]
  |  Branch (103:5): [True: 2.81k, Folded]
  |  Branch (103:5): [True: 2.81k, False: 0]
  ------------------
  104|  2.81k|    return Imm.Val;
  105|  2.81k|  }
_ZNK7llvm_ks10X86Operand6isMem8Ev:
  212|  23.2k|  bool isMem8() const {
  213|  23.2k|    return Kind == Memory && (!Mem.Size || Mem.Size == 8);
  ------------------
  |  Branch (213:12): [True: 11.0k, False: 12.2k]
  |  Branch (213:31): [True: 3.25k, False: 7.75k]
  |  Branch (213:44): [True: 935, False: 6.81k]
  ------------------
  214|  23.2k|  }
_ZNK7llvm_ks10X86Operand8getTokenEv:
   87|   228k|  StringRef getToken() const {
   88|   228k|    assert(Kind == Token && "Invalid access!");
  ------------------
  |  Branch (88:5): [True: 228k, False: 0]
  |  Branch (88:5): [True: 228k, Folded]
  |  Branch (88:5): [True: 228k, False: 0]
  ------------------
   89|   228k|    return StringRef(Tok.Data, Tok.Length);
   90|   228k|  }
_ZNK7llvm_ks10X86Operand12isMemUnsizedEv:
  209|  82.8k|  bool isMemUnsized() const {
  210|  82.8k|    return Kind == Memory && Mem.Size == 0;
  ------------------
  |  Branch (210:12): [True: 45.3k, False: 37.5k]
  |  Branch (210:30): [True: 39.4k, False: 5.85k]
  ------------------
  211|  82.8k|  }
_ZNK7llvm_ks10X86Operand10isAVX512RCEv:
  282|      3|  bool isAVX512RC() const{
  283|      3|      return isImm();
  284|      3|  }
_ZNK7llvm_ks10X86Operand14isImmSExti64i8Ev:
  164|  1.19k|  bool isImmSExti64i8() const {
  165|  1.19k|    if (!isImm())
  ------------------
  |  Branch (165:9): [True: 760, False: 436]
  ------------------
  166|    760|      return false;
  167|       |
  168|       |    // If this isn't a constant expr, just assume it fits and let relaxation
  169|       |    // handle it.
  170|    436|    const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
  171|    436|    if (!CE)
  ------------------
  |  Branch (171:9): [True: 150, False: 286]
  ------------------
  172|    150|      return true;
  173|       |
  174|       |    // Otherwise, check the value is in a range that makes sense for this
  175|       |    // extension.
  176|    286|    return isImmSExti64i8Value(CE->getValue());
  177|    436|  }
_ZNK7llvm_ks10X86Operand14isImmSExti16i8Ev:
  136|    828|  bool isImmSExti16i8() const {
  137|    828|    if (!isImm())
  ------------------
  |  Branch (137:9): [True: 393, False: 435]
  ------------------
  138|    393|      return false;
  139|       |
  140|       |    // If this isn't a constant expr, just assume it fits and let relaxation
  141|       |    // handle it.
  142|    435|    const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
  143|    435|    if (!CE)
  ------------------
  |  Branch (143:9): [True: 114, False: 321]
  ------------------
  144|    114|      return true;
  145|       |
  146|       |    // Otherwise, check the value is in a range that makes sense for this
  147|       |    // extension.
  148|    321|    return isImmSExti16i8Value(CE->getValue());
  149|    435|  }
_ZNK7llvm_ks10X86Operand14isImmSExti32i8Ev:
  150|    872|  bool isImmSExti32i8() const {
  151|    872|    if (!isImm())
  ------------------
  |  Branch (151:9): [True: 503, False: 369]
  ------------------
  152|    503|      return false;
  153|       |
  154|       |    // If this isn't a constant expr, just assume it fits and let relaxation
  155|       |    // handle it.
  156|    369|    const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
  157|    369|    if (!CE)
  ------------------
  |  Branch (157:9): [True: 92, False: 277]
  ------------------
  158|     92|      return true;
  159|       |
  160|       |    // Otherwise, check the value is in a range that makes sense for this
  161|       |    // extension.
  162|    277|    return isImmSExti32i8Value(CE->getValue());
  163|    369|  }
_ZNK7llvm_ks10X86Operand15isImmSExti64i32Ev:
  178|  1.05k|  bool isImmSExti64i32() const {
  179|  1.05k|    if (!isImm())
  ------------------
  |  Branch (179:9): [True: 785, False: 268]
  ------------------
  180|    785|      return false;
  181|       |
  182|       |    // If this isn't a constant expr, just assume it fits and let relaxation
  183|       |    // handle it.
  184|    268|    const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
  185|    268|    if (!CE)
  ------------------
  |  Branch (185:9): [True: 56, False: 212]
  ------------------
  186|     56|      return true;
  187|       |
  188|       |    // Otherwise, check the value is in a range that makes sense for this
  189|       |    // extension.
  190|    212|    return isImmSExti64i32Value(CE->getValue());
  191|    268|  }
_ZNK7llvm_ks10X86Operand15isImmUnsignedi8Ev:
  193|    893|  bool isImmUnsignedi8() const {
  194|    893|    if (!isImm()) return false;
  ------------------
  |  Branch (194:9): [True: 365, False: 528]
  ------------------
  195|    528|    const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
  196|    528|    if (!CE) return false;
  ------------------
  |  Branch (196:9): [True: 110, False: 418]
  ------------------
  197|    418|    return isImmUnsignedi8Value(CE->getValue());
  198|    528|  }
_ZNK7llvm_ks10X86Operand10isDstIdx16Ev:
  319|  5.63k|  bool isDstIdx16() const {
  320|  5.63k|    return isMem16() && isDstIdx();
  ------------------
  |  Branch (320:12): [True: 820, False: 4.81k]
  |  Branch (320:25): [True: 741, False: 79]
  ------------------
  321|  5.63k|  }
_ZNK7llvm_ks10X86Operand8isDstIdxEv:
  309|  27.1k|  bool isDstIdx() const {
  310|  27.1k|    return !getMemIndexReg() && getMemScale() == 1 &&
  ------------------
  |  Branch (310:12): [True: 27.0k, False: 88]
  |  Branch (310:33): [True: 27.0k, False: 0]
  ------------------
  311|  27.0k|      (getMemSegReg() == 0 || getMemSegReg() == X86::ES) &&
  ------------------
  |  Branch (311:8): [True: 27.0k, False: 3]
  |  Branch (311:31): [True: 0, False: 3]
  ------------------
  312|  27.0k|      (getMemBaseReg() == X86::RDI || getMemBaseReg() == X86::EDI ||
  ------------------
  |  Branch (312:8): [True: 4.51k, False: 22.5k]
  |  Branch (312:39): [True: 9.09k, False: 13.4k]
  ------------------
  313|  26.8k|       getMemBaseReg() == X86::DI) && isa<MCConstantExpr>(getMemDisp()) &&
  ------------------
  |  Branch (313:8): [True: 13.2k, False: 191]
  |  Branch (313:39): [True: 26.8k, False: 36]
  ------------------
  314|  26.8k|      cast<MCConstantExpr>(getMemDisp())->getValue() == 0;
  ------------------
  |  Branch (314:7): [True: 26.8k, False: 4]
  ------------------
  315|  27.1k|  }
_ZNK7llvm_ks10X86Operand14getMemIndexRegEv:
  119|   123k|  unsigned getMemIndexReg() const {
  120|   123k|    assert(Kind == Memory && "Invalid access!");
  ------------------
  |  Branch (120:5): [True: 123k, False: 0]
  |  Branch (120:5): [True: 123k, Folded]
  |  Branch (120:5): [True: 123k, False: 0]
  ------------------
  121|   123k|    return Mem.IndexReg;
  122|   123k|  }
_ZNK7llvm_ks10X86Operand11getMemScaleEv:
  123|   122k|  unsigned getMemScale() const {
  124|   122k|    assert(Kind == Memory && "Invalid access!");
  ------------------
  |  Branch (124:5): [True: 122k, False: 0]
  |  Branch (124:5): [True: 122k, Folded]
  |  Branch (124:5): [True: 122k, False: 0]
  ------------------
  125|   122k|    return Mem.Scale;
  126|   122k|  }
_ZNK7llvm_ks10X86Operand12getMemSegRegEv:
  111|   106k|  unsigned getMemSegReg() const {
  112|   106k|    assert(Kind == Memory && "Invalid access!");
  ------------------
  |  Branch (112:5): [True: 106k, False: 0]
  |  Branch (112:5): [True: 106k, Folded]
  |  Branch (112:5): [True: 106k, False: 0]
  ------------------
  113|   106k|    return Mem.SegReg;
  114|   106k|  }
_ZNK7llvm_ks10X86Operand13getMemBaseRegEv:
  115|   183k|  unsigned getMemBaseReg() const {
  116|   183k|    assert(Kind == Memory && "Invalid access!");
  ------------------
  |  Branch (116:5): [True: 183k, False: 0]
  |  Branch (116:5): [True: 183k, Folded]
  |  Branch (116:5): [True: 183k, False: 0]
  ------------------
  117|   183k|    return Mem.BaseReg;
  118|   183k|  }
_ZNK7llvm_ks10X86Operand10getMemDispEv:
  107|   141k|  const MCExpr *getMemDisp() const {
  108|   141k|    assert(Kind == Memory && "Invalid access!");
  ------------------
  |  Branch (108:5): [True: 141k, False: 0]
  |  Branch (108:5): [True: 141k, Folded]
  |  Branch (108:5): [True: 141k, False: 0]
  ------------------
  109|   141k|    return Mem.Disp;
  110|   141k|  }
_ZNK7llvm_ks10X86Operand10isDstIdx32Ev:
  322|  2.44k|  bool isDstIdx32() const {
  323|  2.44k|    return isMem32() && isDstIdx();
  ------------------
  |  Branch (323:12): [True: 341, False: 2.10k]
  |  Branch (323:25): [True: 259, False: 82]
  ------------------
  324|  2.44k|  }
_ZNK7llvm_ks10X86Operand10isDstIdx64Ev:
  325|  26.0k|  bool isDstIdx64() const {
  326|  26.0k|    return isMem64() && isDstIdx();
  ------------------
  |  Branch (326:12): [True: 25.4k, False: 558]
  |  Branch (326:25): [True: 25.3k, False: 78]
  ------------------
  327|  26.0k|  }
_ZNK7llvm_ks10X86Operand9isDstIdx8Ev:
  316|  2.37k|  bool isDstIdx8() const {
  317|  2.37k|    return isMem8() && isDstIdx();
  ------------------
  |  Branch (317:12): [True: 510, False: 1.86k]
  |  Branch (317:24): [True: 427, False: 83]
  ------------------
  318|  2.37k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs16_16Ev:
  337|  9.24k|  bool isMemOffs16_16() const {
  338|  9.24k|    return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 16);
  ------------------
  |  Branch (338:12): [True: 4.46k, False: 4.77k]
  |  Branch (338:27): [True: 4.32k, False: 146]
  |  Branch (338:50): [True: 17, False: 4.30k]
  |  Branch (338:63): [True: 538, False: 3.76k]
  ------------------
  339|  9.24k|  }
_ZNK7llvm_ks10X86Operand9isMemOffsEv:
  329|  66.4k|  bool isMemOffs() const {
  330|  66.4k|    return Kind == Memory && !getMemBaseReg() && !getMemIndexReg() &&
  ------------------
  |  Branch (330:12): [True: 14.1k, False: 52.3k]
  |  Branch (330:30): [True: 13.8k, False: 272]
  |  Branch (330:50): [True: 13.7k, False: 88]
  ------------------
  331|  13.7k|      getMemScale() == 1;
  ------------------
  |  Branch (331:7): [True: 13.7k, False: 0]
  ------------------
  332|  66.4k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs16_32Ev:
  340|  4.89k|  bool isMemOffs16_32() const {
  341|  4.89k|    return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 32);
  ------------------
  |  Branch (341:12): [True: 115, False: 4.77k]
  |  Branch (341:27): [True: 73, False: 42]
  |  Branch (341:50): [True: 9, False: 64]
  |  Branch (341:63): [True: 8, False: 56]
  ------------------
  342|  4.89k|  }
_ZNK7llvm_ks10X86Operand13isMemOffs16_8Ev:
  334|  5.10k|  bool isMemOffs16_8() const {
  335|  5.10k|    return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 8);
  ------------------
  |  Branch (335:12): [True: 291, False: 4.81k]
  |  Branch (335:27): [True: 137, False: 154]
  |  Branch (335:50): [True: 17, False: 120]
  |  Branch (335:63): [True: 15, False: 105]
  ------------------
  336|  5.10k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs32_16Ev:
  346|  8.71k|  bool isMemOffs32_16() const {
  347|  8.71k|    return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 16);
  ------------------
  |  Branch (347:12): [True: 3.93k, False: 4.77k]
  |  Branch (347:27): [True: 41, False: 3.89k]
  |  Branch (347:50): [True: 17, False: 24]
  |  Branch (347:63): [True: 3, False: 21]
  ------------------
  348|  8.71k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs32_32Ev:
  349|  4.89k|  bool isMemOffs32_32() const {
  350|  4.89k|    return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 32);
  ------------------
  |  Branch (350:12): [True: 114, False: 4.77k]
  |  Branch (350:27): [True: 17, False: 97]
  |  Branch (350:50): [True: 9, False: 8]
  |  Branch (350:63): [True: 1, False: 7]
  ------------------
  351|  4.89k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs32_64Ev:
  352|  4.88k|  bool isMemOffs32_64() const {
  353|  4.88k|    return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 64);
  ------------------
  |  Branch (353:12): [True: 107, False: 4.77k]
  |  Branch (353:27): [True: 17, False: 90]
  |  Branch (353:50): [True: 9, False: 8]
  |  Branch (353:63): [True: 1, False: 7]
  ------------------
  354|  4.88k|  }
_ZNK7llvm_ks10X86Operand13isMemOffs32_8Ev:
  343|  5.10k|  bool isMemOffs32_8() const {
  344|  5.10k|    return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 8);
  ------------------
  |  Branch (344:12): [True: 283, False: 4.81k]
  |  Branch (344:27): [True: 89, False: 194]
  |  Branch (344:50): [True: 9, False: 80]
  |  Branch (344:63): [True: 10, False: 70]
  ------------------
  345|  5.10k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs64_16Ev:
  358|  8.71k|  bool isMemOffs64_16() const {
  359|  8.71k|    return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 16);
  ------------------
  |  Branch (359:12): [True: 3.93k, False: 4.77k]
  |  Branch (359:27): [True: 105, False: 3.82k]
  |  Branch (359:50): [True: 17, False: 88]
  |  Branch (359:63): [True: 11, False: 77]
  ------------------
  360|  8.71k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs64_32Ev:
  361|  4.89k|  bool isMemOffs64_32() const {
  362|  4.89k|    return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 32);
  ------------------
  |  Branch (362:12): [True: 114, False: 4.77k]
  |  Branch (362:27): [True: 25, False: 89]
  |  Branch (362:50): [True: 9, False: 16]
  |  Branch (362:63): [True: 2, False: 14]
  ------------------
  363|  4.89k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs64_64Ev:
  364|  4.88k|  bool isMemOffs64_64() const {
  365|  4.88k|    return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 64);
  ------------------
  |  Branch (365:12): [True: 107, False: 4.77k]
  |  Branch (365:27): [True: 25, False: 82]
  |  Branch (365:50): [True: 9, False: 16]
  |  Branch (365:63): [True: 2, False: 14]
  ------------------
  366|  4.88k|  }
_ZNK7llvm_ks10X86Operand13isMemOffs64_8Ev:
  355|  5.09k|  bool isMemOffs64_8() const {
  356|  5.09k|    return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 8);
  ------------------
  |  Branch (356:12): [True: 274, False: 4.81k]
  |  Branch (356:27): [True: 65, False: 209]
  |  Branch (356:50): [True: 9, False: 56]
  |  Branch (356:63): [True: 7, False: 49]
  ------------------
  357|  5.09k|  }
_ZNK7llvm_ks10X86Operand10isSrcIdx16Ev:
  299|  2.23k|  bool isSrcIdx16() const {
  300|  2.23k|    return isMem16() && isSrcIdx();
  ------------------
  |  Branch (300:12): [True: 1.30k, False: 933]
  |  Branch (300:25): [True: 1.28k, False: 24]
  ------------------
  301|  2.23k|  }
_ZNK7llvm_ks10X86Operand8isSrcIdxEv:
  290|  8.91k|  bool isSrcIdx() const {
  291|  8.91k|    return !getMemIndexReg() && getMemScale() == 1 &&
  ------------------
  |  Branch (291:12): [True: 8.87k, False: 36]
  |  Branch (291:33): [True: 8.87k, False: 0]
  ------------------
  292|  8.87k|      (getMemBaseReg() == X86::RSI || getMemBaseReg() == X86::ESI ||
  ------------------
  |  Branch (292:8): [True: 1.58k, False: 7.29k]
  |  Branch (292:39): [True: 1.61k, False: 5.68k]
  ------------------
  293|  8.81k|       getMemBaseReg() == X86::SI) && isa<MCConstantExpr>(getMemDisp()) &&
  ------------------
  |  Branch (293:8): [True: 5.62k, False: 61]
  |  Branch (293:39): [True: 8.81k, False: 0]
  ------------------
  294|  8.81k|      cast<MCConstantExpr>(getMemDisp())->getValue() == 0;
  ------------------
  |  Branch (294:7): [True: 8.81k, False: 0]
  ------------------
  295|  8.91k|  }
_ZNK7llvm_ks10X86Operand10isSrcIdx32Ev:
  302|  4.05k|  bool isSrcIdx32() const {
  303|  4.05k|    return isMem32() && isSrcIdx();
  ------------------
  |  Branch (303:12): [True: 1.57k, False: 2.48k]
  |  Branch (303:25): [True: 1.55k, False: 24]
  ------------------
  304|  4.05k|  }
_ZNK7llvm_ks10X86Operand10isSrcIdx64Ev:
  305|  25.8k|  bool isSrcIdx64() const {
  306|  25.8k|    return isMem64() && isSrcIdx();
  ------------------
  |  Branch (306:12): [True: 4.10k, False: 21.7k]
  |  Branch (306:25): [True: 4.08k, False: 24]
  ------------------
  307|  25.8k|  }
_ZNK7llvm_ks10X86Operand9isSrcIdx8Ev:
  296|  3.70k|  bool isSrcIdx8() const {
  297|  3.70k|    return isMem8() && isSrcIdx();
  ------------------
  |  Branch (297:12): [True: 1.92k, False: 1.77k]
  |  Branch (297:24): [True: 1.89k, False: 25]
  ------------------
  298|  3.70k|  }
_ZNK7llvm_ks10X86Operand8isAbsMemEv:
  278|  67.8k|  bool isAbsMem() const {
  279|  67.8k|    return (Kind == Memory) && !getMemSegReg() && !getMemBaseReg() &&
  ------------------
  |  Branch (279:12): [True: 67.6k, False: 180]
  |  Branch (279:32): [True: 67.6k, False: 14]
  |  Branch (279:51): [True: 66.9k, False: 709]
  ------------------
  280|  66.9k|      !getMemIndexReg() && (getMemScale() == 1) && (Mem.ModeSize == 0 || Mem.Size == 0);
  ------------------
  |  Branch (280:7): [True: 66.7k, False: 114]
  |  Branch (280:28): [True: 66.7k, False: 0]
  |  Branch (280:53): [True: 57.7k, False: 9.01k]
  |  Branch (280:74): [True: 2.38k, False: 6.63k]
  ------------------
  281|  67.8k|  }
_ZNK7llvm_ks10X86Operand8isMem128Ev:
  227|    104|  bool isMem128() const {
  228|    104|    return Kind == Memory && (!Mem.Size || Mem.Size == 128);
  ------------------
  |  Branch (228:12): [True: 67, False: 37]
  |  Branch (228:31): [True: 27, False: 40]
  |  Branch (228:44): [True: 5, False: 35]
  ------------------
  229|    104|  }
_ZNK7llvm_ks10X86Operand7isMem16Ev:
  215|  62.9k|  bool isMem16() const {
  216|  62.9k|    return Kind == Memory && (!Mem.Size || Mem.Size == 16);
  ------------------
  |  Branch (216:12): [True: 30.4k, False: 32.5k]
  |  Branch (216:31): [True: 2.18k, False: 28.2k]
  |  Branch (216:44): [True: 4.08k, False: 24.1k]
  ------------------
  217|  62.9k|  }
_ZNK7llvm_ks10X86Operand8isMem256Ev:
  230|     96|  bool isMem256() const {
  231|     96|    return Kind == Memory && (!Mem.Size || Mem.Size == 256);
  ------------------
  |  Branch (231:12): [True: 63, False: 33]
  |  Branch (231:31): [True: 23, False: 40]
  |  Branch (231:44): [True: 5, False: 35]
  ------------------
  232|     96|  }
_ZNK7llvm_ks10X86Operand7isMem32Ev:
  218|  24.6k|  bool isMem32() const {
  219|  24.6k|    return Kind == Memory && (!Mem.Size || Mem.Size == 32);
  ------------------
  |  Branch (219:12): [True: 11.0k, False: 13.5k]
  |  Branch (219:31): [True: 1.81k, False: 9.24k]
  |  Branch (219:44): [True: 1.54k, False: 7.70k]
  ------------------
  220|  24.6k|  }
_ZNK7llvm_ks10X86Operand8isMem512Ev:
  233|     60|  bool isMem512() const {
  234|     60|    return Kind == Memory && (!Mem.Size || Mem.Size == 512);
  ------------------
  |  Branch (234:12): [True: 40, False: 20]
  |  Branch (234:31): [True: 16, False: 24]
  |  Branch (234:44): [True: 3, False: 21]
  ------------------
  235|     60|  }
_ZNK7llvm_ks10X86Operand7isMem64Ev:
  221|  68.7k|  bool isMem64() const {
  222|  68.7k|    return Kind == Memory && (!Mem.Size || Mem.Size == 64);
  ------------------
  |  Branch (222:12): [True: 55.2k, False: 13.5k]
  |  Branch (222:31): [True: 26.8k, False: 28.4k]
  |  Branch (222:44): [True: 4.01k, False: 24.3k]
  ------------------
  223|  68.7k|  }
_ZNK7llvm_ks10X86Operand7isMem80Ev:
  224|     24|  bool isMem80() const {
  225|     24|    return Kind == Memory && (!Mem.Size || Mem.Size == 80);
  ------------------
  |  Branch (225:12): [True: 15, False: 9]
  |  Branch (225:31): [True: 9, False: 6]
  |  Branch (225:44): [True: 1, False: 5]
  ------------------
  226|     24|  }
_ZNK7llvm_ks10X86Operand14addRegOperandsERNS_6MCInstEj:
  384|    686|  void addRegOperands(MCInst &Inst, unsigned N) const {
  385|    686|    assert(N == 1 && "Invalid number of operands!");
  ------------------
  |  Branch (385:5): [True: 686, False: 0]
  |  Branch (385:5): [True: 686, Folded]
  |  Branch (385:5): [True: 686, False: 0]
  ------------------
  386|    686|    Inst.addOperand(MCOperand::createReg(getReg()));
  387|    686|  }
_ZNK7llvm_ks10X86Operand14addImmOperandsERNS_6MCInstEj:
  423|    689|  void addImmOperands(MCInst &Inst, unsigned N) const {
  424|    689|    assert(N == 1 && "Invalid number of operands!");
  ------------------
  |  Branch (424:5): [True: 689, False: 0]
  |  Branch (424:5): [True: 689, Folded]
  |  Branch (424:5): [True: 689, False: 0]
  ------------------
  425|    689|    addExpr(Inst, getImm());
  426|    689|  }
_ZNK7llvm_ks10X86Operand7addExprERNS_6MCInstEPKNS_6MCExprE:
  376|  7.14k|  void addExpr(MCInst &Inst, const MCExpr *Expr) const {
  377|       |    // Add as immediates when possible.
  378|  7.14k|    if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr))
  ------------------
  |  Branch (378:31): [True: 2.30k, False: 4.83k]
  ------------------
  379|  2.30k|      Inst.addOperand(MCOperand::createImm(CE->getValue()));
  380|  4.83k|    else
  381|  4.83k|      Inst.addOperand(MCOperand::createExpr(Expr));
  382|  7.14k|  }
_ZNK7llvm_ks10X86Operand14addMemOperandsERNS_6MCInstEj:
  428|  6.45k|  void addMemOperands(MCInst &Inst, unsigned N) const {
  429|  6.45k|    assert((N == 5) && "Invalid number of operands!");
  ------------------
  |  Branch (429:5): [True: 6.45k, False: 0]
  |  Branch (429:5): [True: 6.45k, Folded]
  |  Branch (429:5): [True: 6.45k, False: 0]
  ------------------
  430|  6.45k|    Inst.addOperand(MCOperand::createReg(getMemBaseReg()));
  431|  6.45k|    Inst.addOperand(MCOperand::createImm(getMemScale()));
  432|  6.45k|    Inst.addOperand(MCOperand::createReg(getMemIndexReg()));
  433|  6.45k|    addExpr(Inst, getMemDisp());
  434|  6.45k|    Inst.addOperand(MCOperand::createReg(getMemSegReg()));
  435|  6.45k|  }
_ZNK7llvm_ks10X86Operand17addAbsMemOperandsERNS_6MCInstEj:
  437|  57.2k|  void addAbsMemOperands(MCInst &Inst, unsigned N) const {
  438|  57.2k|    assert((N == 1) && "Invalid number of operands!");
  ------------------
  |  Branch (438:5): [True: 57.2k, False: 0]
  |  Branch (438:5): [True: 57.2k, Folded]
  |  Branch (438:5): [True: 57.2k, False: 0]
  ------------------
  439|       |    // Add as immediates when possible.
  440|  57.2k|    if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getMemDisp()))
  ------------------
  |  Branch (440:31): [True: 51.5k, False: 5.75k]
  ------------------
  441|  51.5k|      Inst.addOperand(MCOperand::createImm(CE->getValue()));
  442|  5.75k|    else
  443|  5.75k|      Inst.addOperand(MCOperand::createExpr(getMemDisp()));
  444|  57.2k|  }
_ZNK7llvm_ks10X86Operand17addDstIdxOperandsERNS_6MCInstEj:
  451|  4.83k|  void addDstIdxOperands(MCInst &Inst, unsigned N) const {
  452|  4.83k|    assert((N == 1) && "Invalid number of operands!");
  ------------------
  |  Branch (452:5): [True: 4.83k, False: 0]
  |  Branch (452:5): [True: 4.83k, Folded]
  |  Branch (452:5): [True: 4.83k, False: 0]
  ------------------
  453|  4.83k|    Inst.addOperand(MCOperand::createReg(getMemBaseReg()));
  454|  4.83k|  }
_ZNK7llvm_ks10X86Operand17addSrcIdxOperandsERNS_6MCInstEj:
  446|  5.15k|  void addSrcIdxOperands(MCInst &Inst, unsigned N) const {
  447|  5.15k|    assert((N == 2) && "Invalid number of operands!");
  ------------------
  |  Branch (447:5): [True: 5.15k, False: 0]
  |  Branch (447:5): [True: 5.15k, Folded]
  |  Branch (447:5): [True: 5.15k, False: 0]
  ------------------
  448|  5.15k|    Inst.addOperand(MCOperand::createReg(getMemBaseReg()));
  449|  5.15k|    Inst.addOperand(MCOperand::createReg(getMemSegReg()));
  450|  5.15k|  }
_ZNK7llvm_ks10X86Operand18addMemOffsOperandsERNS_6MCInstEj:
  456|    565|  void addMemOffsOperands(MCInst &Inst, unsigned N) const {
  457|    565|    assert((N == 2) && "Invalid number of operands!");
  ------------------
  |  Branch (457:5): [True: 565, False: 0]
  |  Branch (457:5): [True: 565, Folded]
  |  Branch (457:5): [True: 565, False: 0]
  ------------------
  458|       |    // Add as immediates when possible.
  459|    565|    if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getMemDisp()))
  ------------------
  |  Branch (459:31): [True: 10, False: 555]
  ------------------
  460|     10|      Inst.addOperand(MCOperand::createImm(CE->getValue()));
  461|    555|    else
  462|    555|      Inst.addOperand(MCOperand::createExpr(getMemDisp()));
  463|    565|    Inst.addOperand(MCOperand::createReg(getMemSegReg()));
  464|    565|  }

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

_ZN7llvm_ks5X86II24isX86_64NonExtLowByteRegEj:
  771|  43.0k|  inline bool isX86_64NonExtLowByteReg(unsigned reg) {
  772|  43.0k|    return (reg == X86::SPL || reg == X86::BPL ||
  ------------------
  |  Branch (772:13): [True: 56, False: 42.9k]
  |  Branch (772:32): [True: 18, False: 42.9k]
  ------------------
  773|  42.9k|            reg == X86::SIL || reg == X86::DIL);
  ------------------
  |  Branch (773:13): [True: 13, False: 42.9k]
  |  Branch (773:32): [True: 21, False: 42.8k]
  ------------------
  774|  43.0k|  }
_ZN7llvm_ks5X86II19isX86_64ExtendedRegEj:
  736|  42.8k|  inline bool isX86_64ExtendedReg(unsigned RegNo) {
  737|  42.8k|    if ((RegNo > X86::XMM7 && RegNo <= X86::XMM15) ||
  ------------------
  |  Branch (737:10): [True: 1.16k, False: 41.7k]
  |  Branch (737:31): [True: 56, False: 1.11k]
  ------------------
  738|  42.8k|        (RegNo > X86::XMM23 && RegNo <= X86::XMM31) ||
  ------------------
  |  Branch (738:10): [True: 1.09k, False: 41.7k]
  |  Branch (738:32): [True: 66, False: 1.02k]
  ------------------
  739|  42.7k|        (RegNo > X86::YMM7 && RegNo <= X86::YMM15) ||
  ------------------
  |  Branch (739:10): [True: 963, False: 41.8k]
  |  Branch (739:31): [True: 101, False: 862]
  ------------------
  740|  42.6k|        (RegNo > X86::YMM23 && RegNo <= X86::YMM31) ||
  ------------------
  |  Branch (740:10): [True: 844, False: 41.8k]
  |  Branch (740:32): [True: 151, False: 693]
  ------------------
  741|  42.5k|        (RegNo > X86::ZMM7 && RegNo <= X86::ZMM15) ||
  ------------------
  |  Branch (741:10): [True: 656, False: 41.8k]
  |  Branch (741:31): [True: 48, False: 608]
  ------------------
  742|  42.4k|        (RegNo > X86::ZMM23 && RegNo <= X86::ZMM31))
  ------------------
  |  Branch (742:10): [True: 595, False: 41.8k]
  |  Branch (742:32): [True: 71, False: 524]
  ------------------
  743|    493|      return true;
  744|       |
  745|  42.4k|    switch (RegNo) {
  746|  41.0k|    default: break;
  ------------------
  |  Branch (746:5): [True: 41.0k, False: 1.34k]
  ------------------
  747|  41.0k|    case X86::R8:    case X86::R9:    case X86::R10:   case X86::R11:
  ------------------
  |  Branch (747:5): [True: 4, False: 42.4k]
  |  Branch (747:22): [True: 15, False: 42.3k]
  |  Branch (747:39): [True: 13, False: 42.3k]
  |  Branch (747:56): [True: 6, False: 42.3k]
  ------------------
  748|    123|    case X86::R12:   case X86::R13:   case X86::R14:   case X86::R15:
  ------------------
  |  Branch (748:5): [True: 9, False: 42.3k]
  |  Branch (748:22): [True: 19, False: 42.3k]
  |  Branch (748:39): [True: 44, False: 42.3k]
  |  Branch (748:56): [True: 13, False: 42.3k]
  ------------------
  749|    249|    case X86::R8D:   case X86::R9D:   case X86::R10D:  case X86::R11D:
  ------------------
  |  Branch (749:5): [True: 29, False: 42.3k]
  |  Branch (749:22): [True: 15, False: 42.3k]
  |  Branch (749:39): [True: 21, False: 42.3k]
  |  Branch (749:56): [True: 61, False: 42.3k]
  ------------------
  750|    294|    case X86::R12D:  case X86::R13D:  case X86::R14D:  case X86::R15D:
  ------------------
  |  Branch (750:5): [True: 13, False: 42.3k]
  |  Branch (750:22): [True: 13, False: 42.3k]
  |  Branch (750:39): [True: 13, False: 42.3k]
  |  Branch (750:56): [True: 6, False: 42.3k]
  ------------------
  751|    384|    case X86::R8W:   case X86::R9W:   case X86::R10W:  case X86::R11W:
  ------------------
  |  Branch (751:5): [True: 17, False: 42.3k]
  |  Branch (751:22): [True: 35, False: 42.3k]
  |  Branch (751:39): [True: 20, False: 42.3k]
  |  Branch (751:56): [True: 18, False: 42.3k]
  ------------------
  752|    559|    case X86::R12W:  case X86::R13W:  case X86::R14W:  case X86::R15W:
  ------------------
  |  Branch (752:5): [True: 56, False: 42.3k]
  |  Branch (752:22): [True: 11, False: 42.3k]
  |  Branch (752:39): [True: 83, False: 42.3k]
  |  Branch (752:56): [True: 25, False: 42.3k]
  ------------------
  753|    601|    case X86::R8B:   case X86::R9B:   case X86::R10B:  case X86::R11B:
  ------------------
  |  Branch (753:5): [True: 18, False: 42.3k]
  |  Branch (753:22): [True: 3, False: 42.4k]
  |  Branch (753:39): [True: 10, False: 42.3k]
  |  Branch (753:56): [True: 11, False: 42.3k]
  ------------------
  754|    647|    case X86::R12B:  case X86::R13B:  case X86::R14B:  case X86::R15B:
  ------------------
  |  Branch (754:5): [True: 13, False: 42.3k]
  |  Branch (754:22): [True: 14, False: 42.3k]
  |  Branch (754:39): [True: 8, False: 42.3k]
  |  Branch (754:56): [True: 11, False: 42.3k]
  ------------------
  755|    832|    case X86::CR8:   case X86::CR9:   case X86::CR10:  case X86::CR11:
  ------------------
  |  Branch (755:5): [True: 44, False: 42.3k]
  |  Branch (755:22): [True: 13, False: 42.3k]
  |  Branch (755:39): [True: 11, False: 42.3k]
  |  Branch (755:56): [True: 117, False: 42.2k]
  ------------------
  756|  1.34k|    case X86::CR12:  case X86::CR13:  case X86::CR14:  case X86::CR15:
  ------------------
  |  Branch (756:5): [True: 71, False: 42.3k]
  |  Branch (756:22): [True: 240, False: 42.1k]
  |  Branch (756:39): [True: 159, False: 42.2k]
  |  Branch (756:56): [True: 40, False: 42.3k]
  ------------------
  757|  1.34k|      return true;
  758|  42.4k|    }
  759|  41.0k|    return false;
  760|  42.4k|  }
_ZN7llvm_ks5X86II16getBaseOpcodeForEm:
  575|  36.4k|  inline unsigned char getBaseOpcodeFor(uint64_t TSFlags) {
  576|  36.4k|    return TSFlags >> X86II::OpcodeShift;
  577|  36.4k|  }
_ZN7llvm_ks5X86II6hasImmEm:
  579|     90|  inline bool hasImm(uint64_t TSFlags) {
  580|     90|    return (TSFlags & X86II::ImmMask) != 0;
  581|     90|  }
_ZN7llvm_ks5X86II12getSizeOfImmEm:
  585|  33.5k|  inline unsigned getSizeOfImm(uint64_t TSFlags) {
  586|  33.5k|    switch (TSFlags & X86II::ImmMask) {
  587|      0|    default: llvm_unreachable("Unknown immediate size");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (587:5): [True: 0, False: 33.5k]
  ------------------
  588|    882|    case X86II::Imm8:
  ------------------
  |  Branch (588:5): [True: 882, False: 32.7k]
  ------------------
  589|  15.9k|    case X86II::Imm8PCRel:  return 1;
  ------------------
  |  Branch (589:5): [True: 15.0k, False: 18.5k]
  ------------------
  590|  1.17k|    case X86II::Imm16:
  ------------------
  |  Branch (590:5): [True: 1.17k, False: 32.4k]
  ------------------
  591|  2.55k|    case X86II::Imm16PCRel: return 2;
  ------------------
  |  Branch (591:5): [True: 1.38k, False: 32.2k]
  ------------------
  592|    348|    case X86II::Imm32:
  ------------------
  |  Branch (592:5): [True: 348, False: 33.2k]
  ------------------
  593|    362|    case X86II::Imm32S:
  ------------------
  |  Branch (593:5): [True: 14, False: 33.5k]
  ------------------
  594|  15.0k|    case X86II::Imm32PCRel: return 4;
  ------------------
  |  Branch (594:5): [True: 14.6k, False: 18.9k]
  ------------------
  595|     28|    case X86II::Imm64:      return 8;
  ------------------
  |  Branch (595:5): [True: 28, False: 33.5k]
  ------------------
  596|  33.5k|    }
  597|  33.5k|  }
_ZN7llvm_ks5X86II10isImmPCRelEm:
  601|  16.7k|  inline unsigned isImmPCRel(uint64_t TSFlags) {
  602|  16.7k|    switch (TSFlags & X86II::ImmMask) {
  603|      0|    default: llvm_unreachable("Unknown immediate size");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (603:5): [True: 0, False: 16.7k]
  ------------------
  604|  7.54k|    case X86II::Imm8PCRel:
  ------------------
  |  Branch (604:5): [True: 7.54k, False: 9.25k]
  ------------------
  605|  8.23k|    case X86II::Imm16PCRel:
  ------------------
  |  Branch (605:5): [True: 693, False: 16.1k]
  ------------------
  606|  15.5k|    case X86II::Imm32PCRel:
  ------------------
  |  Branch (606:5): [True: 7.33k, False: 9.45k]
  ------------------
  607|  15.5k|      return true;
  608|    441|    case X86II::Imm8:
  ------------------
  |  Branch (608:5): [True: 441, False: 16.3k]
  ------------------
  609|  1.02k|    case X86II::Imm16:
  ------------------
  |  Branch (609:5): [True: 585, False: 16.2k]
  ------------------
  610|  1.20k|    case X86II::Imm32:
  ------------------
  |  Branch (610:5): [True: 174, False: 16.6k]
  ------------------
  611|  1.20k|    case X86II::Imm32S:
  ------------------
  |  Branch (611:5): [True: 7, False: 16.7k]
  ------------------
  612|  1.22k|    case X86II::Imm64:
  ------------------
  |  Branch (612:5): [True: 14, False: 16.7k]
  ------------------
  613|  1.22k|      return false;
  614|  16.7k|    }
  615|  16.7k|  }
_ZN7llvm_ks5X86II11isImmSignedEm:
  619|  16.7k|  inline unsigned isImmSigned(uint64_t TSFlags) {
  620|  16.7k|    switch (TSFlags & X86II::ImmMask) {
  621|      0|    default: llvm_unreachable("Unknown immediate signedness");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (621:5): [True: 0, False: 16.7k]
  ------------------
  622|      7|    case X86II::Imm32S:
  ------------------
  |  Branch (622:5): [True: 7, False: 16.7k]
  ------------------
  623|      7|      return true;
  624|    441|    case X86II::Imm8:
  ------------------
  |  Branch (624:5): [True: 441, False: 16.3k]
  ------------------
  625|  7.98k|    case X86II::Imm8PCRel:
  ------------------
  |  Branch (625:5): [True: 7.54k, False: 9.25k]
  ------------------
  626|  8.57k|    case X86II::Imm16:
  ------------------
  |  Branch (626:5): [True: 585, False: 16.2k]
  ------------------
  627|  9.26k|    case X86II::Imm16PCRel:
  ------------------
  |  Branch (627:5): [True: 693, False: 16.1k]
  ------------------
  628|  9.43k|    case X86II::Imm32:
  ------------------
  |  Branch (628:5): [True: 174, False: 16.6k]
  ------------------
  629|  16.7k|    case X86II::Imm32PCRel:
  ------------------
  |  Branch (629:5): [True: 7.33k, False: 9.45k]
  ------------------
  630|  16.7k|    case X86II::Imm64:
  ------------------
  |  Branch (630:5): [True: 14, False: 16.7k]
  ------------------
  631|  16.7k|      return false;
  632|  16.7k|    }
  633|  16.7k|  }
_ZN7llvm_ks5X86II14getOperandBiasERKNS_11MCInstrDescE:
  641|  36.4k|  {
  642|  36.4k|    unsigned NumOps = Desc.getNumOperands();
  643|  36.4k|    unsigned CurOp = 0;
  644|  36.4k|    if (NumOps > 1 && Desc.getOperandConstraint(1, MCOI::TIED_TO) == 0)
  ------------------
  |  Branch (644:9): [True: 11.6k, False: 24.8k]
  |  Branch (644:23): [True: 348, False: 11.2k]
  ------------------
  645|    348|      ++CurOp;
  646|  36.0k|    else if (NumOps > 3 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 &&
  ------------------
  |  Branch (646:14): [True: 5.49k, False: 30.6k]
  |  Branch (646:28): [True: 0, False: 5.49k]
  ------------------
  647|      0|             Desc.getOperandConstraint(3, MCOI::TIED_TO) == 1)
  ------------------
  |  Branch (647:14): [True: 0, False: 0]
  ------------------
  648|       |      // Special case for AVX-512 GATHER with 2 TIED_TO operands
  649|       |      // Skip the first 2 operands: dst, mask_wb
  650|      0|      CurOp += 2;
  651|  36.0k|    else if (NumOps > 3 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 &&
  ------------------
  |  Branch (651:14): [True: 5.49k, False: 30.6k]
  |  Branch (651:28): [True: 0, False: 5.49k]
  ------------------
  652|      0|             Desc.getOperandConstraint(NumOps - 1, MCOI::TIED_TO) == 1)
  ------------------
  |  Branch (652:14): [True: 0, False: 0]
  ------------------
  653|       |      // Special case for GATHER with 2 TIED_TO operands
  654|       |      // Skip the first 2 operands: dst, mask_wb
  655|      0|      CurOp += 2;
  656|  36.0k|    else if (NumOps > 2 && Desc.getOperandConstraint(NumOps - 2, MCOI::TIED_TO) == 0)
  ------------------
  |  Branch (656:14): [True: 9.81k, False: 26.2k]
  |  Branch (656:28): [True: 0, False: 9.81k]
  ------------------
  657|       |      // SCATTER
  658|      0|      ++CurOp;
  659|  36.4k|    return CurOp;
  660|  36.4k|  }
_ZN7llvm_ks5X86II18getMemoryOperandNoEmj:
  670|  36.4k|  inline int getMemoryOperandNo(uint64_t TSFlags, unsigned Opcode) {
  671|  36.4k|    bool HasVEX_4V = TSFlags & X86II::VEX_4V;
  672|  36.4k|    bool HasMemOp4 = TSFlags & X86II::MemOp4;
  673|  36.4k|    bool HasEVEX_K = TSFlags & X86II::EVEX_K;
  674|       |
  675|  36.4k|    switch (TSFlags & X86II::FormMask) {
  676|      0|    default: llvm_unreachable("Unknown FormMask value in getMemoryOperandNo!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (676:5): [True: 0, False: 36.4k]
  ------------------
  677|      0|    case X86II::Pseudo:
  ------------------
  |  Branch (677:5): [True: 0, False: 36.4k]
  ------------------
  678|  22.6k|    case X86II::RawFrm:
  ------------------
  |  Branch (678:5): [True: 22.6k, False: 13.8k]
  ------------------
  679|  22.7k|    case X86II::AddRegFrm:
  ------------------
  |  Branch (679:5): [True: 99, False: 36.3k]
  ------------------
  680|  22.7k|    case X86II::MRMDestReg:
  ------------------
  |  Branch (680:5): [True: 29, False: 36.4k]
  ------------------
  681|  22.7k|    case X86II::MRMSrcReg:
  ------------------
  |  Branch (681:5): [True: 15, False: 36.4k]
  ------------------
  682|  22.7k|    case X86II::RawFrmImm8:
  ------------------
  |  Branch (682:5): [True: 0, False: 36.4k]
  ------------------
  683|  22.7k|    case X86II::RawFrmImm16:
  ------------------
  |  Branch (683:5): [True: 13, False: 36.4k]
  ------------------
  684|  23.3k|    case X86II::RawFrmMemOffs:
  ------------------
  |  Branch (684:5): [True: 565, False: 35.8k]
  ------------------
  685|  24.0k|    case X86II::RawFrmSrc:
  ------------------
  |  Branch (685:5): [True: 717, False: 35.7k]
  ------------------
  686|  24.4k|    case X86II::RawFrmDst:
  ------------------
  |  Branch (686:5): [True: 417, False: 36.0k]
  ------------------
  687|  28.7k|    case X86II::RawFrmDstSrc:
  ------------------
  |  Branch (687:5): [True: 4.32k, False: 32.1k]
  ------------------
  688|  28.7k|      return -1;
  689|     43|    case X86II::MRMDestMem:
  ------------------
  |  Branch (689:5): [True: 43, False: 36.4k]
  ------------------
  690|     43|      return 0;
  691|    247|    case X86II::MRMSrcMem:
  ------------------
  |  Branch (691:5): [True: 247, False: 36.1k]
  ------------------
  692|       |      // Start from 1, skip any registers encoded in VEX_VVVV or I8IMM, or a
  693|       |      // mask register.
  694|    247|      return 1 + HasVEX_4V + HasMemOp4 + HasEVEX_K;
  695|      0|    case X86II::MRMXr:
  ------------------
  |  Branch (695:5): [True: 0, False: 36.4k]
  ------------------
  696|     46|    case X86II::MRM0r: case X86II::MRM1r:
  ------------------
  |  Branch (696:5): [True: 34, False: 36.4k]
  |  Branch (696:24): [True: 12, False: 36.4k]
  ------------------
  697|     97|    case X86II::MRM2r: case X86II::MRM3r:
  ------------------
  |  Branch (697:5): [True: 40, False: 36.4k]
  |  Branch (697:24): [True: 11, False: 36.4k]
  ------------------
  698|    272|    case X86II::MRM4r: case X86II::MRM5r:
  ------------------
  |  Branch (698:5): [True: 117, False: 36.3k]
  |  Branch (698:24): [True: 58, False: 36.3k]
  ------------------
  699|    399|    case X86II::MRM6r: case X86II::MRM7r:
  ------------------
  |  Branch (699:5): [True: 35, False: 36.4k]
  |  Branch (699:24): [True: 92, False: 36.3k]
  ------------------
  700|    399|      return -1;
  701|    540|    case X86II::MRMXm:
  ------------------
  |  Branch (701:5): [True: 540, False: 35.9k]
  ------------------
  702|    681|    case X86II::MRM0m: case X86II::MRM1m:
  ------------------
  |  Branch (702:5): [True: 126, False: 36.3k]
  |  Branch (702:24): [True: 15, False: 36.4k]
  ------------------
  703|  2.99k|    case X86II::MRM2m: case X86II::MRM3m:
  ------------------
  |  Branch (703:5): [True: 2.19k, False: 34.2k]
  |  Branch (703:24): [True: 124, False: 36.3k]
  ------------------
  704|  3.91k|    case X86II::MRM4m: case X86II::MRM5m:
  ------------------
  |  Branch (704:5): [True: 890, False: 35.5k]
  |  Branch (704:24): [True: 32, False: 36.4k]
  ------------------
  705|  5.28k|    case X86II::MRM6m: case X86II::MRM7m:
  ------------------
  |  Branch (705:5): [True: 157, False: 36.2k]
  |  Branch (705:24): [True: 1.20k, False: 35.2k]
  ------------------
  706|       |      // Start from 0, skip registers encoded in VEX_VVVV or a mask register.
  707|  5.28k|      return 0 + HasVEX_4V + HasEVEX_K;
  708|      0|    case X86II::MRM_C0: case X86II::MRM_C1: case X86II::MRM_C2:
  ------------------
  |  Branch (708:5): [True: 0, False: 36.4k]
  |  Branch (708:25): [True: 0, False: 36.4k]
  |  Branch (708:45): [True: 0, False: 36.4k]
  ------------------
  709|      3|    case X86II::MRM_C3: case X86II::MRM_C4: case X86II::MRM_C5:
  ------------------
  |  Branch (709:5): [True: 3, False: 36.4k]
  |  Branch (709:25): [True: 0, False: 36.4k]
  |  Branch (709:45): [True: 0, False: 36.4k]
  ------------------
  710|      6|    case X86II::MRM_C6: case X86II::MRM_C7: case X86II::MRM_C8:
  ------------------
  |  Branch (710:5): [True: 0, False: 36.4k]
  |  Branch (710:25): [True: 0, False: 36.4k]
  |  Branch (710:45): [True: 3, False: 36.4k]
  ------------------
  711|     88|    case X86II::MRM_C9: case X86II::MRM_CA: case X86II::MRM_CB:
  ------------------
  |  Branch (711:5): [True: 71, False: 36.3k]
  |  Branch (711:25): [True: 1, False: 36.4k]
  |  Branch (711:45): [True: 10, False: 36.4k]
  ------------------
  712|     88|    case X86II::MRM_CC: case X86II::MRM_CD: case X86II::MRM_CE:
  ------------------
  |  Branch (712:5): [True: 0, False: 36.4k]
  |  Branch (712:25): [True: 0, False: 36.4k]
  |  Branch (712:45): [True: 0, False: 36.4k]
  ------------------
  713|     94|    case X86II::MRM_CF: case X86II::MRM_D0: case X86II::MRM_D1:
  ------------------
  |  Branch (713:5): [True: 6, False: 36.4k]
  |  Branch (713:25): [True: 0, False: 36.4k]
  |  Branch (713:45): [True: 0, False: 36.4k]
  ------------------
  714|     95|    case X86II::MRM_D2: case X86II::MRM_D3: case X86II::MRM_D4:
  ------------------
  |  Branch (714:5): [True: 0, False: 36.4k]
  |  Branch (714:25): [True: 0, False: 36.4k]
  |  Branch (714:45): [True: 1, False: 36.4k]
  ------------------
  715|    126|    case X86II::MRM_D5: case X86II::MRM_D6: case X86II::MRM_D7:
  ------------------
  |  Branch (715:5): [True: 13, False: 36.4k]
  |  Branch (715:25): [True: 0, False: 36.4k]
  |  Branch (715:45): [True: 18, False: 36.4k]
  ------------------
  716|    129|    case X86II::MRM_D8: case X86II::MRM_D9: case X86II::MRM_DA:
  ------------------
  |  Branch (716:5): [True: 0, False: 36.4k]
  |  Branch (716:25): [True: 3, False: 36.4k]
  |  Branch (716:45): [True: 0, False: 36.4k]
  ------------------
  717|    131|    case X86II::MRM_DB: case X86II::MRM_DC: case X86II::MRM_DD:
  ------------------
  |  Branch (717:5): [True: 0, False: 36.4k]
  |  Branch (717:25): [True: 1, False: 36.4k]
  |  Branch (717:45): [True: 1, False: 36.4k]
  ------------------
  718|  1.48k|    case X86II::MRM_DE: case X86II::MRM_DF: case X86II::MRM_E0:
  ------------------
  |  Branch (718:5): [True: 0, False: 36.4k]
  |  Branch (718:25): [True: 0, False: 36.4k]
  |  Branch (718:45): [True: 1.35k, False: 35.0k]
  ------------------
  719|  1.55k|    case X86II::MRM_E1: case X86II::MRM_E2: case X86II::MRM_E3:
  ------------------
  |  Branch (719:5): [True: 1, False: 36.4k]
  |  Branch (719:25): [True: 1, False: 36.4k]
  |  Branch (719:45): [True: 73, False: 36.3k]
  ------------------
  720|  1.56k|    case X86II::MRM_E4: case X86II::MRM_E5: case X86II::MRM_E6:
  ------------------
  |  Branch (720:5): [True: 10, False: 36.4k]
  |  Branch (720:25): [True: 1, False: 36.4k]
  |  Branch (720:45): [True: 0, False: 36.4k]
  ------------------
  721|  1.58k|    case X86II::MRM_E7: case X86II::MRM_E8: case X86II::MRM_E9:
  ------------------
  |  Branch (721:5): [True: 0, False: 36.4k]
  |  Branch (721:25): [True: 15, False: 36.4k]
  |  Branch (721:45): [True: 1, False: 36.4k]
  ------------------
  722|  1.60k|    case X86II::MRM_EA: case X86II::MRM_EB: case X86II::MRM_EC:
  ------------------
  |  Branch (722:5): [True: 1, False: 36.4k]
  |  Branch (722:25): [True: 18, False: 36.4k]
  |  Branch (722:45): [True: 0, False: 36.4k]
  ------------------
  723|  1.61k|    case X86II::MRM_ED: case X86II::MRM_EE: case X86II::MRM_EF:
  ------------------
  |  Branch (723:5): [True: 0, False: 36.4k]
  |  Branch (723:25): [True: 10, False: 36.4k]
  |  Branch (723:45): [True: 1, False: 36.4k]
  ------------------
  724|  1.64k|    case X86II::MRM_F0: case X86II::MRM_F1: case X86II::MRM_F2:
  ------------------
  |  Branch (724:5): [True: 1, False: 36.4k]
  |  Branch (724:25): [True: 10, False: 36.4k]
  |  Branch (724:45): [True: 16, False: 36.4k]
  ------------------
  725|  1.64k|    case X86II::MRM_F3: case X86II::MRM_F4: case X86II::MRM_F5:
  ------------------
  |  Branch (725:5): [True: 3, False: 36.4k]
  |  Branch (725:25): [True: 1, False: 36.4k]
  |  Branch (725:45): [True: 0, False: 36.4k]
  ------------------
  726|  1.64k|    case X86II::MRM_F6: case X86II::MRM_F7: case X86II::MRM_F8:
  ------------------
  |  Branch (726:5): [True: 1, False: 36.4k]
  |  Branch (726:25): [True: 0, False: 36.4k]
  |  Branch (726:45): [True: 2, False: 36.4k]
  ------------------
  727|  1.65k|    case X86II::MRM_F9: case X86II::MRM_FA: case X86II::MRM_FB:
  ------------------
  |  Branch (727:5): [True: 0, False: 36.4k]
  |  Branch (727:25): [True: 1, False: 36.4k]
  |  Branch (727:45): [True: 1, False: 36.4k]
  ------------------
  728|  1.67k|    case X86II::MRM_FC: case X86II::MRM_FD: case X86II::MRM_FE:
  ------------------
  |  Branch (728:5): [True: 22, False: 36.4k]
  |  Branch (728:25): [True: 1, False: 36.4k]
  |  Branch (728:45): [True: 1, False: 36.4k]
  ------------------
  729|  1.68k|    case X86II::MRM_FF:
  ------------------
  |  Branch (729:5): [True: 7, False: 36.4k]
  ------------------
  730|  1.68k|      return -1;
  731|  36.4k|    }
  732|  36.4k|  }

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

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

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

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

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

X86AsmParser.cpp:_ZNK12_GLOBAL__N_112X86AsmParser24ComputeAvailableFeaturesERKN7llvm_ks13FeatureBitsetE:
 6031|  19.7k|ComputeAvailableFeatures(const FeatureBitset& FB) const {
 6032|  19.7k|  uint64_t Features = 0;
 6033|  19.7k|  if ((FB[X86::FeatureAVX512]))
  ------------------
  |  Branch (6033:7): [True: 19.7k, False: 0]
  ------------------
 6034|  19.7k|    Features |= Feature_HasAVX512;
 6035|  19.7k|  if ((FB[X86::FeatureCDI]))
  ------------------
  |  Branch (6035:7): [True: 19.7k, False: 0]
  ------------------
 6036|  19.7k|    Features |= Feature_HasCDI;
 6037|  19.7k|  if ((FB[X86::FeaturePFI]))
  ------------------
  |  Branch (6037:7): [True: 19.7k, False: 0]
  ------------------
 6038|  19.7k|    Features |= Feature_HasPFI;
 6039|  19.7k|  if ((FB[X86::FeatureERI]))
  ------------------
  |  Branch (6039:7): [True: 19.7k, False: 0]
  ------------------
 6040|  19.7k|    Features |= Feature_HasERI;
 6041|  19.7k|  if ((FB[X86::FeatureDQI]))
  ------------------
  |  Branch (6041:7): [True: 0, False: 19.7k]
  ------------------
 6042|      0|    Features |= Feature_HasDQI;
 6043|  19.7k|  if ((FB[X86::FeatureBWI]))
  ------------------
  |  Branch (6043:7): [True: 0, False: 19.7k]
  ------------------
 6044|      0|    Features |= Feature_HasBWI;
 6045|  19.7k|  if ((FB[X86::FeatureVLX]))
  ------------------
  |  Branch (6045:7): [True: 0, False: 19.7k]
  ------------------
 6046|      0|    Features |= Feature_HasVLX;
 6047|  19.7k|  if ((FB[X86::FeatureVBMI]))
  ------------------
  |  Branch (6047:7): [True: 0, False: 19.7k]
  ------------------
 6048|      0|    Features |= Feature_HasVBMI;
 6049|  19.7k|  if ((FB[X86::FeatureIFMA]))
  ------------------
  |  Branch (6049:7): [True: 0, False: 19.7k]
  ------------------
 6050|      0|    Features |= Feature_HasIFMA;
 6051|  19.7k|  if ((!FB[X86::Mode64Bit]))
  ------------------
  |  Branch (6051:7): [True: 19.2k, False: 453]
  ------------------
 6052|  19.2k|    Features |= Feature_Not64BitMode;
 6053|  19.7k|  if ((FB[X86::Mode64Bit]))
  ------------------
  |  Branch (6053:7): [True: 453, False: 19.2k]
  ------------------
 6054|    453|    Features |= Feature_In64BitMode;
 6055|  19.7k|  if ((FB[X86::Mode16Bit]))
  ------------------
  |  Branch (6055:7): [True: 19.0k, False: 659]
  ------------------
 6056|  19.0k|    Features |= Feature_In16BitMode;
 6057|  19.7k|  if ((!FB[X86::Mode16Bit]))
  ------------------
  |  Branch (6057:7): [True: 659, False: 19.0k]
  ------------------
 6058|    659|    Features |= Feature_Not16BitMode;
 6059|  19.7k|  if ((FB[X86::Mode32Bit]))
  ------------------
  |  Branch (6059:7): [True: 206, False: 19.5k]
  ------------------
 6060|    206|    Features |= Feature_In32BitMode;
 6061|  19.7k|  return Features;
 6062|  19.7k|}
X86AsmParser.cpp:_ZL17MatchRegisterNameN7llvm_ks9StringRefE:
   48|  78.4k|static unsigned MatchRegisterName(StringRef Name) {
   49|  78.4k|  switch (Name.size()) {
   50|  23.8k|  default: break;
  ------------------
  |  Branch (50:3): [True: 23.8k, False: 54.5k]
  ------------------
   51|  25.9k|  case 2:	 // 33 strings to match.
  ------------------
  |  Branch (51:3): [True: 25.9k, False: 52.4k]
  ------------------
   52|  25.9k|    switch (Name[0]) {
   53|  14.8k|    default: break;
  ------------------
  |  Branch (53:5): [True: 14.8k, False: 11.0k]
  ------------------
   54|  14.8k|    case 'a':	 // 3 strings to match.
  ------------------
  |  Branch (54:5): [True: 1.05k, False: 24.8k]
  ------------------
   55|  1.05k|      switch (Name[1]) {
   56|    302|      default: break;
  ------------------
  |  Branch (56:7): [True: 302, False: 755]
  ------------------
   57|    302|      case 'h':	 // 1 string to match.
  ------------------
  |  Branch (57:7): [True: 33, False: 1.02k]
  ------------------
   58|     33|        return 1;	 // "ah"
   59|     97|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (59:7): [True: 97, False: 960]
  ------------------
   60|     97|        return 2;	 // "al"
   61|    625|      case 'x':	 // 1 string to match.
  ------------------
  |  Branch (61:7): [True: 625, False: 432]
  ------------------
   62|    625|        return 3;	 // "ax"
   63|  1.05k|      }
   64|    302|      break;
   65|    844|    case 'b':	 // 4 strings to match.
  ------------------
  |  Branch (65:5): [True: 844, False: 25.0k]
  ------------------
   66|    844|      switch (Name[1]) {
   67|    633|      default: break;
  ------------------
  |  Branch (67:7): [True: 633, False: 211]
  ------------------
   68|    633|      case 'h':	 // 1 string to match.
  ------------------
  |  Branch (68:7): [True: 28, False: 816]
  ------------------
   69|     28|        return 4;	 // "bh"
   70|    137|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (70:7): [True: 137, False: 707]
  ------------------
   71|    137|        return 5;	 // "bl"
   72|     18|      case 'p':	 // 1 string to match.
  ------------------
  |  Branch (72:7): [True: 18, False: 826]
  ------------------
   73|     18|        return 6;	 // "bp"
   74|     28|      case 'x':	 // 1 string to match.
  ------------------
  |  Branch (74:7): [True: 28, False: 816]
  ------------------
   75|     28|        return 8;	 // "bx"
   76|    844|      }
   77|    633|      break;
   78|  1.03k|    case 'c':	 // 4 strings to match.
  ------------------
  |  Branch (78:5): [True: 1.03k, False: 24.8k]
  ------------------
   79|  1.03k|      switch (Name[1]) {
   80|    796|      default: break;
  ------------------
  |  Branch (80:7): [True: 796, False: 237]
  ------------------
   81|    796|      case 'h':	 // 1 string to match.
  ------------------
  |  Branch (81:7): [True: 45, False: 988]
  ------------------
   82|     45|        return 9;	 // "ch"
   83|     68|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (83:7): [True: 68, False: 965]
  ------------------
   84|     68|        return 10;	 // "cl"
   85|     79|      case 's':	 // 1 string to match.
  ------------------
  |  Branch (85:7): [True: 79, False: 954]
  ------------------
   86|     79|        return 11;	 // "cs"
   87|     45|      case 'x':	 // 1 string to match.
  ------------------
  |  Branch (87:7): [True: 45, False: 988]
  ------------------
   88|     45|        return 12;	 // "cx"
   89|  1.03k|      }
   90|    796|      break;
   91|  1.20k|    case 'd':	 // 5 strings to match.
  ------------------
  |  Branch (91:5): [True: 1.20k, False: 24.6k]
  ------------------
   92|  1.20k|      switch (Name[1]) {
   93|    777|      default: break;
  ------------------
  |  Branch (93:7): [True: 777, False: 432]
  ------------------
   94|    777|      case 'h':	 // 1 string to match.
  ------------------
  |  Branch (94:7): [True: 239, False: 970]
  ------------------
   95|    239|        return 13;	 // "dh"
   96|     33|      case 'i':	 // 1 string to match.
  ------------------
  |  Branch (96:7): [True: 33, False: 1.17k]
  ------------------
   97|     33|        return 14;	 // "di"
   98|     60|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (98:7): [True: 60, False: 1.14k]
  ------------------
   99|     60|        return 16;	 // "dl"
  100|     62|      case 's':	 // 1 string to match.
  ------------------
  |  Branch (100:7): [True: 62, False: 1.14k]
  ------------------
  101|     62|        return 17;	 // "ds"
  102|     38|      case 'x':	 // 1 string to match.
  ------------------
  |  Branch (102:7): [True: 38, False: 1.17k]
  ------------------
  103|     38|        return 18;	 // "dx"
  104|  1.20k|      }
  105|    777|      break;
  106|    777|    case 'e':	 // 1 string to match.
  ------------------
  |  Branch (106:5): [True: 278, False: 25.6k]
  ------------------
  107|    278|      if (Name[1] != 's')
  ------------------
  |  Branch (107:11): [True: 232, False: 46]
  ------------------
  108|    232|        break;
  109|     46|      return 28;	 // "es"
  110|  1.07k|    case 'f':	 // 1 string to match.
  ------------------
  |  Branch (110:5): [True: 1.07k, False: 24.8k]
  ------------------
  111|  1.07k|      if (Name[1] != 's')
  ------------------
  |  Branch (111:11): [True: 454, False: 622]
  ------------------
  112|    454|        break;
  113|    622|      return 32;	 // "fs"
  114|    155|    case 'g':	 // 1 string to match.
  ------------------
  |  Branch (114:5): [True: 155, False: 25.7k]
  ------------------
  115|    155|      if (Name[1] != 's')
  ------------------
  |  Branch (115:11): [True: 140, False: 15]
  ------------------
  116|    140|        break;
  117|     15|      return 33;	 // "gs"
  118|    556|    case 'i':	 // 1 string to match.
  ------------------
  |  Branch (118:5): [True: 556, False: 25.3k]
  ------------------
  119|    556|      if (Name[1] != 'p')
  ------------------
  |  Branch (119:11): [True: 471, False: 85]
  ------------------
  120|    471|        break;
  121|     85|      return 34;	 // "ip"
  122|  2.95k|    case 'k':	 // 8 strings to match.
  ------------------
  |  Branch (122:5): [True: 2.95k, False: 22.9k]
  ------------------
  123|  2.95k|      switch (Name[1]) {
  124|  1.61k|      default: break;
  ------------------
  |  Branch (124:7): [True: 1.61k, False: 1.33k]
  ------------------
  125|  1.61k|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (125:7): [True: 131, False: 2.82k]
  ------------------
  126|    131|        return 94;	 // "k0"
  127|    166|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (127:7): [True: 166, False: 2.78k]
  ------------------
  128|    166|        return 95;	 // "k1"
  129|    103|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (129:7): [True: 103, False: 2.85k]
  ------------------
  130|    103|        return 96;	 // "k2"
  131|     35|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (131:7): [True: 35, False: 2.91k]
  ------------------
  132|     35|        return 97;	 // "k3"
  133|    757|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (133:7): [True: 757, False: 2.19k]
  ------------------
  134|    757|        return 98;	 // "k4"
  135|    113|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (135:7): [True: 113, False: 2.84k]
  ------------------
  136|    113|        return 99;	 // "k5"
  137|     19|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (137:7): [True: 19, False: 2.93k]
  ------------------
  138|     19|        return 100;	 // "k6"
  139|     14|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (139:7): [True: 14, False: 2.93k]
  ------------------
  140|     14|        return 101;	 // "k7"
  141|  2.95k|      }
  142|  1.61k|      break;
  143|  1.61k|    case 'r':	 // 2 strings to match.
  ------------------
  |  Branch (143:5): [True: 996, False: 24.9k]
  ------------------
  144|    996|      switch (Name[1]) {
  145|    955|      default: break;
  ------------------
  |  Branch (145:7): [True: 955, False: 41]
  ------------------
  146|    955|      case '8':	 // 1 string to match.
  ------------------
  |  Branch (146:7): [True: 21, False: 975]
  ------------------
  147|     21|        return 110;	 // "r8"
  148|     20|      case '9':	 // 1 string to match.
  ------------------
  |  Branch (148:7): [True: 20, False: 976]
  ------------------
  149|     20|        return 111;	 // "r9"
  150|    996|      }
  151|    955|      break;
  152|    955|    case 's':	 // 3 strings to match.
  ------------------
  |  Branch (152:5): [True: 923, False: 24.9k]
  ------------------
  153|    923|      switch (Name[1]) {
  154|    664|      default: break;
  ------------------
  |  Branch (154:7): [True: 664, False: 259]
  ------------------
  155|    664|      case 'i':	 // 1 string to match.
  ------------------
  |  Branch (155:7): [True: 101, False: 822]
  ------------------
  156|    101|        return 45;	 // "si"
  157|    114|      case 'p':	 // 1 string to match.
  ------------------
  |  Branch (157:7): [True: 114, False: 809]
  ------------------
  158|    114|        return 47;	 // "sp"
  159|     44|      case 's':	 // 1 string to match.
  ------------------
  |  Branch (159:7): [True: 44, False: 879]
  ------------------
  160|     44|        return 49;	 // "ss"
  161|    923|      }
  162|    664|      break;
  163|  25.9k|    }
  164|  21.8k|    break;
  165|  21.8k|  case 3:	 // 72 strings to match.
  ------------------
  |  Branch (165:3): [True: 13.6k, False: 64.7k]
  ------------------
  166|  13.6k|    switch (Name[0]) {
  167|  6.08k|    default: break;
  ------------------
  |  Branch (167:5): [True: 6.08k, False: 7.52k]
  ------------------
  168|  6.08k|    case 'b':	 // 1 string to match.
  ------------------
  |  Branch (168:5): [True: 376, False: 13.2k]
  ------------------
  169|    376|      if (memcmp(Name.data()+1, "pl", 2))
  ------------------
  |  Branch (169:11): [True: 358, False: 18]
  ------------------
  170|    358|        break;
  171|     18|      return 7;	 // "bpl"
  172|    633|    case 'c':	 // 10 strings to match.
  ------------------
  |  Branch (172:5): [True: 633, False: 12.9k]
  ------------------
  173|    633|      if (Name[1] != 'r')
  ------------------
  |  Branch (173:11): [True: 318, False: 315]
  ------------------
  174|    318|        break;
  175|    315|      switch (Name[2]) {
  176|    134|      default: break;
  ------------------
  |  Branch (176:7): [True: 134, False: 181]
  ------------------
  177|    134|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (177:7): [True: 1, False: 314]
  ------------------
  178|      1|        return 54;	 // "cr0"
  179|     24|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (179:7): [True: 24, False: 291]
  ------------------
  180|     24|        return 55;	 // "cr1"
  181|      6|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (181:7): [True: 6, False: 309]
  ------------------
  182|      6|        return 56;	 // "cr2"
  183|     27|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (183:7): [True: 27, False: 288]
  ------------------
  184|     27|        return 57;	 // "cr3"
  185|     13|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (185:7): [True: 13, False: 302]
  ------------------
  186|     13|        return 58;	 // "cr4"
  187|     17|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (187:7): [True: 17, False: 298]
  ------------------
  188|     17|        return 59;	 // "cr5"
  189|     30|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (189:7): [True: 30, False: 285]
  ------------------
  190|     30|        return 60;	 // "cr6"
  191|      6|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (191:7): [True: 6, False: 309]
  ------------------
  192|      6|        return 61;	 // "cr7"
  193|     44|      case '8':	 // 1 string to match.
  ------------------
  |  Branch (193:7): [True: 44, False: 271]
  ------------------
  194|     44|        return 62;	 // "cr8"
  195|     13|      case '9':	 // 1 string to match.
  ------------------
  |  Branch (195:7): [True: 13, False: 302]
  ------------------
  196|     13|        return 63;	 // "cr9"
  197|    315|      }
  198|    134|      break;
  199|  1.08k|    case 'd':	 // 11 strings to match.
  ------------------
  |  Branch (199:5): [True: 1.08k, False: 12.5k]
  ------------------
  200|  1.08k|      switch (Name[1]) {
  201|    797|      default: break;
  ------------------
  |  Branch (201:7): [True: 797, False: 288]
  ------------------
  202|    797|      case 'i':	 // 1 string to match.
  ------------------
  |  Branch (202:7): [True: 119, False: 966]
  ------------------
  203|    119|        if (Name[2] != 'l')
  ------------------
  |  Branch (203:13): [True: 98, False: 21]
  ------------------
  204|     98|          break;
  205|     21|        return 15;	 // "dil"
  206|    169|      case 'r':	 // 10 strings to match.
  ------------------
  |  Branch (206:7): [True: 169, False: 916]
  ------------------
  207|    169|        switch (Name[2]) {
  208|     73|        default: break;
  ------------------
  |  Branch (208:9): [True: 73, False: 96]
  ------------------
  209|     73|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (209:9): [True: 1, False: 168]
  ------------------
  210|      1|          return 70;	 // "dr0"
  211|     17|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (211:9): [True: 17, False: 152]
  ------------------
  212|     17|          return 71;	 // "dr1"
  213|      2|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (213:9): [True: 2, False: 167]
  ------------------
  214|      2|          return 72;	 // "dr2"
  215|      4|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (215:9): [True: 4, False: 165]
  ------------------
  216|      4|          return 73;	 // "dr3"
  217|     15|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (217:9): [True: 15, False: 154]
  ------------------
  218|     15|          return 74;	 // "dr4"
  219|     14|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (219:9): [True: 14, False: 155]
  ------------------
  220|     14|          return 75;	 // "dr5"
  221|      9|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (221:9): [True: 9, False: 160]
  ------------------
  222|      9|          return 76;	 // "dr6"
  223|     14|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (223:9): [True: 14, False: 155]
  ------------------
  224|     14|          return 77;	 // "dr7"
  225|     13|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (225:9): [True: 13, False: 156]
  ------------------
  226|     13|          return 78;	 // "dr8"
  227|      7|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (227:9): [True: 7, False: 162]
  ------------------
  228|      7|          return 79;	 // "dr9"
  229|    169|        }
  230|     73|        break;
  231|  1.08k|      }
  232|    968|      break;
  233|    968|    case 'e':	 // 10 strings to match.
  ------------------
  |  Branch (233:5): [True: 859, False: 12.7k]
  ------------------
  234|    859|      switch (Name[1]) {
  235|    161|      default: break;
  ------------------
  |  Branch (235:7): [True: 161, False: 698]
  ------------------
  236|    161|      case 'a':	 // 1 string to match.
  ------------------
  |  Branch (236:7): [True: 147, False: 712]
  ------------------
  237|    147|        if (Name[2] != 'x')
  ------------------
  |  Branch (237:13): [True: 76, False: 71]
  ------------------
  238|     76|          break;
  239|     71|        return 19;	 // "eax"
  240|     99|      case 'b':	 // 2 strings to match.
  ------------------
  |  Branch (240:7): [True: 99, False: 760]
  ------------------
  241|     99|        switch (Name[2]) {
  242|     42|        default: break;
  ------------------
  |  Branch (242:9): [True: 42, False: 57]
  ------------------
  243|     42|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (243:9): [True: 33, False: 66]
  ------------------
  244|     33|          return 20;	 // "ebp"
  245|     24|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (245:9): [True: 24, False: 75]
  ------------------
  246|     24|          return 21;	 // "ebx"
  247|     99|        }
  248|     42|        break;
  249|     46|      case 'c':	 // 1 string to match.
  ------------------
  |  Branch (249:7): [True: 46, False: 813]
  ------------------
  250|     46|        if (Name[2] != 'x')
  ------------------
  |  Branch (250:13): [True: 19, False: 27]
  ------------------
  251|     19|          break;
  252|     27|        return 22;	 // "ecx"
  253|     55|      case 'd':	 // 2 strings to match.
  ------------------
  |  Branch (253:7): [True: 55, False: 804]
  ------------------
  254|     55|        switch (Name[2]) {
  255|     36|        default: break;
  ------------------
  |  Branch (255:9): [True: 36, False: 19]
  ------------------
  256|     36|        case 'i':	 // 1 string to match.
  ------------------
  |  Branch (256:9): [True: 6, False: 49]
  ------------------
  257|      6|          return 23;	 // "edi"
  258|     13|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (258:9): [True: 13, False: 42]
  ------------------
  259|     13|          return 24;	 // "edx"
  260|     55|        }
  261|     36|        break;
  262|     38|      case 'i':	 // 2 strings to match.
  ------------------
  |  Branch (262:7): [True: 38, False: 821]
  ------------------
  263|     38|        switch (Name[2]) {
  264|     37|        default: break;
  ------------------
  |  Branch (264:9): [True: 37, False: 1]
  ------------------
  265|     37|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (265:9): [True: 0, False: 38]
  ------------------
  266|      0|          return 26;	 // "eip"
  267|      1|        case 'z':	 // 1 string to match.
  ------------------
  |  Branch (267:9): [True: 1, False: 37]
  ------------------
  268|      1|          return 27;	 // "eiz"
  269|     38|        }
  270|     37|        break;
  271|    313|      case 's':	 // 2 strings to match.
  ------------------
  |  Branch (271:7): [True: 313, False: 546]
  ------------------
  272|    313|        switch (Name[2]) {
  273|    278|        default: break;
  ------------------
  |  Branch (273:9): [True: 278, False: 35]
  ------------------
  274|    278|        case 'i':	 // 1 string to match.
  ------------------
  |  Branch (274:9): [True: 12, False: 301]
  ------------------
  275|     12|          return 29;	 // "esi"
  276|     23|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (276:9): [True: 23, False: 290]
  ------------------
  277|     23|          return 30;	 // "esp"
  278|    313|        }
  279|    278|        break;
  280|    859|      }
  281|    649|      break;
  282|    663|    case 'f':	 // 8 strings to match.
  ------------------
  |  Branch (282:5): [True: 663, False: 12.9k]
  ------------------
  283|    663|      if (Name[1] != 'p')
  ------------------
  |  Branch (283:11): [True: 328, False: 335]
  ------------------
  284|    328|        break;
  285|    335|      switch (Name[2]) {
  286|    286|      default: break;
  ------------------
  |  Branch (286:7): [True: 286, False: 49]
  ------------------
  287|    286|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (287:7): [True: 13, False: 322]
  ------------------
  288|     13|        return 86;	 // "fp0"
  289|      4|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (289:7): [True: 4, False: 331]
  ------------------
  290|      4|        return 87;	 // "fp1"
  291|      1|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (291:7): [True: 1, False: 334]
  ------------------
  292|      1|        return 88;	 // "fp2"
  293|      3|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (293:7): [True: 3, False: 332]
  ------------------
  294|      3|        return 89;	 // "fp3"
  295|      5|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (295:7): [True: 5, False: 330]
  ------------------
  296|      5|        return 90;	 // "fp4"
  297|      7|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (297:7): [True: 7, False: 328]
  ------------------
  298|      7|        return 91;	 // "fp5"
  299|      6|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (299:7): [True: 6, False: 329]
  ------------------
  300|      6|        return 92;	 // "fp6"
  301|     10|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (301:7): [True: 10, False: 325]
  ------------------
  302|     10|        return 93;	 // "fp7"
  303|    335|      }
  304|    286|      break;
  305|    351|    case 'm':	 // 8 strings to match.
  ------------------
  |  Branch (305:5): [True: 351, False: 13.2k]
  ------------------
  306|    351|      if (Name[1] != 'm')
  ------------------
  |  Branch (306:11): [True: 274, False: 77]
  ------------------
  307|    274|        break;
  308|     77|      switch (Name[2]) {
  309|     35|      default: break;
  ------------------
  |  Branch (309:7): [True: 35, False: 42]
  ------------------
  310|     35|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (310:7): [True: 17, False: 60]
  ------------------
  311|     17|        return 102;	 // "mm0"
  312|      3|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (312:7): [True: 3, False: 74]
  ------------------
  313|      3|        return 103;	 // "mm1"
  314|      6|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (314:7): [True: 6, False: 71]
  ------------------
  315|      6|        return 104;	 // "mm2"
  316|      3|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (316:7): [True: 3, False: 74]
  ------------------
  317|      3|        return 105;	 // "mm3"
  318|      2|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (318:7): [True: 2, False: 75]
  ------------------
  319|      2|        return 106;	 // "mm4"
  320|      2|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (320:7): [True: 2, False: 75]
  ------------------
  321|      2|        return 107;	 // "mm5"
  322|      2|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (322:7): [True: 2, False: 75]
  ------------------
  323|      2|        return 108;	 // "mm6"
  324|      7|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (324:7): [True: 7, False: 70]
  ------------------
  325|      7|        return 109;	 // "mm7"
  326|     77|      }
  327|     35|      break;
  328|  1.94k|    case 'r':	 // 22 strings to match.
  ------------------
  |  Branch (328:5): [True: 1.94k, False: 11.6k]
  ------------------
  329|  1.94k|      switch (Name[1]) {
  330|    358|      default: break;
  ------------------
  |  Branch (330:7): [True: 358, False: 1.58k]
  ------------------
  331|    446|      case '1':	 // 6 strings to match.
  ------------------
  |  Branch (331:7): [True: 446, False: 1.49k]
  ------------------
  332|    446|        switch (Name[2]) {
  333|    193|        default: break;
  ------------------
  |  Branch (333:9): [True: 193, False: 253]
  ------------------
  334|    193|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (334:9): [True: 26, False: 420]
  ------------------
  335|     26|          return 112;	 // "r10"
  336|     22|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (336:9): [True: 22, False: 424]
  ------------------
  337|     22|          return 113;	 // "r11"
  338|     11|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (338:9): [True: 11, False: 435]
  ------------------
  339|     11|          return 114;	 // "r12"
  340|     43|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (340:9): [True: 43, False: 403]
  ------------------
  341|     43|          return 115;	 // "r13"
  342|     66|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (342:9): [True: 66, False: 380]
  ------------------
  343|     66|          return 116;	 // "r14"
  344|     85|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (344:9): [True: 85, False: 361]
  ------------------
  345|     85|          return 117;	 // "r15"
  346|    446|        }
  347|    193|        break;
  348|    231|      case '8':	 // 3 strings to match.
  ------------------
  |  Branch (348:7): [True: 231, False: 1.71k]
  ------------------
  349|    231|        switch (Name[2]) {
  350|    166|        default: break;
  ------------------
  |  Branch (350:9): [True: 166, False: 65]
  ------------------
  351|    166|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (351:9): [True: 18, False: 213]
  ------------------
  352|     18|          return 222;	 // "r8b"
  353|     30|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (353:9): [True: 30, False: 201]
  ------------------
  354|     30|          return 230;	 // "r8d"
  355|     17|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (355:9): [True: 17, False: 214]
  ------------------
  356|     17|          return 238;	 // "r8w"
  357|    231|        }
  358|    166|        break;
  359|    167|      case '9':	 // 3 strings to match.
  ------------------
  |  Branch (359:7): [True: 167, False: 1.77k]
  ------------------
  360|    167|        switch (Name[2]) {
  361|    114|        default: break;
  ------------------
  |  Branch (361:9): [True: 114, False: 53]
  ------------------
  362|    114|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (362:9): [True: 3, False: 164]
  ------------------
  363|      3|          return 223;	 // "r9b"
  364|     15|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (364:9): [True: 15, False: 152]
  ------------------
  365|     15|          return 231;	 // "r9d"
  366|     35|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (366:9): [True: 35, False: 132]
  ------------------
  367|     35|          return 239;	 // "r9w"
  368|    167|        }
  369|    114|        break;
  370|    227|      case 'a':	 // 1 string to match.
  ------------------
  |  Branch (370:7): [True: 227, False: 1.71k]
  ------------------
  371|    227|        if (Name[2] != 'x')
  ------------------
  |  Branch (371:13): [True: 108, False: 119]
  ------------------
  372|    108|          break;
  373|    119|        return 35;	 // "rax"
  374|     66|      case 'b':	 // 2 strings to match.
  ------------------
  |  Branch (374:7): [True: 66, False: 1.87k]
  ------------------
  375|     66|        switch (Name[2]) {
  376|     37|        default: break;
  ------------------
  |  Branch (376:9): [True: 37, False: 29]
  ------------------
  377|     37|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (377:9): [True: 10, False: 56]
  ------------------
  378|     10|          return 36;	 // "rbp"
  379|     19|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (379:9): [True: 19, False: 47]
  ------------------
  380|     19|          return 37;	 // "rbx"
  381|     66|        }
  382|     37|        break;
  383|    196|      case 'c':	 // 1 string to match.
  ------------------
  |  Branch (383:7): [True: 196, False: 1.74k]
  ------------------
  384|    196|        if (Name[2] != 'x')
  ------------------
  |  Branch (384:13): [True: 153, False: 43]
  ------------------
  385|    153|          break;
  386|     43|        return 38;	 // "rcx"
  387|    122|      case 'd':	 // 2 strings to match.
  ------------------
  |  Branch (387:7): [True: 122, False: 1.82k]
  ------------------
  388|    122|        switch (Name[2]) {
  389|     84|        default: break;
  ------------------
  |  Branch (389:9): [True: 84, False: 38]
  ------------------
  390|     84|        case 'i':	 // 1 string to match.
  ------------------
  |  Branch (390:9): [True: 18, False: 104]
  ------------------
  391|     18|          return 39;	 // "rdi"
  392|     20|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (392:9): [True: 20, False: 102]
  ------------------
  393|     20|          return 40;	 // "rdx"
  394|    122|        }
  395|     84|        break;
  396|     84|      case 'i':	 // 2 strings to match.
  ------------------
  |  Branch (396:7): [True: 67, False: 1.87k]
  ------------------
  397|     67|        switch (Name[2]) {
  398|     54|        default: break;
  ------------------
  |  Branch (398:9): [True: 54, False: 13]
  ------------------
  399|     54|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (399:9): [True: 3, False: 64]
  ------------------
  400|      3|          return 41;	 // "rip"
  401|     10|        case 'z':	 // 1 string to match.
  ------------------
  |  Branch (401:9): [True: 10, False: 57]
  ------------------
  402|     10|          return 42;	 // "riz"
  403|     67|        }
  404|     54|        break;
  405|     62|      case 's':	 // 2 strings to match.
  ------------------
  |  Branch (405:7): [True: 62, False: 1.88k]
  ------------------
  406|     62|        switch (Name[2]) {
  407|     29|        default: break;
  ------------------
  |  Branch (407:9): [True: 29, False: 33]
  ------------------
  408|     29|        case 'i':	 // 1 string to match.
  ------------------
  |  Branch (408:9): [True: 12, False: 50]
  ------------------
  409|     12|          return 43;	 // "rsi"
  410|     21|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (410:9): [True: 21, False: 41]
  ------------------
  411|     21|          return 44;	 // "rsp"
  412|     62|        }
  413|     29|        break;
  414|  1.94k|      }
  415|  1.29k|      break;
  416|  1.61k|    case 's':	 // 2 strings to match.
  ------------------
  |  Branch (416:5): [True: 1.61k, False: 11.9k]
  ------------------
  417|  1.61k|      switch (Name[1]) {
  418|  1.41k|      default: break;
  ------------------
  |  Branch (418:7): [True: 1.41k, False: 195]
  ------------------
  419|  1.41k|      case 'i':	 // 1 string to match.
  ------------------
  |  Branch (419:7): [True: 54, False: 1.55k]
  ------------------
  420|     54|        if (Name[2] != 'l')
  ------------------
  |  Branch (420:13): [True: 41, False: 13]
  ------------------
  421|     41|          break;
  422|     13|        return 46;	 // "sil"
  423|    141|      case 'p':	 // 1 string to match.
  ------------------
  |  Branch (423:7): [True: 141, False: 1.47k]
  ------------------
  424|    141|        if (Name[2] != 'l')
  ------------------
  |  Branch (424:13): [True: 85, False: 56]
  ------------------
  425|     85|          break;
  426|     56|        return 48;	 // "spl"
  427|  1.61k|      }
  428|  1.54k|      break;
  429|  13.6k|    }
  430|  12.2k|    break;
  431|  12.2k|  case 4:	 // 65 strings to match.
  ------------------
  |  Branch (431:3): [True: 10.3k, False: 68.0k]
  ------------------
  432|  10.3k|    switch (Name[0]) {
  433|  4.29k|    default: break;
  ------------------
  |  Branch (433:5): [True: 4.29k, False: 6.09k]
  ------------------
  434|  4.29k|    case 'b':	 // 4 strings to match.
  ------------------
  |  Branch (434:5): [True: 262, False: 10.1k]
  ------------------
  435|    262|      if (memcmp(Name.data()+1, "nd", 2))
  ------------------
  |  Branch (435:11): [True: 222, False: 40]
  ------------------
  436|    222|        break;
  437|     40|      switch (Name[3]) {
  438|     12|      default: break;
  ------------------
  |  Branch (438:7): [True: 12, False: 28]
  ------------------
  439|     12|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (439:7): [True: 1, False: 39]
  ------------------
  440|      1|        return 50;	 // "bnd0"
  441|      6|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (441:7): [True: 6, False: 34]
  ------------------
  442|      6|        return 51;	 // "bnd1"
  443|      1|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (443:7): [True: 1, False: 39]
  ------------------
  444|      1|        return 52;	 // "bnd2"
  445|     20|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (445:7): [True: 20, False: 20]
  ------------------
  446|     20|        return 53;	 // "bnd3"
  447|     40|      }
  448|     12|      break;
  449|  2.38k|    case 'c':	 // 6 strings to match.
  ------------------
  |  Branch (449:5): [True: 2.38k, False: 7.99k]
  ------------------
  450|  2.38k|      if (memcmp(Name.data()+1, "r1", 2))
  ------------------
  |  Branch (450:11): [True: 1.69k, False: 698]
  ------------------
  451|  1.69k|        break;
  452|    698|      switch (Name[3]) {
  453|     60|      default: break;
  ------------------
  |  Branch (453:7): [True: 60, False: 638]
  ------------------
  454|     60|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (454:7): [True: 11, False: 687]
  ------------------
  455|     11|        return 64;	 // "cr10"
  456|    117|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (456:7): [True: 117, False: 581]
  ------------------
  457|    117|        return 65;	 // "cr11"
  458|     71|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (458:7): [True: 71, False: 627]
  ------------------
  459|     71|        return 66;	 // "cr12"
  460|    240|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (460:7): [True: 240, False: 458]
  ------------------
  461|    240|        return 67;	 // "cr13"
  462|    159|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (462:7): [True: 159, False: 539]
  ------------------
  463|    159|        return 68;	 // "cr14"
  464|     40|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (464:7): [True: 40, False: 658]
  ------------------
  465|     40|        return 69;	 // "cr15"
  466|    698|      }
  467|     60|      break;
  468|    330|    case 'd':	 // 6 strings to match.
  ------------------
  |  Branch (468:5): [True: 330, False: 10.0k]
  ------------------
  469|    330|      if (memcmp(Name.data()+1, "r1", 2))
  ------------------
  |  Branch (469:11): [True: 197, False: 133]
  ------------------
  470|    197|        break;
  471|    133|      switch (Name[3]) {
  472|     43|      default: break;
  ------------------
  |  Branch (472:7): [True: 43, False: 90]
  ------------------
  473|     43|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (473:7): [True: 10, False: 123]
  ------------------
  474|     10|        return 80;	 // "dr10"
  475|     43|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (475:7): [True: 43, False: 90]
  ------------------
  476|     43|        return 81;	 // "dr11"
  477|      3|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (477:7): [True: 3, False: 130]
  ------------------
  478|      3|        return 82;	 // "dr12"
  479|      1|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (479:7): [True: 1, False: 132]
  ------------------
  480|      1|        return 83;	 // "dr13"
  481|      6|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (481:7): [True: 6, False: 127]
  ------------------
  482|      6|        return 84;	 // "dr14"
  483|     27|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (483:7): [True: 27, False: 106]
  ------------------
  484|     27|        return 85;	 // "dr15"
  485|    133|      }
  486|     43|      break;
  487|    469|    case 'f':	 // 1 string to match.
  ------------------
  |  Branch (487:5): [True: 469, False: 9.91k]
  ------------------
  488|    469|      if (memcmp(Name.data()+1, "psw", 3))
  ------------------
  |  Branch (488:11): [True: 434, False: 35]
  ------------------
  489|    434|        break;
  490|     35|      return 31;	 // "fpsw"
  491|  1.28k|    case 'r':	 // 18 strings to match.
  ------------------
  |  Branch (491:5): [True: 1.28k, False: 9.10k]
  ------------------
  492|  1.28k|      if (Name[1] != '1')
  ------------------
  |  Branch (492:11): [True: 330, False: 955]
  ------------------
  493|    330|        break;
  494|    955|      switch (Name[2]) {
  495|     83|      default: break;
  ------------------
  |  Branch (495:7): [True: 83, False: 872]
  ------------------
  496|     83|      case '0':	 // 3 strings to match.
  ------------------
  |  Branch (496:7): [True: 81, False: 874]
  ------------------
  497|     81|        switch (Name[3]) {
  498|     30|        default: break;
  ------------------
  |  Branch (498:9): [True: 30, False: 51]
  ------------------
  499|     30|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (499:9): [True: 10, False: 71]
  ------------------
  500|     10|          return 224;	 // "r10b"
  501|     21|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (501:9): [True: 21, False: 60]
  ------------------
  502|     21|          return 232;	 // "r10d"
  503|     20|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (503:9): [True: 20, False: 61]
  ------------------
  504|     20|          return 240;	 // "r10w"
  505|     81|        }
  506|     30|        break;
  507|    280|      case '1':	 // 3 strings to match.
  ------------------
  |  Branch (507:7): [True: 280, False: 675]
  ------------------
  508|    280|        switch (Name[3]) {
  509|    189|        default: break;
  ------------------
  |  Branch (509:9): [True: 189, False: 91]
  ------------------
  510|    189|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (510:9): [True: 11, False: 269]
  ------------------
  511|     11|          return 225;	 // "r11b"
  512|     62|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (512:9): [True: 62, False: 218]
  ------------------
  513|     62|          return 233;	 // "r11d"
  514|     18|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (514:9): [True: 18, False: 262]
  ------------------
  515|     18|          return 241;	 // "r11w"
  516|    280|        }
  517|    189|        break;
  518|    189|      case '2':	 // 3 strings to match.
  ------------------
  |  Branch (518:7): [True: 142, False: 813]
  ------------------
  519|    142|        switch (Name[3]) {
  520|     57|        default: break;
  ------------------
  |  Branch (520:9): [True: 57, False: 85]
  ------------------
  521|     57|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (521:9): [True: 13, False: 129]
  ------------------
  522|     13|          return 226;	 // "r12b"
  523|     16|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (523:9): [True: 16, False: 126]
  ------------------
  524|     16|          return 234;	 // "r12d"
  525|     56|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (525:9): [True: 56, False: 86]
  ------------------
  526|     56|          return 242;	 // "r12w"
  527|    142|        }
  528|     57|        break;
  529|     74|      case '3':	 // 3 strings to match.
  ------------------
  |  Branch (529:7): [True: 74, False: 881]
  ------------------
  530|     74|        switch (Name[3]) {
  531|     34|        default: break;
  ------------------
  |  Branch (531:9): [True: 34, False: 40]
  ------------------
  532|     34|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (532:9): [True: 14, False: 60]
  ------------------
  533|     14|          return 227;	 // "r13b"
  534|     15|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (534:9): [True: 15, False: 59]
  ------------------
  535|     15|          return 235;	 // "r13d"
  536|     11|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (536:9): [True: 11, False: 63]
  ------------------
  537|     11|          return 243;	 // "r13w"
  538|     74|        }
  539|     34|        break;
  540|    217|      case '4':	 // 3 strings to match.
  ------------------
  |  Branch (540:7): [True: 217, False: 738]
  ------------------
  541|    217|        switch (Name[3]) {
  542|    110|        default: break;
  ------------------
  |  Branch (542:9): [True: 110, False: 107]
  ------------------
  543|    110|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (543:9): [True: 8, False: 209]
  ------------------
  544|      8|          return 228;	 // "r14b"
  545|     16|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (545:9): [True: 16, False: 201]
  ------------------
  546|     16|          return 236;	 // "r14d"
  547|     83|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (547:9): [True: 83, False: 134]
  ------------------
  548|     83|          return 244;	 // "r14w"
  549|    217|        }
  550|    110|        break;
  551|    110|      case '5':	 // 3 strings to match.
  ------------------
  |  Branch (551:7): [True: 78, False: 877]
  ------------------
  552|     78|        switch (Name[3]) {
  553|     36|        default: break;
  ------------------
  |  Branch (553:9): [True: 36, False: 42]
  ------------------
  554|     36|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (554:9): [True: 11, False: 67]
  ------------------
  555|     11|          return 229;	 // "r15b"
  556|      6|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (556:9): [True: 6, False: 72]
  ------------------
  557|      6|          return 237;	 // "r15d"
  558|     25|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (558:9): [True: 25, False: 53]
  ------------------
  559|     25|          return 245;	 // "r15w"
  560|     78|        }
  561|     36|        break;
  562|    955|      }
  563|    539|      break;
  564|    626|    case 'x':	 // 10 strings to match.
  ------------------
  |  Branch (564:5): [True: 626, False: 9.75k]
  ------------------
  565|    626|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (565:11): [True: 528, False: 98]
  ------------------
  566|    528|        break;
  567|     98|      switch (Name[3]) {
  568|     24|      default: break;
  ------------------
  |  Branch (568:7): [True: 24, False: 74]
  ------------------
  569|     24|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (569:7): [True: 7, False: 91]
  ------------------
  570|      7|        return 126;	 // "xmm0"
  571|      8|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (571:7): [True: 8, False: 90]
  ------------------
  572|      8|        return 127;	 // "xmm1"
  573|     13|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (573:7): [True: 13, False: 85]
  ------------------
  574|     13|        return 128;	 // "xmm2"
  575|      1|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (575:7): [True: 1, False: 97]
  ------------------
  576|      1|        return 129;	 // "xmm3"
  577|     14|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (577:7): [True: 14, False: 84]
  ------------------
  578|     14|        return 130;	 // "xmm4"
  579|      3|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (579:7): [True: 3, False: 95]
  ------------------
  580|      3|        return 131;	 // "xmm5"
  581|     16|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (581:7): [True: 16, False: 82]
  ------------------
  582|     16|        return 132;	 // "xmm6"
  583|      3|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (583:7): [True: 3, False: 95]
  ------------------
  584|      3|        return 133;	 // "xmm7"
  585|      6|      case '8':	 // 1 string to match.
  ------------------
  |  Branch (585:7): [True: 6, False: 92]
  ------------------
  586|      6|        return 134;	 // "xmm8"
  587|      3|      case '9':	 // 1 string to match.
  ------------------
  |  Branch (587:7): [True: 3, False: 95]
  ------------------
  588|      3|        return 135;	 // "xmm9"
  589|     98|      }
  590|     24|      break;
  591|    415|    case 'y':	 // 10 strings to match.
  ------------------
  |  Branch (591:5): [True: 415, False: 9.97k]
  ------------------
  592|    415|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (592:11): [True: 221, False: 194]
  ------------------
  593|    221|        break;
  594|    194|      switch (Name[3]) {
  595|     89|      default: break;
  ------------------
  |  Branch (595:7): [True: 89, False: 105]
  ------------------
  596|     89|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (596:7): [True: 4, False: 190]
  ------------------
  597|      4|        return 158;	 // "ymm0"
  598|      7|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (598:7): [True: 7, False: 187]
  ------------------
  599|      7|        return 159;	 // "ymm1"
  600|     14|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (600:7): [True: 14, False: 180]
  ------------------
  601|     14|        return 160;	 // "ymm2"
  602|      5|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (602:7): [True: 5, False: 189]
  ------------------
  603|      5|        return 161;	 // "ymm3"
  604|      8|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (604:7): [True: 8, False: 186]
  ------------------
  605|      8|        return 162;	 // "ymm4"
  606|      5|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (606:7): [True: 5, False: 189]
  ------------------
  607|      5|        return 163;	 // "ymm5"
  608|     17|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (608:7): [True: 17, False: 177]
  ------------------
  609|     17|        return 164;	 // "ymm6"
  610|      5|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (610:7): [True: 5, False: 189]
  ------------------
  611|      5|        return 165;	 // "ymm7"
  612|     24|      case '8':	 // 1 string to match.
  ------------------
  |  Branch (612:7): [True: 24, False: 170]
  ------------------
  613|     24|        return 166;	 // "ymm8"
  614|     16|      case '9':	 // 1 string to match.
  ------------------
  |  Branch (614:7): [True: 16, False: 178]
  ------------------
  615|     16|        return 167;	 // "ymm9"
  616|    194|      }
  617|     89|      break;
  618|    317|    case 'z':	 // 10 strings to match.
  ------------------
  |  Branch (618:5): [True: 317, False: 10.0k]
  ------------------
  619|    317|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (619:11): [True: 220, False: 97]
  ------------------
  620|    220|        break;
  621|     97|      switch (Name[3]) {
  622|     42|      default: break;
  ------------------
  |  Branch (622:7): [True: 42, False: 55]
  ------------------
  623|     42|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (623:7): [True: 2, False: 95]
  ------------------
  624|      2|        return 190;	 // "zmm0"
  625|      5|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (625:7): [True: 5, False: 92]
  ------------------
  626|      5|        return 191;	 // "zmm1"
  627|     16|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (627:7): [True: 16, False: 81]
  ------------------
  628|     16|        return 192;	 // "zmm2"
  629|      4|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (629:7): [True: 4, False: 93]
  ------------------
  630|      4|        return 193;	 // "zmm3"
  631|      3|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (631:7): [True: 3, False: 94]
  ------------------
  632|      3|        return 194;	 // "zmm4"
  633|      1|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (633:7): [True: 1, False: 96]
  ------------------
  634|      1|        return 195;	 // "zmm5"
  635|      3|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (635:7): [True: 3, False: 94]
  ------------------
  636|      3|        return 196;	 // "zmm6"
  637|      3|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (637:7): [True: 3, False: 94]
  ------------------
  638|      3|        return 197;	 // "zmm7"
  639|     15|      case '8':	 // 1 string to match.
  ------------------
  |  Branch (639:7): [True: 15, False: 82]
  ------------------
  640|     15|        return 198;	 // "zmm8"
  641|      3|      case '9':	 // 1 string to match.
  ------------------
  |  Branch (641:7): [True: 3, False: 94]
  ------------------
  642|      3|        return 199;	 // "zmm9"
  643|     97|      }
  644|     42|      break;
  645|  10.3k|    }
  646|  8.94k|    break;
  647|  8.94k|  case 5:	 // 75 strings to match.
  ------------------
  |  Branch (647:3): [True: 4.66k, False: 73.7k]
  ------------------
  648|  4.66k|    switch (Name[0]) {
  649|  2.09k|    default: break;
  ------------------
  |  Branch (649:5): [True: 2.09k, False: 2.56k]
  ------------------
  650|  2.09k|    case 'f':	 // 1 string to match.
  ------------------
  |  Branch (650:5): [True: 313, False: 4.34k]
  ------------------
  651|    313|      if (memcmp(Name.data()+1, "lags", 4))
  ------------------
  |  Branch (651:11): [True: 300, False: 13]
  ------------------
  652|    300|        break;
  653|     13|      return 25;	 // "flags"
  654|    328|    case 's':	 // 8 strings to match.
  ------------------
  |  Branch (654:5): [True: 328, False: 4.33k]
  ------------------
  655|    328|      if (memcmp(Name.data()+1, "t(", 2))
  ------------------
  |  Branch (655:11): [True: 328, False: 0]
  ------------------
  656|    328|        break;
  657|      0|      switch (Name[3]) {
  658|      0|      default: break;
  ------------------
  |  Branch (658:7): [True: 0, False: 0]
  ------------------
  659|      0|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (659:7): [True: 0, False: 0]
  ------------------
  660|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (660:13): [True: 0, False: 0]
  ------------------
  661|      0|          break;
  662|      0|        return 118;	 // "st(0)"
  663|      0|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (663:7): [True: 0, False: 0]
  ------------------
  664|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (664:13): [True: 0, False: 0]
  ------------------
  665|      0|          break;
  666|      0|        return 119;	 // "st(1)"
  667|      0|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (667:7): [True: 0, False: 0]
  ------------------
  668|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (668:13): [True: 0, False: 0]
  ------------------
  669|      0|          break;
  670|      0|        return 120;	 // "st(2)"
  671|      0|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (671:7): [True: 0, False: 0]
  ------------------
  672|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (672:13): [True: 0, False: 0]
  ------------------
  673|      0|          break;
  674|      0|        return 121;	 // "st(3)"
  675|      0|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (675:7): [True: 0, False: 0]
  ------------------
  676|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (676:13): [True: 0, False: 0]
  ------------------
  677|      0|          break;
  678|      0|        return 122;	 // "st(4)"
  679|      0|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (679:7): [True: 0, False: 0]
  ------------------
  680|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (680:13): [True: 0, False: 0]
  ------------------
  681|      0|          break;
  682|      0|        return 123;	 // "st(5)"
  683|      0|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (683:7): [True: 0, False: 0]
  ------------------
  684|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (684:13): [True: 0, False: 0]
  ------------------
  685|      0|          break;
  686|      0|        return 124;	 // "st(6)"
  687|      0|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (687:7): [True: 0, False: 0]
  ------------------
  688|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (688:13): [True: 0, False: 0]
  ------------------
  689|      0|          break;
  690|      0|        return 125;	 // "st(7)"
  691|      0|      }
  692|      0|      break;
  693|    631|    case 'x':	 // 22 strings to match.
  ------------------
  |  Branch (693:5): [True: 631, False: 4.03k]
  ------------------
  694|    631|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (694:11): [True: 362, False: 269]
  ------------------
  695|    362|        break;
  696|    269|      switch (Name[3]) {
  697|     78|      default: break;
  ------------------
  |  Branch (697:7): [True: 78, False: 191]
  ------------------
  698|     78|      case '1':	 // 10 strings to match.
  ------------------
  |  Branch (698:7): [True: 77, False: 192]
  ------------------
  699|     77|        switch (Name[4]) {
  700|     20|        default: break;
  ------------------
  |  Branch (700:9): [True: 20, False: 57]
  ------------------
  701|     25|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (701:9): [True: 25, False: 52]
  ------------------
  702|     25|          return 136;	 // "xmm10"
  703|      6|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (703:9): [True: 6, False: 71]
  ------------------
  704|      6|          return 137;	 // "xmm11"
  705|      5|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (705:9): [True: 5, False: 72]
  ------------------
  706|      5|          return 138;	 // "xmm12"
  707|      8|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (707:9): [True: 8, False: 69]
  ------------------
  708|      8|          return 139;	 // "xmm13"
  709|      3|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (709:9): [True: 3, False: 74]
  ------------------
  710|      3|          return 140;	 // "xmm14"
  711|      0|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (711:9): [True: 0, False: 77]
  ------------------
  712|      0|          return 141;	 // "xmm15"
  713|      3|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (713:9): [True: 3, False: 74]
  ------------------
  714|      3|          return 142;	 // "xmm16"
  715|      3|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (715:9): [True: 3, False: 74]
  ------------------
  716|      3|          return 143;	 // "xmm17"
  717|      3|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (717:9): [True: 3, False: 74]
  ------------------
  718|      3|          return 144;	 // "xmm18"
  719|      1|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (719:9): [True: 1, False: 76]
  ------------------
  720|      1|          return 145;	 // "xmm19"
  721|     77|        }
  722|     20|        break;
  723|     66|      case '2':	 // 10 strings to match.
  ------------------
  |  Branch (723:7): [True: 66, False: 203]
  ------------------
  724|     66|        switch (Name[4]) {
  725|     32|        default: break;
  ------------------
  |  Branch (725:9): [True: 32, False: 34]
  ------------------
  726|     32|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (726:9): [True: 5, False: 61]
  ------------------
  727|      5|          return 146;	 // "xmm20"
  728|      1|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (728:9): [True: 1, False: 65]
  ------------------
  729|      1|          return 147;	 // "xmm21"
  730|      1|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (730:9): [True: 1, False: 65]
  ------------------
  731|      1|          return 148;	 // "xmm22"
  732|      1|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (732:9): [True: 1, False: 65]
  ------------------
  733|      1|          return 149;	 // "xmm23"
  734|      1|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (734:9): [True: 1, False: 65]
  ------------------
  735|      1|          return 150;	 // "xmm24"
  736|      4|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (736:9): [True: 4, False: 62]
  ------------------
  737|      4|          return 151;	 // "xmm25"
  738|      3|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (738:9): [True: 3, False: 63]
  ------------------
  739|      3|          return 152;	 // "xmm26"
  740|      1|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (740:9): [True: 1, False: 65]
  ------------------
  741|      1|          return 153;	 // "xmm27"
  742|     11|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (742:9): [True: 11, False: 55]
  ------------------
  743|     11|          return 154;	 // "xmm28"
  744|      6|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (744:9): [True: 6, False: 60]
  ------------------
  745|      6|          return 155;	 // "xmm29"
  746|     66|        }
  747|     32|        break;
  748|     48|      case '3':	 // 2 strings to match.
  ------------------
  |  Branch (748:7): [True: 48, False: 221]
  ------------------
  749|     48|        switch (Name[4]) {
  750|      8|        default: break;
  ------------------
  |  Branch (750:9): [True: 8, False: 40]
  ------------------
  751|     19|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (751:9): [True: 19, False: 29]
  ------------------
  752|     19|          return 156;	 // "xmm30"
  753|     21|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (753:9): [True: 21, False: 27]
  ------------------
  754|     21|          return 157;	 // "xmm31"
  755|     48|        }
  756|      8|        break;
  757|    269|      }
  758|    138|      break;
  759|    881|    case 'y':	 // 22 strings to match.
  ------------------
  |  Branch (759:5): [True: 881, False: 3.78k]
  ------------------
  760|    881|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (760:11): [True: 512, False: 369]
  ------------------
  761|    512|        break;
  762|    369|      switch (Name[3]) {
  763|     60|      default: break;
  ------------------
  |  Branch (763:7): [True: 60, False: 309]
  ------------------
  764|    104|      case '1':	 // 10 strings to match.
  ------------------
  |  Branch (764:7): [True: 104, False: 265]
  ------------------
  765|    104|        switch (Name[4]) {
  766|     30|        default: break;
  ------------------
  |  Branch (766:9): [True: 30, False: 74]
  ------------------
  767|     30|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (767:9): [True: 16, False: 88]
  ------------------
  768|     16|          return 168;	 // "ymm10"
  769|      3|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (769:9): [True: 3, False: 101]
  ------------------
  770|      3|          return 169;	 // "ymm11"
  771|      4|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (771:9): [True: 4, False: 100]
  ------------------
  772|      4|          return 170;	 // "ymm12"
  773|      2|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (773:9): [True: 2, False: 102]
  ------------------
  774|      2|          return 171;	 // "ymm13"
  775|      4|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (775:9): [True: 4, False: 100]
  ------------------
  776|      4|          return 172;	 // "ymm14"
  777|     32|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (777:9): [True: 32, False: 72]
  ------------------
  778|     32|          return 173;	 // "ymm15"
  779|      6|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (779:9): [True: 6, False: 98]
  ------------------
  780|      6|          return 174;	 // "ymm16"
  781|      2|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (781:9): [True: 2, False: 102]
  ------------------
  782|      2|          return 175;	 // "ymm17"
  783|      4|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (783:9): [True: 4, False: 100]
  ------------------
  784|      4|          return 176;	 // "ymm18"
  785|      1|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (785:9): [True: 1, False: 103]
  ------------------
  786|      1|          return 177;	 // "ymm19"
  787|    104|        }
  788|     30|        break;
  789|    128|      case '2':	 // 10 strings to match.
  ------------------
  |  Branch (789:7): [True: 128, False: 241]
  ------------------
  790|    128|        switch (Name[4]) {
  791|     18|        default: break;
  ------------------
  |  Branch (791:9): [True: 18, False: 110]
  ------------------
  792|     18|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (792:9): [True: 1, False: 127]
  ------------------
  793|      1|          return 178;	 // "ymm20"
  794|      1|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (794:9): [True: 1, False: 127]
  ------------------
  795|      1|          return 179;	 // "ymm21"
  796|      1|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (796:9): [True: 1, False: 127]
  ------------------
  797|      1|          return 180;	 // "ymm22"
  798|      2|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (798:9): [True: 2, False: 126]
  ------------------
  799|      2|          return 181;	 // "ymm23"
  800|      3|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (800:9): [True: 3, False: 125]
  ------------------
  801|      3|          return 182;	 // "ymm24"
  802|      1|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (802:9): [True: 1, False: 127]
  ------------------
  803|      1|          return 183;	 // "ymm25"
  804|     39|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (804:9): [True: 39, False: 89]
  ------------------
  805|     39|          return 184;	 // "ymm26"
  806|      4|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (806:9): [True: 4, False: 124]
  ------------------
  807|      4|          return 185;	 // "ymm27"
  808|     24|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (808:9): [True: 24, False: 104]
  ------------------
  809|     24|          return 186;	 // "ymm28"
  810|     34|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (810:9): [True: 34, False: 94]
  ------------------
  811|     34|          return 187;	 // "ymm29"
  812|    128|        }
  813|     18|        break;
  814|     77|      case '3':	 // 2 strings to match.
  ------------------
  |  Branch (814:7): [True: 77, False: 292]
  ------------------
  815|     77|        switch (Name[4]) {
  816|     31|        default: break;
  ------------------
  |  Branch (816:9): [True: 31, False: 46]
  ------------------
  817|     31|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (817:9): [True: 8, False: 69]
  ------------------
  818|      8|          return 188;	 // "ymm30"
  819|     38|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (819:9): [True: 38, False: 39]
  ------------------
  820|     38|          return 189;	 // "ymm31"
  821|     77|        }
  822|     31|        break;
  823|    369|      }
  824|    139|      break;
  825|    410|    case 'z':	 // 22 strings to match.
  ------------------
  |  Branch (825:5): [True: 410, False: 4.25k]
  ------------------
  826|    410|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (826:11): [True: 244, False: 166]
  ------------------
  827|    244|        break;
  828|    166|      switch (Name[3]) {
  829|     19|      default: break;
  ------------------
  |  Branch (829:7): [True: 19, False: 147]
  ------------------
  830|     50|      case '1':	 // 10 strings to match.
  ------------------
  |  Branch (830:7): [True: 50, False: 116]
  ------------------
  831|     50|        switch (Name[4]) {
  832|     13|        default: break;
  ------------------
  |  Branch (832:9): [True: 13, False: 37]
  ------------------
  833|     13|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (833:9): [True: 1, False: 49]
  ------------------
  834|      1|          return 200;	 // "zmm10"
  835|      4|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (835:9): [True: 4, False: 46]
  ------------------
  836|      4|          return 201;	 // "zmm11"
  837|      9|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (837:9): [True: 9, False: 41]
  ------------------
  838|      9|          return 202;	 // "zmm12"
  839|      6|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (839:9): [True: 6, False: 44]
  ------------------
  840|      6|          return 203;	 // "zmm13"
  841|      7|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (841:9): [True: 7, False: 43]
  ------------------
  842|      7|          return 204;	 // "zmm14"
  843|      3|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (843:9): [True: 3, False: 47]
  ------------------
  844|      3|          return 205;	 // "zmm15"
  845|      1|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (845:9): [True: 1, False: 49]
  ------------------
  846|      1|          return 206;	 // "zmm16"
  847|      4|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (847:9): [True: 4, False: 46]
  ------------------
  848|      4|          return 207;	 // "zmm17"
  849|      1|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (849:9): [True: 1, False: 49]
  ------------------
  850|      1|          return 208;	 // "zmm18"
  851|      1|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (851:9): [True: 1, False: 49]
  ------------------
  852|      1|          return 209;	 // "zmm19"
  853|     50|        }
  854|     13|        break;
  855|     85|      case '2':	 // 10 strings to match.
  ------------------
  |  Branch (855:7): [True: 85, False: 81]
  ------------------
  856|     85|        switch (Name[4]) {
  857|     15|        default: break;
  ------------------
  |  Branch (857:9): [True: 15, False: 70]
  ------------------
  858|     15|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (858:9): [True: 5, False: 80]
  ------------------
  859|      5|          return 210;	 // "zmm20"
  860|      0|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (860:9): [True: 0, False: 85]
  ------------------
  861|      0|          return 211;	 // "zmm21"
  862|      0|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (862:9): [True: 0, False: 85]
  ------------------
  863|      0|          return 212;	 // "zmm22"
  864|      1|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (864:9): [True: 1, False: 84]
  ------------------
  865|      1|          return 213;	 // "zmm23"
  866|      3|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (866:9): [True: 3, False: 82]
  ------------------
  867|      3|          return 214;	 // "zmm24"
  868|     12|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (868:9): [True: 12, False: 73]
  ------------------
  869|     12|          return 215;	 // "zmm25"
  870|     16|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (870:9): [True: 16, False: 69]
  ------------------
  871|     16|          return 216;	 // "zmm26"
  872|      9|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (872:9): [True: 9, False: 76]
  ------------------
  873|      9|          return 217;	 // "zmm27"
  874|     18|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (874:9): [True: 18, False: 67]
  ------------------
  875|     18|          return 218;	 // "zmm28"
  876|      6|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (876:9): [True: 6, False: 79]
  ------------------
  877|      6|          return 219;	 // "zmm29"
  878|     85|        }
  879|     15|        break;
  880|     15|      case '3':	 // 2 strings to match.
  ------------------
  |  Branch (880:7): [True: 12, False: 154]
  ------------------
  881|     12|        switch (Name[4]) {
  882|      5|        default: break;
  ------------------
  |  Branch (882:9): [True: 5, False: 7]
  ------------------
  883|      5|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (883:9): [True: 4, False: 8]
  ------------------
  884|      4|          return 220;	 // "zmm30"
  885|      3|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (885:9): [True: 3, False: 9]
  ------------------
  886|      3|          return 221;	 // "zmm31"
  887|     12|        }
  888|      5|        break;
  889|    166|      }
  890|     52|      break;
  891|  4.66k|    }
  892|  4.17k|    break;
  893|  78.4k|  }
  894|  71.1k|  return 0;
  895|  78.4k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser20MatchInstructionImplERKN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEERNS1_6MCInstERmbj:
33834|   152k|                     bool matchingInlineAsm, unsigned VariantID) {
33835|       |  // Eliminate obvious mismatches.
33836|   152k|  if (Operands.size() > 10) {
  ------------------
  |  Branch (33836:7): [True: 626, False: 152k]
  ------------------
33837|    626|    ErrorInfo = 10;
33838|    626|    return Match_InvalidOperand;
33839|    626|  }
33840|       |
33841|       |  // Get the current feature set.
33842|   152k|  uint64_t AvailableFeatures = getAvailableFeatures();
33843|       |
33844|       |  // Get the instruction mnemonic, which is the first token.
33845|   152k|  StringRef Mnemonic = ((X86Operand&)*Operands[0]).getToken();
33846|       |
33847|       |  // Process all MnemonicAliases to remap the mnemonic.
33848|   152k|  applyMnemonicAliases(Mnemonic, AvailableFeatures, VariantID);
33849|       |
33850|       |  // Some state to try to produce better error messages.
33851|   152k|  bool HadMatchOtherThanFeatures = false;
33852|   152k|  bool HadMatchOtherThanPredicate = false;
33853|   152k|  unsigned RetCode = Match_InvalidOperand;
33854|   152k|  uint64_t MissingFeatures = ~0ULL;
33855|       |  // Set ErrorInfo to the operand that mismatches if it is
33856|       |  // wrong for all instances of the instruction.
33857|   152k|  ErrorInfo = ~0ULL;
33858|       |  // Find the appropriate table for this asm variant.
33859|   152k|  const MatchEntry *Start, *End;
33860|   152k|  switch (VariantID) {
33861|      0|  default: llvm_unreachable("invalid variant!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (33861:3): [True: 0, False: 152k]
  ------------------
33862|  20.7k|  case 0: Start = std::begin(MatchTable0); End = std::end(MatchTable0); break;
  ------------------
  |  Branch (33862:3): [True: 20.7k, False: 131k]
  ------------------
33863|   131k|  case 1: Start = std::begin(MatchTable1); End = std::end(MatchTable1); break;
  ------------------
  |  Branch (33863:3): [True: 131k, False: 20.7k]
  ------------------
33864|   152k|  }
33865|       |  // Search the table.
33866|   152k|  auto MnemonicRange = std::equal_range(Start, End, Mnemonic, LessOpcode());
33867|       |
33868|       |  // Return a more specific error code if no mnemonics match.
33869|   152k|  if (MnemonicRange.first == MnemonicRange.second)
  ------------------
  |  Branch (33869:7): [True: 23.5k, False: 128k]
  ------------------
33870|  23.5k|    return Match_MnemonicFail;
33871|       |
33872|   128k|  for (const MatchEntry *it = MnemonicRange.first, *ie = MnemonicRange.second;
33873|   665k|       it != ie; ++it) {
  ------------------
  |  Branch (33873:8): [True: 613k, False: 52.0k]
  ------------------
33874|       |    // equal_range guarantees that instruction mnemonic matches.
33875|   613k|    assert(Mnemonic == it->getMnemonic());
  ------------------
  |  Branch (33875:5): [True: 613k, False: 0]
  ------------------
33876|   613k|    bool OperandsValid = true;
33877|   772k|    for (unsigned i = 0; i != 9; ++i) {
  ------------------
  |  Branch (33877:26): [True: 772k, False: 0]
  ------------------
33878|   772k|      auto Formal = static_cast<MatchClassKind>(it->Classes[i]);
33879|   772k|      if (i+1 >= Operands.size()) {
  ------------------
  |  Branch (33879:11): [True: 82.9k, False: 689k]
  ------------------
33880|  82.9k|        OperandsValid = (Formal == InvalidMatchClass);
33881|  82.9k|        if (!OperandsValid) ErrorInfo = i+1;
  ------------------
  |  Branch (33881:13): [True: 2.97k, False: 79.9k]
  ------------------
33882|  82.9k|        break;
33883|  82.9k|      }
33884|   689k|      MCParsedAsmOperand &Actual = *Operands[i+1];
33885|   689k|      unsigned Diag = validateOperandClass(Actual, Formal);
33886|   689k|      if (Diag == Match_Success)
  ------------------
  |  Branch (33886:11): [True: 159k, False: 530k]
  ------------------
33887|   159k|        continue;
33888|       |      // If the generic handler indicates an invalid operand
33889|       |      // failure, check for a special case.
33890|   530k|      if (Diag == Match_InvalidOperand) {
  ------------------
  |  Branch (33890:11): [True: 530k, False: 0]
  ------------------
33891|   530k|        Diag = validateTargetOperandClass(Actual, Formal);
33892|   530k|        if (Diag == Match_Success)
  ------------------
  |  Branch (33892:13): [True: 0, False: 530k]
  ------------------
33893|      0|          continue;
33894|   530k|      }
33895|       |      // If this operand is broken for all of the instances of this
33896|       |      // mnemonic, keep track of it so we can report loc info.
33897|       |      // If we already had a match that only failed due to a
33898|       |      // target predicate, that diagnostic is preferred.
33899|   530k|      if (!HadMatchOtherThanPredicate &&
  ------------------
  |  Branch (33899:11): [True: 530k, False: 0]
  ------------------
33900|   530k|          (it == MnemonicRange.first || ErrorInfo <= i+1)) {
  ------------------
  |  Branch (33900:12): [True: 60.9k, False: 469k]
  |  Branch (33900:41): [True: 185k, False: 284k]
  ------------------
33901|   246k|        ErrorInfo = i+1;
33902|       |        // InvalidOperand is the default. Prefer specificity.
33903|   246k|        if (Diag != Match_InvalidOperand)
  ------------------
  |  Branch (33903:13): [True: 0, False: 246k]
  ------------------
33904|      0|          RetCode = Diag;
33905|   246k|      }
33906|       |      // Otherwise, just reject this instance of the mnemonic.
33907|   530k|      OperandsValid = false;
33908|   530k|      break;
33909|   530k|    }
33910|       |
33911|   613k|    if (!OperandsValid) continue;
  ------------------
  |  Branch (33911:9): [True: 533k, False: 79.9k]
  ------------------
33912|  79.9k|    if ((AvailableFeatures & it->RequiredFeatures) != it->RequiredFeatures) {
  ------------------
  |  Branch (33912:9): [True: 3.39k, False: 76.5k]
  ------------------
33913|  3.39k|      HadMatchOtherThanFeatures = true;
33914|  3.39k|      uint64_t NewMissingFeatures = it->RequiredFeatures & ~AvailableFeatures;
33915|  3.39k|      if (countPopulation(NewMissingFeatures) <=
  ------------------
  |  Branch (33915:11): [True: 3.39k, False: 0]
  ------------------
33916|  3.39k|          countPopulation(MissingFeatures))
33917|  3.39k|        MissingFeatures = NewMissingFeatures;
33918|  3.39k|      continue;
33919|  3.39k|    }
33920|       |
33921|  76.5k|    Inst.clear();
33922|       |
33923|  76.5k|    if (matchingInlineAsm) {
  ------------------
  |  Branch (33923:9): [True: 0, False: 76.5k]
  ------------------
33924|      0|      Inst.setOpcode(it->Opcode);
33925|      0|      convertToMapAndConstraints(it->ConvertFn, Operands);
33926|      0|      return Match_Success;
33927|      0|    }
33928|       |
33929|       |    // We have selected a definite instruction, convert the parsed
33930|       |    // operands into the appropriate MCInst.
33931|  76.5k|    convertToMCInst(it->ConvertFn, Inst, it->Opcode, Operands);
33932|       |
33933|       |    // We have a potential match. Check the target predicate to
33934|       |    // handle any context sensitive constraints.
33935|  76.5k|    unsigned MatchResult;
33936|  76.5k|    if ((MatchResult = checkTargetMatchPredicate(Inst)) != Match_Success) {
  ------------------
  |  Branch (33936:9): [True: 0, False: 76.5k]
  ------------------
33937|      0|      Inst.clear();
33938|      0|      RetCode = MatchResult;
33939|      0|      HadMatchOtherThanPredicate = true;
33940|      0|      continue;
33941|      0|    }
33942|       |
33943|  76.5k|    return Match_Success;
33944|  76.5k|  }
33945|       |
33946|       |  // Okay, we had no match.  Try to return a useful error code.
33947|  52.0k|  if (HadMatchOtherThanPredicate || !HadMatchOtherThanFeatures)
  ------------------
  |  Branch (33947:7): [True: 0, False: 52.0k]
  |  Branch (33947:37): [True: 52.0k, False: 36]
  ------------------
33948|  52.0k|    return RetCode;
33949|       |
33950|       |  // Missing feature matches return which features were missing
33951|     36|  ErrorInfo = MissingFeatures;
33952|     36|  return Match_MissingFeature;
33953|  52.0k|}
X86AsmParser.cpp:_ZL20applyMnemonicAliasesRN7llvm_ks9StringRefEmj:
  931|   152k|static void applyMnemonicAliases(StringRef &Mnemonic, uint64_t Features, unsigned VariantID) {
  932|   152k|  switch (VariantID) {
  ------------------
  |  Branch (932:11): [True: 152k, False: 0]
  ------------------
  933|  20.7k|    case 0:
  ------------------
  |  Branch (933:5): [True: 20.7k, False: 131k]
  ------------------
  934|  20.7k|      switch (Mnemonic.size()) {
  935|  5.25k|      default: break;
  ------------------
  |  Branch (935:7): [True: 5.25k, False: 15.5k]
  ------------------
  936|  5.25k|      case 3:	 // 6 strings to match.
  ------------------
  |  Branch (936:7): [True: 4.91k, False: 15.8k]
  ------------------
  937|  4.91k|        switch (Mnemonic[0]) {
  938|  1.22k|        default: break;
  ------------------
  |  Branch (938:9): [True: 1.22k, False: 3.69k]
  ------------------
  939|  2.98k|        case 'c':	 // 4 strings to match.
  ------------------
  |  Branch (939:9): [True: 2.98k, False: 1.93k]
  ------------------
  940|  2.98k|          switch (Mnemonic[1]) {
  941|     82|          default: break;
  ------------------
  |  Branch (941:11): [True: 82, False: 2.90k]
  ------------------
  942|    204|          case 'b':	 // 1 string to match.
  ------------------
  |  Branch (942:11): [True: 204, False: 2.77k]
  ------------------
  943|    204|            if (Mnemonic[2] != 'w')
  ------------------
  |  Branch (943:17): [True: 154, False: 50]
  ------------------
  944|    154|              break;
  945|     50|            Mnemonic = "cbtw";	 // "cbw"
  946|     50|            return;
  947|  2.66k|          case 'd':	 // 1 string to match.
  ------------------
  |  Branch (947:11): [True: 2.66k, False: 320]
  ------------------
  948|  2.66k|            if (Mnemonic[2] != 'q')
  ------------------
  |  Branch (948:17): [True: 1.99k, False: 664]
  ------------------
  949|  1.99k|              break;
  950|    664|            Mnemonic = "cltd";	 // "cdq"
  951|    664|            return;
  952|      6|          case 'q':	 // 1 string to match.
  ------------------
  |  Branch (952:11): [True: 6, False: 2.97k]
  ------------------
  953|      6|            if (Mnemonic[2] != 'o')
  ------------------
  |  Branch (953:17): [True: 5, False: 1]
  ------------------
  954|      5|              break;
  955|      1|            Mnemonic = "cqto";	 // "cqo"
  956|      1|            return;
  957|     28|          case 'w':	 // 1 string to match.
  ------------------
  |  Branch (957:11): [True: 28, False: 2.95k]
  ------------------
  958|     28|            if (Mnemonic[2] != 'd')
  ------------------
  |  Branch (958:17): [True: 13, False: 15]
  ------------------
  959|     13|              break;
  960|     15|            Mnemonic = "cwtd";	 // "cwd"
  961|     15|            return;
  962|  2.98k|          }
  963|  2.25k|          break;
  964|  2.25k|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (964:9): [True: 627, False: 4.29k]
  ------------------
  965|    627|          if (memcmp(Mnemonic.data()+1, "op", 2))
  ------------------
  |  Branch (965:15): [True: 494, False: 133]
  ------------------
  966|    494|            break;
  967|    133|          if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "pop"
  ------------------
  |  Branch (967:15): [True: 45, False: 88]
  ------------------
  968|     45|            Mnemonic = "popw";
  969|     88|          else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (969:20): [True: 34, False: 54]
  ------------------
  970|     34|            Mnemonic = "popl";
  971|     54|          else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (971:20): [True: 54, False: 0]
  ------------------
  972|     54|            Mnemonic = "popq";
  973|    133|          return;
  974|     83|        case 'r':	 // 1 string to match.
  ------------------
  |  Branch (974:9): [True: 83, False: 4.83k]
  ------------------
  975|     83|          if (memcmp(Mnemonic.data()+1, "et", 2))
  ------------------
  |  Branch (975:15): [True: 50, False: 33]
  ------------------
  976|     50|            break;
  977|     33|          if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "ret"
  ------------------
  |  Branch (977:15): [True: 10, False: 23]
  ------------------
  978|     10|            Mnemonic = "retw";
  979|     23|          else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (979:20): [True: 12, False: 11]
  ------------------
  980|     12|            Mnemonic = "retl";
  981|     11|          else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (981:20): [True: 11, False: 0]
  ------------------
  982|     11|            Mnemonic = "retq";
  983|     33|          return;
  984|  4.91k|        }
  985|  4.02k|        break;
  986|  4.02k|      case 4:	 // 17 strings to match.
  ------------------
  |  Branch (986:7): [True: 3.56k, False: 17.2k]
  ------------------
  987|  3.56k|        switch (Mnemonic[0]) {
  988|    501|        default: break;
  ------------------
  |  Branch (988:9): [True: 501, False: 3.06k]
  ------------------
  989|  1.52k|        case 'c':	 // 3 strings to match.
  ------------------
  |  Branch (989:9): [True: 1.52k, False: 2.03k]
  ------------------
  990|  1.52k|          switch (Mnemonic[1]) {
  991|     75|          default: break;
  ------------------
  |  Branch (991:11): [True: 75, False: 1.44k]
  ------------------
  992|  1.40k|          case 'a':	 // 1 string to match.
  ------------------
  |  Branch (992:11): [True: 1.40k, False: 123]
  ------------------
  993|  1.40k|            if (memcmp(Mnemonic.data()+2, "ll", 2))
  ------------------
  |  Branch (993:17): [True: 136, False: 1.26k]
  ------------------
  994|    136|              break;
  995|  1.26k|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "call"
  ------------------
  |  Branch (995:17): [True: 722, False: 542]
  ------------------
  996|    722|              Mnemonic = "callw";
  997|    542|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (997:22): [True: 513, False: 29]
  ------------------
  998|    513|              Mnemonic = "calll";
  999|     29|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (999:22): [True: 29, False: 0]
  ------------------
 1000|     29|              Mnemonic = "callq";
 1001|  1.26k|            return;
 1002|     25|          case 'd':	 // 1 string to match.
  ------------------
  |  Branch (1002:11): [True: 25, False: 1.49k]
  ------------------
 1003|     25|            if (memcmp(Mnemonic.data()+2, "qe", 2))
  ------------------
  |  Branch (1003:17): [True: 25, False: 0]
  ------------------
 1004|     25|              break;
 1005|      0|            Mnemonic = "cltq";	 // "cdqe"
 1006|      0|            return;
 1007|     23|          case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1007:11): [True: 23, False: 1.50k]
  ------------------
 1008|     23|            if (memcmp(Mnemonic.data()+2, "de", 2))
  ------------------
  |  Branch (1008:17): [True: 22, False: 1]
  ------------------
 1009|     22|              break;
 1010|      1|            Mnemonic = "cwtl";	 // "cwde"
 1011|      1|            return;
 1012|  1.52k|          }
 1013|    258|          break;
 1014|    258|        case 'i':	 // 1 string to match.
  ------------------
  |  Branch (1014:9): [True: 37, False: 3.52k]
  ------------------
 1015|     37|          if (memcmp(Mnemonic.data()+1, "ret", 3))
  ------------------
  |  Branch (1015:15): [True: 35, False: 2]
  ------------------
 1016|     35|            break;
 1017|      2|          if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "iret"
  ------------------
  |  Branch (1017:15): [True: 1, False: 1]
  ------------------
 1018|      1|            Mnemonic = "iretw";
 1019|      1|          else if ((Features & Feature_Not16BitMode) == Feature_Not16BitMode)
  ------------------
  |  Branch (1019:20): [True: 1, False: 0]
  ------------------
 1020|      1|            Mnemonic = "iretl";
 1021|      2|          return;
 1022|    163|        case 'l':	 // 3 strings to match.
  ------------------
  |  Branch (1022:9): [True: 163, False: 3.39k]
  ------------------
 1023|    163|          switch (Mnemonic[1]) {
 1024|    124|          default: break;
  ------------------
  |  Branch (1024:11): [True: 124, False: 39]
  ------------------
 1025|    124|          case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1025:11): [True: 10, False: 153]
  ------------------
 1026|     10|            if (memcmp(Mnemonic.data()+2, "dt", 2))
  ------------------
  |  Branch (1026:17): [True: 9, False: 1]
  ------------------
 1027|      9|              break;
 1028|      1|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "lgdt"
  ------------------
  |  Branch (1028:17): [True: 1, False: 0]
  ------------------
 1029|      1|              Mnemonic = "lgdtw";
 1030|      0|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1030:22): [True: 0, False: 0]
  ------------------
 1031|      0|              Mnemonic = "lgdtl";
 1032|      0|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1032:22): [True: 0, False: 0]
  ------------------
 1033|      0|              Mnemonic = "lgdtq";
 1034|      1|            return;
 1035|     18|          case 'i':	 // 1 string to match.
  ------------------
  |  Branch (1035:11): [True: 18, False: 145]
  ------------------
 1036|     18|            if (memcmp(Mnemonic.data()+2, "dt", 2))
  ------------------
  |  Branch (1036:17): [True: 17, False: 1]
  ------------------
 1037|     17|              break;
 1038|      1|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "lidt"
  ------------------
  |  Branch (1038:17): [True: 1, False: 0]
  ------------------
 1039|      1|              Mnemonic = "lidtw";
 1040|      0|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1040:22): [True: 0, False: 0]
  ------------------
 1041|      0|              Mnemonic = "lidtl";
 1042|      0|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1042:22): [True: 0, False: 0]
  ------------------
 1043|      0|              Mnemonic = "lidtq";
 1044|      1|            return;
 1045|     11|          case 'r':	 // 1 string to match.
  ------------------
  |  Branch (1045:11): [True: 11, False: 152]
  ------------------
 1046|     11|            if (memcmp(Mnemonic.data()+2, "et", 2))
  ------------------
  |  Branch (1046:17): [True: 7, False: 4]
  ------------------
 1047|      7|              break;
 1048|      4|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "lret"
  ------------------
  |  Branch (1048:17): [True: 1, False: 3]
  ------------------
 1049|      1|              Mnemonic = "lretw";
 1050|      3|            else if ((Features & Feature_Not16BitMode) == Feature_Not16BitMode)
  ------------------
  |  Branch (1050:22): [True: 3, False: 0]
  ------------------
 1051|      3|              Mnemonic = "lretl";
 1052|      4|            return;
 1053|    163|          }
 1054|    157|          break;
 1055|    600|        case 'p':	 // 3 strings to match.
  ------------------
  |  Branch (1055:9): [True: 600, False: 2.96k]
  ------------------
 1056|    600|          switch (Mnemonic[1]) {
 1057|    226|          default: break;
  ------------------
  |  Branch (1057:11): [True: 226, False: 374]
  ------------------
 1058|    226|          case 'o':	 // 2 strings to match.
  ------------------
  |  Branch (1058:11): [True: 220, False: 380]
  ------------------
 1059|    220|            if (Mnemonic[2] != 'p')
  ------------------
  |  Branch (1059:17): [True: 27, False: 193]
  ------------------
 1060|     27|              break;
 1061|    193|            switch (Mnemonic[3]) {
 1062|    106|            default: break;
  ------------------
  |  Branch (1062:13): [True: 106, False: 87]
  ------------------
 1063|    106|            case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1063:13): [True: 17, False: 176]
  ------------------
 1064|     17|              if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "popa"
  ------------------
  |  Branch (1064:19): [True: 10, False: 7]
  ------------------
 1065|     10|                Mnemonic = "popaw";
 1066|      7|              else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1066:24): [True: 6, False: 1]
  ------------------
 1067|      6|                Mnemonic = "popal";
 1068|     17|              return;
 1069|     70|            case 'f':	 // 1 string to match.
  ------------------
  |  Branch (1069:13): [True: 70, False: 123]
  ------------------
 1070|     70|              if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "popf"
  ------------------
  |  Branch (1070:19): [True: 21, False: 49]
  ------------------
 1071|     21|                Mnemonic = "popfw";
 1072|     49|              else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1072:24): [True: 25, False: 24]
  ------------------
 1073|     25|                Mnemonic = "popfl";
 1074|     24|              else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1074:24): [True: 24, False: 0]
  ------------------
 1075|     24|                Mnemonic = "popfq";
 1076|     70|              return;
 1077|    193|            }
 1078|    106|            break;
 1079|    154|          case 'u':	 // 1 string to match.
  ------------------
  |  Branch (1079:11): [True: 154, False: 446]
  ------------------
 1080|    154|            if (memcmp(Mnemonic.data()+2, "sh", 2))
  ------------------
  |  Branch (1080:17): [True: 74, False: 80]
  ------------------
 1081|     74|              break;
 1082|     80|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "push"
  ------------------
  |  Branch (1082:17): [True: 59, False: 21]
  ------------------
 1083|     59|              Mnemonic = "pushw";
 1084|     21|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1084:22): [True: 10, False: 11]
  ------------------
 1085|     10|              Mnemonic = "pushl";
 1086|     11|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1086:22): [True: 11, False: 0]
  ------------------
 1087|     11|              Mnemonic = "pushq";
 1088|     80|            return;
 1089|    600|          }
 1090|    433|          break;
 1091|    682|        case 's':	 // 6 strings to match.
  ------------------
  |  Branch (1091:9): [True: 682, False: 2.87k]
  ------------------
 1092|    682|          switch (Mnemonic[1]) {
 1093|    481|          default: break;
  ------------------
  |  Branch (1093:11): [True: 481, False: 201]
  ------------------
 1094|    481|          case 'a':	 // 4 strings to match.
  ------------------
  |  Branch (1094:11): [True: 164, False: 518]
  ------------------
 1095|    164|            if (Mnemonic[2] != 'l')
  ------------------
  |  Branch (1095:17): [True: 87, False: 77]
  ------------------
 1096|     87|              break;
 1097|     77|            switch (Mnemonic[3]) {
 1098|     12|            default: break;
  ------------------
  |  Branch (1098:13): [True: 12, False: 65]
  ------------------
 1099|     16|            case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1099:13): [True: 16, False: 61]
  ------------------
 1100|     16|              Mnemonic = "shlb";	 // "salb"
 1101|     16|              return;
 1102|     17|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1102:13): [True: 17, False: 60]
  ------------------
 1103|     17|              Mnemonic = "shll";	 // "sall"
 1104|     17|              return;
 1105|     16|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1105:13): [True: 16, False: 61]
  ------------------
 1106|     16|              Mnemonic = "shlq";	 // "salq"
 1107|     16|              return;
 1108|     16|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1108:13): [True: 16, False: 61]
  ------------------
 1109|     16|              Mnemonic = "shlw";	 // "salw"
 1110|     16|              return;
 1111|     77|            }
 1112|     12|            break;
 1113|     23|          case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1113:11): [True: 23, False: 659]
  ------------------
 1114|     23|            if (memcmp(Mnemonic.data()+2, "dt", 2))
  ------------------
  |  Branch (1114:17): [True: 22, False: 1]
  ------------------
 1115|     22|              break;
 1116|      1|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "sgdt"
  ------------------
  |  Branch (1116:17): [True: 1, False: 0]
  ------------------
 1117|      1|              Mnemonic = "sgdtw";
 1118|      0|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1118:22): [True: 0, False: 0]
  ------------------
 1119|      0|              Mnemonic = "sgdtl";
 1120|      0|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1120:22): [True: 0, False: 0]
  ------------------
 1121|      0|              Mnemonic = "sgdtq";
 1122|      1|            return;
 1123|     14|          case 'i':	 // 1 string to match.
  ------------------
  |  Branch (1123:11): [True: 14, False: 668]
  ------------------
 1124|     14|            if (memcmp(Mnemonic.data()+2, "dt", 2))
  ------------------
  |  Branch (1124:17): [True: 13, False: 1]
  ------------------
 1125|     13|              break;
 1126|      1|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "sidt"
  ------------------
  |  Branch (1126:17): [True: 1, False: 0]
  ------------------
 1127|      1|              Mnemonic = "sidtw";
 1128|      0|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1128:22): [True: 0, False: 0]
  ------------------
 1129|      0|              Mnemonic = "sidtl";
 1130|      0|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1130:22): [True: 0, False: 0]
  ------------------
 1131|      0|              Mnemonic = "sidtq";
 1132|      1|            return;
 1133|    682|          }
 1134|    615|          break;
 1135|    615|        case 'u':	 // 1 string to match.
  ------------------
  |  Branch (1135:9): [True: 55, False: 3.50k]
  ------------------
 1136|     55|          if (memcmp(Mnemonic.data()+1, "d2a", 3))
  ------------------
  |  Branch (1136:15): [True: 55, False: 0]
  ------------------
 1137|     55|            break;
 1138|      0|          Mnemonic = "ud2";	 // "ud2a"
 1139|      0|          return;
 1140|  3.56k|        }
 1141|  2.05k|        break;
 1142|  2.28k|      case 5:	 // 9 strings to match.
  ------------------
  |  Branch (1142:7): [True: 2.28k, False: 18.4k]
  ------------------
 1143|  2.28k|        switch (Mnemonic[0]) {
 1144|  1.10k|        default: break;
  ------------------
  |  Branch (1144:9): [True: 1.10k, False: 1.18k]
  ------------------
 1145|  1.10k|        case 'f':	 // 1 string to match.
  ------------------
  |  Branch (1145:9): [True: 97, False: 2.19k]
  ------------------
 1146|     97|          if (memcmp(Mnemonic.data()+1, "ildq", 4))
  ------------------
  |  Branch (1146:15): [True: 84, False: 13]
  ------------------
 1147|     84|            break;
 1148|     13|          Mnemonic = "fildll";	 // "fildq"
 1149|     13|          return;
 1150|    546|        case 'p':	 // 3 strings to match.
  ------------------
  |  Branch (1150:9): [True: 546, False: 1.74k]
  ------------------
 1151|    546|          switch (Mnemonic[1]) {
 1152|    287|          default: break;
  ------------------
  |  Branch (1152:11): [True: 287, False: 259]
  ------------------
 1153|    287|          case 'o':	 // 1 string to match.
  ------------------
  |  Branch (1153:11): [True: 23, False: 523]
  ------------------
 1154|     23|            if (memcmp(Mnemonic.data()+2, "pfd", 3))
  ------------------
  |  Branch (1154:17): [True: 22, False: 1]
  ------------------
 1155|     22|              break;
 1156|      1|            Mnemonic = "popfl";	 // "popfd"
 1157|      1|            return;
 1158|    236|          case 'u':	 // 2 strings to match.
  ------------------
  |  Branch (1158:11): [True: 236, False: 310]
  ------------------
 1159|    236|            if (memcmp(Mnemonic.data()+2, "sh", 2))
  ------------------
  |  Branch (1159:17): [True: 171, False: 65]
  ------------------
 1160|    171|              break;
 1161|     65|            switch (Mnemonic[4]) {
 1162|     13|            default: break;
  ------------------
  |  Branch (1162:13): [True: 13, False: 52]
  ------------------
 1163|     25|            case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1163:13): [True: 25, False: 40]
  ------------------
 1164|     25|              if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "pusha"
  ------------------
  |  Branch (1164:19): [True: 18, False: 7]
  ------------------
 1165|     18|                Mnemonic = "pushaw";
 1166|      7|              else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1166:24): [True: 6, False: 1]
  ------------------
 1167|      6|                Mnemonic = "pushal";
 1168|     25|              return;
 1169|     27|            case 'f':	 // 1 string to match.
  ------------------
  |  Branch (1169:13): [True: 27, False: 38]
  ------------------
 1170|     27|              if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "pushf"
  ------------------
  |  Branch (1170:19): [True: 21, False: 6]
  ------------------
 1171|     21|                Mnemonic = "pushfw";
 1172|      6|              else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1172:24): [True: 3, False: 3]
  ------------------
 1173|      3|                Mnemonic = "pushfl";
 1174|      3|              else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1174:24): [True: 3, False: 0]
  ------------------
 1175|      3|                Mnemonic = "pushfq";
 1176|     27|              return;
 1177|     65|            }
 1178|     13|            break;
 1179|    546|          }
 1180|    493|          break;
 1181|    493|        case 's':	 // 4 strings to match.
  ------------------
  |  Branch (1181:9): [True: 488, False: 1.79k]
  ------------------
 1182|    488|          if (memcmp(Mnemonic.data()+1, "mov", 3))
  ------------------
  |  Branch (1182:15): [True: 460, False: 28]
  ------------------
 1183|    460|            break;
 1184|     28|          switch (Mnemonic[4]) {
 1185|      3|          default: break;
  ------------------
  |  Branch (1185:11): [True: 3, False: 25]
  ------------------
 1186|      5|          case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1186:11): [True: 5, False: 23]
  ------------------
 1187|      5|            Mnemonic = "movsb";	 // "smovb"
 1188|      5|            return;
 1189|      9|          case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1189:11): [True: 9, False: 19]
  ------------------
 1190|      9|            Mnemonic = "movsl";	 // "smovl"
 1191|      9|            return;
 1192|      6|          case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1192:11): [True: 6, False: 22]
  ------------------
 1193|      6|            Mnemonic = "movsq";	 // "smovq"
 1194|      6|            return;
 1195|      5|          case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1195:11): [True: 5, False: 23]
  ------------------
 1196|      5|            Mnemonic = "movsw";	 // "smovw"
 1197|      5|            return;
 1198|     28|          }
 1199|      3|          break;
 1200|     56|        case 'v':	 // 1 string to match.
  ------------------
  |  Branch (1200:9): [True: 56, False: 2.23k]
  ------------------
 1201|     56|          if (memcmp(Mnemonic.data()+1, "errw", 4))
  ------------------
  |  Branch (1201:15): [True: 56, False: 0]
  ------------------
 1202|     56|            break;
 1203|      0|          Mnemonic = "verr";	 // "verrw"
 1204|      0|          return;
 1205|  2.28k|        }
 1206|  2.19k|        break;
 1207|  2.19k|      case 6:	 // 15 strings to match.
  ------------------
  |  Branch (1207:7): [True: 1.51k, False: 19.2k]
  ------------------
 1208|  1.51k|        switch (Mnemonic[0]) {
 1209|    129|        default: break;
  ------------------
  |  Branch (1209:9): [True: 129, False: 1.38k]
  ------------------
 1210|    129|        case 'c':	 // 6 strings to match.
  ------------------
  |  Branch (1210:9): [True: 90, False: 1.42k]
  ------------------
 1211|     90|          if (memcmp(Mnemonic.data()+1, "mov", 3))
  ------------------
  |  Branch (1211:15): [True: 67, False: 23]
  ------------------
 1212|     67|            break;
 1213|     23|          switch (Mnemonic[4]) {
 1214|     15|          default: break;
  ------------------
  |  Branch (1214:11): [True: 15, False: 8]
  ------------------
 1215|     15|          case 'c':	 // 3 strings to match.
  ------------------
  |  Branch (1215:11): [True: 4, False: 19]
  ------------------
 1216|      4|            switch (Mnemonic[5]) {
 1217|      1|            default: break;
  ------------------
  |  Branch (1217:13): [True: 1, False: 3]
  ------------------
 1218|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1218:13): [True: 1, False: 3]
  ------------------
 1219|      1|              Mnemonic = "cmovbl";	 // "cmovcl"
 1220|      1|              return;
 1221|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1221:13): [True: 1, False: 3]
  ------------------
 1222|      1|              Mnemonic = "cmovbq";	 // "cmovcq"
 1223|      1|              return;
 1224|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1224:13): [True: 1, False: 3]
  ------------------
 1225|      1|              Mnemonic = "cmovbw";	 // "cmovcw"
 1226|      1|              return;
 1227|      4|            }
 1228|      1|            break;
 1229|      4|          case 'z':	 // 3 strings to match.
  ------------------
  |  Branch (1229:11): [True: 4, False: 19]
  ------------------
 1230|      4|            switch (Mnemonic[5]) {
 1231|      1|            default: break;
  ------------------
  |  Branch (1231:13): [True: 1, False: 3]
  ------------------
 1232|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1232:13): [True: 1, False: 3]
  ------------------
 1233|      1|              Mnemonic = "cmovel";	 // "cmovzl"
 1234|      1|              return;
 1235|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1235:13): [True: 1, False: 3]
  ------------------
 1236|      1|              Mnemonic = "cmoveq";	 // "cmovzq"
 1237|      1|              return;
 1238|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1238:13): [True: 1, False: 3]
  ------------------
 1239|      1|              Mnemonic = "cmovew";	 // "cmovzw"
 1240|      1|              return;
 1241|      4|            }
 1242|      1|            break;
 1243|     23|          }
 1244|     17|          break;
 1245|    103|        case 'f':	 // 4 strings to match.
  ------------------
  |  Branch (1245:9): [True: 103, False: 1.41k]
  ------------------
 1246|    103|          switch (Mnemonic[1]) {
 1247|     51|          default: break;
  ------------------
  |  Branch (1247:11): [True: 51, False: 52]
  ------------------
 1248|     51|          case 'c':	 // 2 strings to match.
  ------------------
  |  Branch (1248:11): [True: 18, False: 85]
  ------------------
 1249|     18|            if (memcmp(Mnemonic.data()+2, "mov", 3))
  ------------------
  |  Branch (1249:17): [True: 11, False: 7]
  ------------------
 1250|     11|              break;
 1251|      7|            switch (Mnemonic[5]) {
 1252|      5|            default: break;
  ------------------
  |  Branch (1252:13): [True: 5, False: 2]
  ------------------
 1253|      5|            case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1253:13): [True: 1, False: 6]
  ------------------
 1254|      1|              Mnemonic = "fcmovnbe";	 // "fcmova"
 1255|      1|              return;
 1256|      1|            case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1256:13): [True: 1, False: 6]
  ------------------
 1257|      1|              Mnemonic = "fcmove";	 // "fcmovz"
 1258|      1|              return;
 1259|      7|            }
 1260|      5|            break;
 1261|     25|          case 'i':	 // 1 string to match.
  ------------------
  |  Branch (1261:11): [True: 25, False: 78]
  ------------------
 1262|     25|            if (memcmp(Mnemonic.data()+2, "stpq", 4))
  ------------------
  |  Branch (1262:17): [True: 25, False: 0]
  ------------------
 1263|     25|              break;
 1264|      0|            Mnemonic = "fistpll";	 // "fistpq"
 1265|      0|            return;
 1266|      9|          case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1266:11): [True: 9, False: 94]
  ------------------
 1267|      9|            if (memcmp(Mnemonic.data()+2, "dcww", 4))
  ------------------
  |  Branch (1267:17): [True: 9, False: 0]
  ------------------
 1268|      9|              break;
 1269|      0|            Mnemonic = "fldcw";	 // "fldcww"
 1270|      0|            return;
 1271|    103|          }
 1272|    101|          break;
 1273|    101|        case 'l':	 // 2 strings to match.
  ------------------
  |  Branch (1273:9): [True: 31, False: 1.48k]
  ------------------
 1274|     31|          if (memcmp(Mnemonic.data()+1, "eave", 4))
  ------------------
  |  Branch (1274:15): [True: 31, False: 0]
  ------------------
 1275|     31|            break;
 1276|      0|          switch (Mnemonic[5]) {
 1277|      0|          default: break;
  ------------------
  |  Branch (1277:11): [True: 0, False: 0]
  ------------------
 1278|      0|          case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1278:11): [True: 0, False: 0]
  ------------------
 1279|      0|            if ((Features & Feature_Not64BitMode) == Feature_Not64BitMode)	 // "leavel"
  ------------------
  |  Branch (1279:17): [True: 0, False: 0]
  ------------------
 1280|      0|              Mnemonic = "leave";
 1281|      0|            return;
 1282|      0|          case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1282:11): [True: 0, False: 0]
  ------------------
 1283|      0|            if ((Features & Feature_In64BitMode) == Feature_In64BitMode)	 // "leaveq"
  ------------------
  |  Branch (1283:17): [True: 0, False: 0]
  ------------------
 1284|      0|              Mnemonic = "leave";
 1285|      0|            return;
 1286|      0|          }
 1287|      0|          break;
 1288|    881|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (1288:9): [True: 881, False: 636]
  ------------------
 1289|    881|          if (memcmp(Mnemonic.data()+1, "ushfd", 5))
  ------------------
  |  Branch (1289:15): [True: 880, False: 1]
  ------------------
 1290|    880|            break;
 1291|      1|          Mnemonic = "pushfl";	 // "pushfd"
 1292|      1|          return;
 1293|    245|        case 's':	 // 1 string to match.
  ------------------
  |  Branch (1293:9): [True: 245, False: 1.27k]
  ------------------
 1294|    245|          if (memcmp(Mnemonic.data()+1, "ysret", 5))
  ------------------
  |  Branch (1294:15): [True: 244, False: 1]
  ------------------
 1295|    244|            break;
 1296|      1|          Mnemonic = "sysretl";	 // "sysret"
 1297|      1|          return;
 1298|     38|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (1298:9): [True: 38, False: 1.47k]
  ------------------
 1299|     38|          if (memcmp(Mnemonic.data()+1, "saveq", 5))
  ------------------
  |  Branch (1299:15): [True: 37, False: 1]
  ------------------
 1300|     37|            break;
 1301|      1|          Mnemonic = "xsave64";	 // "xsaveq"
 1302|      1|          return;
 1303|  1.51k|        }
 1304|  1.50k|        break;
 1305|  2.45k|      case 7:	 // 34 strings to match.
  ------------------
  |  Branch (1305:7): [True: 2.45k, False: 18.3k]
  ------------------
 1306|  2.45k|        switch (Mnemonic[0]) {
 1307|  2.05k|        default: break;
  ------------------
  |  Branch (1307:9): [True: 2.05k, False: 398]
  ------------------
 1308|  2.05k|        case 'c':	 // 24 strings to match.
  ------------------
  |  Branch (1308:9): [True: 103, False: 2.35k]
  ------------------
 1309|    103|          if (memcmp(Mnemonic.data()+1, "mov", 3))
  ------------------
  |  Branch (1309:15): [True: 48, False: 55]
  ------------------
 1310|     48|            break;
 1311|     55|          switch (Mnemonic[4]) {
 1312|      5|          default: break;
  ------------------
  |  Branch (1312:11): [True: 5, False: 50]
  ------------------
 1313|     37|          case 'n':	 // 18 strings to match.
  ------------------
  |  Branch (1313:11): [True: 37, False: 18]
  ------------------
 1314|     37|            switch (Mnemonic[5]) {
 1315|      5|            default: break;
  ------------------
  |  Branch (1315:13): [True: 5, False: 32]
  ------------------
 1316|      6|            case 'a':	 // 3 strings to match.
  ------------------
  |  Branch (1316:13): [True: 6, False: 31]
  ------------------
 1317|      6|              switch (Mnemonic[6]) {
 1318|      3|              default: break;
  ------------------
  |  Branch (1318:15): [True: 3, False: 3]
  ------------------
 1319|      3|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1319:15): [True: 1, False: 5]
  ------------------
 1320|      1|                Mnemonic = "cmovbel";	 // "cmovnal"
 1321|      1|                return;
 1322|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1322:15): [True: 1, False: 5]
  ------------------
 1323|      1|                Mnemonic = "cmovbeq";	 // "cmovnaq"
 1324|      1|                return;
 1325|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1325:15): [True: 1, False: 5]
  ------------------
 1326|      1|                Mnemonic = "cmovbew";	 // "cmovnaw"
 1327|      1|                return;
 1328|      6|              }
 1329|      3|              break;
 1330|      6|            case 'b':	 // 3 strings to match.
  ------------------
  |  Branch (1330:13): [True: 6, False: 31]
  ------------------
 1331|      6|              switch (Mnemonic[6]) {
 1332|      3|              default: break;
  ------------------
  |  Branch (1332:15): [True: 3, False: 3]
  ------------------
 1333|      3|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1333:15): [True: 1, False: 5]
  ------------------
 1334|      1|                Mnemonic = "cmovael";	 // "cmovnbl"
 1335|      1|                return;
 1336|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1336:15): [True: 1, False: 5]
  ------------------
 1337|      1|                Mnemonic = "cmovaeq";	 // "cmovnbq"
 1338|      1|                return;
 1339|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1339:15): [True: 1, False: 5]
  ------------------
 1340|      1|                Mnemonic = "cmovaew";	 // "cmovnbw"
 1341|      1|                return;
 1342|      6|              }
 1343|      3|              break;
 1344|      4|            case 'c':	 // 3 strings to match.
  ------------------
  |  Branch (1344:13): [True: 4, False: 33]
  ------------------
 1345|      4|              switch (Mnemonic[6]) {
 1346|      1|              default: break;
  ------------------
  |  Branch (1346:15): [True: 1, False: 3]
  ------------------
 1347|      1|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1347:15): [True: 1, False: 3]
  ------------------
 1348|      1|                Mnemonic = "cmovael";	 // "cmovncl"
 1349|      1|                return;
 1350|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1350:15): [True: 1, False: 3]
  ------------------
 1351|      1|                Mnemonic = "cmovaeq";	 // "cmovncq"
 1352|      1|                return;
 1353|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1353:15): [True: 1, False: 3]
  ------------------
 1354|      1|                Mnemonic = "cmovaew";	 // "cmovncw"
 1355|      1|                return;
 1356|      4|              }
 1357|      1|              break;
 1358|      6|            case 'g':	 // 3 strings to match.
  ------------------
  |  Branch (1358:13): [True: 6, False: 31]
  ------------------
 1359|      6|              switch (Mnemonic[6]) {
 1360|      3|              default: break;
  ------------------
  |  Branch (1360:15): [True: 3, False: 3]
  ------------------
 1361|      3|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1361:15): [True: 1, False: 5]
  ------------------
 1362|      1|                Mnemonic = "cmovlel";	 // "cmovngl"
 1363|      1|                return;
 1364|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1364:15): [True: 1, False: 5]
  ------------------
 1365|      1|                Mnemonic = "cmovleq";	 // "cmovngq"
 1366|      1|                return;
 1367|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1367:15): [True: 1, False: 5]
  ------------------
 1368|      1|                Mnemonic = "cmovlew";	 // "cmovngw"
 1369|      1|                return;
 1370|      6|              }
 1371|      3|              break;
 1372|      6|            case 'l':	 // 3 strings to match.
  ------------------
  |  Branch (1372:13): [True: 6, False: 31]
  ------------------
 1373|      6|              switch (Mnemonic[6]) {
 1374|      2|              default: break;
  ------------------
  |  Branch (1374:15): [True: 2, False: 4]
  ------------------
 1375|      2|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1375:15): [True: 1, False: 5]
  ------------------
 1376|      1|                Mnemonic = "cmovgel";	 // "cmovnll"
 1377|      1|                return;
 1378|      2|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1378:15): [True: 2, False: 4]
  ------------------
 1379|      2|                Mnemonic = "cmovgeq";	 // "cmovnlq"
 1380|      2|                return;
 1381|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1381:15): [True: 1, False: 5]
  ------------------
 1382|      1|                Mnemonic = "cmovgew";	 // "cmovnlw"
 1383|      1|                return;
 1384|      6|              }
 1385|      2|              break;
 1386|      4|            case 'z':	 // 3 strings to match.
  ------------------
  |  Branch (1386:13): [True: 4, False: 33]
  ------------------
 1387|      4|              switch (Mnemonic[6]) {
 1388|      1|              default: break;
  ------------------
  |  Branch (1388:15): [True: 1, False: 3]
  ------------------
 1389|      1|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1389:15): [True: 1, False: 3]
  ------------------
 1390|      1|                Mnemonic = "cmovnel";	 // "cmovnzl"
 1391|      1|                return;
 1392|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1392:15): [True: 1, False: 3]
  ------------------
 1393|      1|                Mnemonic = "cmovneq";	 // "cmovnzq"
 1394|      1|                return;
 1395|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1395:15): [True: 1, False: 3]
  ------------------
 1396|      1|                Mnemonic = "cmovnew";	 // "cmovnzw"
 1397|      1|                return;
 1398|      4|              }
 1399|      1|              break;
 1400|     37|            }
 1401|     18|            break;
 1402|     18|          case 'p':	 // 6 strings to match.
  ------------------
  |  Branch (1402:11): [True: 13, False: 42]
  ------------------
 1403|     13|            switch (Mnemonic[5]) {
 1404|      5|            default: break;
  ------------------
  |  Branch (1404:13): [True: 5, False: 8]
  ------------------
 1405|      5|            case 'e':	 // 3 strings to match.
  ------------------
  |  Branch (1405:13): [True: 4, False: 9]
  ------------------
 1406|      4|              switch (Mnemonic[6]) {
 1407|      1|              default: break;
  ------------------
  |  Branch (1407:15): [True: 1, False: 3]
  ------------------
 1408|      1|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1408:15): [True: 1, False: 3]
  ------------------
 1409|      1|                Mnemonic = "cmovpl";	 // "cmovpel"
 1410|      1|                return;
 1411|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1411:15): [True: 1, False: 3]
  ------------------
 1412|      1|                Mnemonic = "cmovpq";	 // "cmovpeq"
 1413|      1|                return;
 1414|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1414:15): [True: 1, False: 3]
  ------------------
 1415|      1|                Mnemonic = "cmovpw";	 // "cmovpew"
 1416|      1|                return;
 1417|      4|              }
 1418|      1|              break;
 1419|      4|            case 'o':	 // 3 strings to match.
  ------------------
  |  Branch (1419:13): [True: 4, False: 9]
  ------------------
 1420|      4|              switch (Mnemonic[6]) {
 1421|      1|              default: break;
  ------------------
  |  Branch (1421:15): [True: 1, False: 3]
  ------------------
 1422|      1|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1422:15): [True: 1, False: 3]
  ------------------
 1423|      1|                Mnemonic = "cmovnpl";	 // "cmovpol"
 1424|      1|                return;
 1425|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1425:15): [True: 1, False: 3]
  ------------------
 1426|      1|                Mnemonic = "cmovnpq";	 // "cmovpoq"
 1427|      1|                return;
 1428|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1428:15): [True: 1, False: 3]
  ------------------
 1429|      1|                Mnemonic = "cmovnpw";	 // "cmovpow"
 1430|      1|                return;
 1431|      4|              }
 1432|      1|              break;
 1433|     13|            }
 1434|      7|            break;
 1435|     55|          }
 1436|     30|          break;
 1437|    159|        case 'f':	 // 6 strings to match.
  ------------------
  |  Branch (1437:9): [True: 159, False: 2.29k]
  ------------------
 1438|    159|          switch (Mnemonic[1]) {
 1439|     40|          default: break;
  ------------------
  |  Branch (1439:11): [True: 40, False: 119]
  ------------------
 1440|     40|          case 'c':	 // 2 strings to match.
  ------------------
  |  Branch (1440:11): [True: 33, False: 126]
  ------------------
 1441|     33|            if (memcmp(Mnemonic.data()+2, "mov", 3))
  ------------------
  |  Branch (1441:17): [True: 17, False: 16]
  ------------------
 1442|     17|              break;
 1443|     16|            switch (Mnemonic[5]) {
 1444|      5|            default: break;
  ------------------
  |  Branch (1444:13): [True: 5, False: 11]
  ------------------
 1445|      5|            case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1445:13): [True: 5, False: 11]
  ------------------
 1446|      5|              if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1446:19): [True: 5, False: 0]
  ------------------
 1447|      5|                break;
 1448|      0|              Mnemonic = "fcmovnb";	 // "fcmovae"
 1449|      0|              return;
 1450|      6|            case 'n':	 // 1 string to match.
  ------------------
  |  Branch (1450:13): [True: 6, False: 10]
  ------------------
 1451|      6|              if (Mnemonic[6] != 'a')
  ------------------
  |  Branch (1451:19): [True: 5, False: 1]
  ------------------
 1452|      5|                break;
 1453|      1|              Mnemonic = "fcmovbe";	 // "fcmovna"
 1454|      1|              return;
 1455|     16|            }
 1456|     15|            break;
 1457|     15|          case 'i':	 // 1 string to match.
  ------------------
  |  Branch (1457:11): [True: 5, False: 154]
  ------------------
 1458|      5|            if (memcmp(Mnemonic.data()+2, "sttpq", 5))
  ------------------
  |  Branch (1458:17): [True: 5, False: 0]
  ------------------
 1459|      5|              break;
 1460|      0|            Mnemonic = "fisttpll";	 // "fisttpq"
 1461|      0|            return;
 1462|     59|          case 'n':	 // 2 strings to match.
  ------------------
  |  Branch (1462:11): [True: 59, False: 100]
  ------------------
 1463|     59|            if (memcmp(Mnemonic.data()+2, "st", 2))
  ------------------
  |  Branch (1463:17): [True: 9, False: 50]
  ------------------
 1464|      9|              break;
 1465|     50|            switch (Mnemonic[4]) {
 1466|      7|            default: break;
  ------------------
  |  Branch (1466:13): [True: 7, False: 43]
  ------------------
 1467|     16|            case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1467:13): [True: 16, False: 34]
  ------------------
 1468|     16|              if (memcmp(Mnemonic.data()+5, "ww", 2))
  ------------------
  |  Branch (1468:19): [True: 6, False: 10]
  ------------------
 1469|      6|                break;
 1470|     10|              Mnemonic = "fnstcw";	 // "fnstcww"
 1471|     10|              return;
 1472|     27|            case 's':	 // 1 string to match.
  ------------------
  |  Branch (1472:13): [True: 27, False: 23]
  ------------------
 1473|     27|              if (memcmp(Mnemonic.data()+5, "ww", 2))
  ------------------
  |  Branch (1473:19): [True: 6, False: 21]
  ------------------
 1474|      6|                break;
 1475|     21|              Mnemonic = "fnstsw";	 // "fnstsww"
 1476|     21|              return;
 1477|     50|            }
 1478|     19|            break;
 1479|     22|          case 'x':	 // 1 string to match.
  ------------------
  |  Branch (1479:11): [True: 22, False: 137]
  ------------------
 1480|     22|            if (memcmp(Mnemonic.data()+2, "saveq", 5))
  ------------------
  |  Branch (1480:17): [True: 18, False: 4]
  ------------------
 1481|     18|              break;
 1482|      4|            Mnemonic = "fxsave64";	 // "fxsaveq"
 1483|      4|            return;
 1484|    159|          }
 1485|    123|          break;
 1486|    123|        case 's':	 // 1 string to match.
  ------------------
  |  Branch (1486:9): [True: 68, False: 2.38k]
  ------------------
 1487|     68|          if (memcmp(Mnemonic.data()+1, "ysexit", 6))
  ------------------
  |  Branch (1487:15): [True: 67, False: 1]
  ------------------
 1488|     67|            break;
 1489|      1|          Mnemonic = "sysexitl";	 // "sysexit"
 1490|      1|          return;
 1491|     68|        case 'x':	 // 3 strings to match.
  ------------------
  |  Branch (1491:9): [True: 68, False: 2.38k]
  ------------------
 1492|     68|          switch (Mnemonic[1]) {
 1493|      9|          default: break;
  ------------------
  |  Branch (1493:11): [True: 9, False: 59]
  ------------------
 1494|     11|          case 'r':	 // 1 string to match.
  ------------------
  |  Branch (1494:11): [True: 11, False: 57]
  ------------------
 1495|     11|            if (memcmp(Mnemonic.data()+2, "storq", 5))
  ------------------
  |  Branch (1495:17): [True: 10, False: 1]
  ------------------
 1496|     10|              break;
 1497|      1|            Mnemonic = "xrstor64";	 // "xrstorq"
 1498|      1|            return;
 1499|     48|          case 's':	 // 2 strings to match.
  ------------------
  |  Branch (1499:11): [True: 48, False: 20]
  ------------------
 1500|     48|            if (memcmp(Mnemonic.data()+2, "ave", 3))
  ------------------
  |  Branch (1500:17): [True: 33, False: 15]
  ------------------
 1501|     33|              break;
 1502|     15|            switch (Mnemonic[5]) {
 1503|      5|            default: break;
  ------------------
  |  Branch (1503:13): [True: 5, False: 10]
  ------------------
 1504|      5|            case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1504:13): [True: 5, False: 10]
  ------------------
 1505|      5|              if (Mnemonic[6] != 'q')
  ------------------
  |  Branch (1505:19): [True: 4, False: 1]
  ------------------
 1506|      4|                break;
 1507|      1|              Mnemonic = "xsavec64";	 // "xsavecq"
 1508|      1|              return;
 1509|      5|            case 's':	 // 1 string to match.
  ------------------
  |  Branch (1509:13): [True: 5, False: 10]
  ------------------
 1510|      5|              if (Mnemonic[6] != 'q')
  ------------------
  |  Branch (1510:19): [True: 4, False: 1]
  ------------------
 1511|      4|                break;
 1512|      1|              Mnemonic = "xsaves64";	 // "xsavesq"
 1513|      1|              return;
 1514|     15|            }
 1515|     13|            break;
 1516|     68|          }
 1517|     65|          break;
 1518|  2.45k|        }
 1519|  2.39k|        break;
 1520|  2.39k|      case 8:	 // 15 strings to match.
  ------------------
  |  Branch (1520:7): [True: 591, False: 20.1k]
  ------------------
 1521|    591|        switch (Mnemonic[0]) {
 1522|    239|        default: break;
  ------------------
  |  Branch (1522:9): [True: 239, False: 352]
  ------------------
 1523|    239|        case 'c':	 // 12 strings to match.
  ------------------
  |  Branch (1523:9): [True: 122, False: 469]
  ------------------
 1524|    122|          if (memcmp(Mnemonic.data()+1, "movn", 4))
  ------------------
  |  Branch (1524:15): [True: 79, False: 43]
  ------------------
 1525|     79|            break;
 1526|     43|          switch (Mnemonic[5]) {
 1527|      7|          default: break;
  ------------------
  |  Branch (1527:11): [True: 7, False: 36]
  ------------------
 1528|      9|          case 'a':	 // 3 strings to match.
  ------------------
  |  Branch (1528:11): [True: 9, False: 34]
  ------------------
 1529|      9|            if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1529:17): [True: 5, False: 4]
  ------------------
 1530|      5|              break;
 1531|      4|            switch (Mnemonic[7]) {
 1532|      1|            default: break;
  ------------------
  |  Branch (1532:13): [True: 1, False: 3]
  ------------------
 1533|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1533:13): [True: 1, False: 3]
  ------------------
 1534|      1|              Mnemonic = "cmovbl";	 // "cmovnael"
 1535|      1|              return;
 1536|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1536:13): [True: 1, False: 3]
  ------------------
 1537|      1|              Mnemonic = "cmovbq";	 // "cmovnaeq"
 1538|      1|              return;
 1539|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1539:13): [True: 1, False: 3]
  ------------------
 1540|      1|              Mnemonic = "cmovbw";	 // "cmovnaew"
 1541|      1|              return;
 1542|      4|            }
 1543|      1|            break;
 1544|      9|          case 'b':	 // 3 strings to match.
  ------------------
  |  Branch (1544:11): [True: 9, False: 34]
  ------------------
 1545|      9|            if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1545:17): [True: 5, False: 4]
  ------------------
 1546|      5|              break;
 1547|      4|            switch (Mnemonic[7]) {
 1548|      1|            default: break;
  ------------------
  |  Branch (1548:13): [True: 1, False: 3]
  ------------------
 1549|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1549:13): [True: 1, False: 3]
  ------------------
 1550|      1|              Mnemonic = "cmoval";	 // "cmovnbel"
 1551|      1|              return;
 1552|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1552:13): [True: 1, False: 3]
  ------------------
 1553|      1|              Mnemonic = "cmovaq";	 // "cmovnbeq"
 1554|      1|              return;
 1555|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1555:13): [True: 1, False: 3]
  ------------------
 1556|      1|              Mnemonic = "cmovaw";	 // "cmovnbew"
 1557|      1|              return;
 1558|      4|            }
 1559|      1|            break;
 1560|      9|          case 'g':	 // 3 strings to match.
  ------------------
  |  Branch (1560:11): [True: 9, False: 34]
  ------------------
 1561|      9|            if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1561:17): [True: 5, False: 4]
  ------------------
 1562|      5|              break;
 1563|      4|            switch (Mnemonic[7]) {
 1564|      1|            default: break;
  ------------------
  |  Branch (1564:13): [True: 1, False: 3]
  ------------------
 1565|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1565:13): [True: 1, False: 3]
  ------------------
 1566|      1|              Mnemonic = "cmovll";	 // "cmovngel"
 1567|      1|              return;
 1568|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1568:13): [True: 1, False: 3]
  ------------------
 1569|      1|              Mnemonic = "cmovlq";	 // "cmovngeq"
 1570|      1|              return;
 1571|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1571:13): [True: 1, False: 3]
  ------------------
 1572|      1|              Mnemonic = "cmovlw";	 // "cmovngew"
 1573|      1|              return;
 1574|      4|            }
 1575|      1|            break;
 1576|      9|          case 'l':	 // 3 strings to match.
  ------------------
  |  Branch (1576:11): [True: 9, False: 34]
  ------------------
 1577|      9|            if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1577:17): [True: 5, False: 4]
  ------------------
 1578|      5|              break;
 1579|      4|            switch (Mnemonic[7]) {
 1580|      1|            default: break;
  ------------------
  |  Branch (1580:13): [True: 1, False: 3]
  ------------------
 1581|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1581:13): [True: 1, False: 3]
  ------------------
 1582|      1|              Mnemonic = "cmovgl";	 // "cmovnlel"
 1583|      1|              return;
 1584|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1584:13): [True: 1, False: 3]
  ------------------
 1585|      1|              Mnemonic = "cmovgq";	 // "cmovnleq"
 1586|      1|              return;
 1587|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1587:13): [True: 1, False: 3]
  ------------------
 1588|      1|              Mnemonic = "cmovgw";	 // "cmovnlew"
 1589|      1|              return;
 1590|      4|            }
 1591|      1|            break;
 1592|     43|          }
 1593|     31|          break;
 1594|    180|        case 'f':	 // 2 strings to match.
  ------------------
  |  Branch (1594:9): [True: 180, False: 411]
  ------------------
 1595|    180|          switch (Mnemonic[1]) {
 1596|    137|          default: break;
  ------------------
  |  Branch (1596:11): [True: 137, False: 43]
  ------------------
 1597|    137|          case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1597:11): [True: 21, False: 159]
  ------------------
 1598|     21|            if (memcmp(Mnemonic.data()+2, "movnae", 6))
  ------------------
  |  Branch (1598:17): [True: 21, False: 0]
  ------------------
 1599|     21|              break;
 1600|      0|            Mnemonic = "fcmovb";	 // "fcmovnae"
 1601|      0|            return;
 1602|     22|          case 'x':	 // 1 string to match.
  ------------------
  |  Branch (1602:11): [True: 22, False: 158]
  ------------------
 1603|     22|            if (memcmp(Mnemonic.data()+2, "rstorq", 6))
  ------------------
  |  Branch (1603:17): [True: 21, False: 1]
  ------------------
 1604|     21|              break;
 1605|      1|            Mnemonic = "fxrstor64";	 // "fxrstorq"
 1606|      1|            return;
 1607|    180|          }
 1608|    179|          break;
 1609|    179|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (1609:9): [True: 50, False: 541]
  ------------------
 1610|     50|          if (memcmp(Mnemonic.data()+1, "rstorsq", 7))
  ------------------
  |  Branch (1610:15): [True: 49, False: 1]
  ------------------
 1611|     49|            break;
 1612|      1|          Mnemonic = "xrstors64";	 // "xrstorsq"
 1613|      1|          return;
 1614|    591|        }
 1615|    577|        break;
 1616|    577|      case 9:	 // 1 string to match.
  ------------------
  |  Branch (1616:7): [True: 172, False: 20.5k]
  ------------------
 1617|    172|        if (memcmp(Mnemonic.data()+0, "xsaveoptq", 9))
  ------------------
  |  Branch (1617:13): [True: 171, False: 1]
  ------------------
 1618|    171|          break;
 1619|      1|        Mnemonic = "xsaveopt64";	 // "xsaveoptq"
 1620|      1|        return;
 1621|  20.7k|      }
 1622|  18.1k|    break;
 1623|   131k|    case 1:
  ------------------
  |  Branch (1623:5): [True: 131k, False: 20.7k]
  ------------------
 1624|   131k|      switch (Mnemonic.size()) {
 1625|  36.0k|      default: break;
  ------------------
  |  Branch (1625:7): [True: 36.0k, False: 95.3k]
  ------------------
 1626|  36.0k|      case 3:	 // 1 string to match.
  ------------------
  |  Branch (1626:7): [True: 31.4k, False: 99.9k]
  ------------------
 1627|  31.4k|        if (memcmp(Mnemonic.data()+0, "sal", 3))
  ------------------
  |  Branch (1627:13): [True: 31.3k, False: 135]
  ------------------
 1628|  31.3k|          break;
 1629|    135|        Mnemonic = "shl";	 // "sal"
 1630|    135|        return;
 1631|  11.2k|      case 4:	 // 1 string to match.
  ------------------
  |  Branch (1631:7): [True: 11.2k, False: 120k]
  ------------------
 1632|  11.2k|        if (memcmp(Mnemonic.data()+0, "popa", 4))
  ------------------
  |  Branch (1632:13): [True: 11.2k, False: 53]
  ------------------
 1633|  11.2k|          break;
 1634|     53|        if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "popa"
  ------------------
  |  Branch (1634:13): [True: 26, False: 27]
  ------------------
 1635|     26|          Mnemonic = "popaw";
 1636|     27|        else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1636:18): [True: 18, False: 9]
  ------------------
 1637|     18|          Mnemonic = "popal";
 1638|     53|        return;
 1639|  40.3k|      case 5:	 // 4 strings to match.
  ------------------
  |  Branch (1639:7): [True: 40.3k, False: 90.9k]
  ------------------
 1640|  40.3k|        switch (Mnemonic[0]) {
 1641|  36.2k|        default: break;
  ------------------
  |  Branch (1641:9): [True: 36.2k, False: 4.13k]
  ------------------
 1642|  36.2k|        case 'c':	 // 2 strings to match.
  ------------------
  |  Branch (1642:9): [True: 3.93k, False: 36.4k]
  ------------------
 1643|  3.93k|          if (memcmp(Mnemonic.data()+1, "mov", 3))
  ------------------
  |  Branch (1643:15): [True: 3.88k, False: 44]
  ------------------
 1644|  3.88k|            break;
 1645|     44|          switch (Mnemonic[4]) {
 1646|     26|          default: break;
  ------------------
  |  Branch (1646:11): [True: 26, False: 18]
  ------------------
 1647|     26|          case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1647:11): [True: 9, False: 35]
  ------------------
 1648|      9|            Mnemonic = "cmovb";	 // "cmovc"
 1649|      9|            return;
 1650|      9|          case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1650:11): [True: 9, False: 35]
  ------------------
 1651|      9|            Mnemonic = "cmove";	 // "cmovz"
 1652|      9|            return;
 1653|     44|          }
 1654|     26|          break;
 1655|    206|        case 'p':	 // 2 strings to match.
  ------------------
  |  Branch (1655:9): [True: 206, False: 40.1k]
  ------------------
 1656|    206|          switch (Mnemonic[1]) {
 1657|     30|          default: break;
  ------------------
  |  Branch (1657:11): [True: 30, False: 176]
  ------------------
 1658|     30|          case 'o':	 // 1 string to match.
  ------------------
  |  Branch (1658:11): [True: 23, False: 183]
  ------------------
 1659|     23|            if (memcmp(Mnemonic.data()+2, "pad", 3))
  ------------------
  |  Branch (1659:17): [True: 11, False: 12]
  ------------------
 1660|     11|              break;
 1661|     12|            if ((Features & Feature_Not64BitMode) == Feature_Not64BitMode)	 // "popad"
  ------------------
  |  Branch (1661:17): [True: 11, False: 1]
  ------------------
 1662|     11|              Mnemonic = "popal";
 1663|     12|            return;
 1664|    153|          case 'u':	 // 1 string to match.
  ------------------
  |  Branch (1664:11): [True: 153, False: 53]
  ------------------
 1665|    153|            if (memcmp(Mnemonic.data()+2, "sha", 3))
  ------------------
  |  Branch (1665:17): [True: 30, False: 123]
  ------------------
 1666|     30|              break;
 1667|    123|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "pusha"
  ------------------
  |  Branch (1667:17): [True: 103, False: 20]
  ------------------
 1668|    103|              Mnemonic = "pushaw";
 1669|     20|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1669:22): [True: 11, False: 9]
  ------------------
 1670|     11|              Mnemonic = "pushal";
 1671|    123|            return;
 1672|    206|          }
 1673|     71|          break;
 1674|  40.3k|        }
 1675|  40.2k|        break;
 1676|  40.2k|      case 6:	 // 9 strings to match.
  ------------------
  |  Branch (1676:7): [True: 11.7k, False: 119k]
  ------------------
 1677|  11.7k|        switch (Mnemonic[0]) {
 1678|  11.4k|        default: break;
  ------------------
  |  Branch (1678:9): [True: 11.4k, False: 275]
  ------------------
 1679|  11.4k|        case 'c':	 // 8 strings to match.
  ------------------
  |  Branch (1679:9): [True: 164, False: 11.5k]
  ------------------
 1680|    164|          if (memcmp(Mnemonic.data()+1, "mov", 3))
  ------------------
  |  Branch (1680:15): [True: 65, False: 99]
  ------------------
 1681|     65|            break;
 1682|     99|          switch (Mnemonic[4]) {
 1683|      9|          default: break;
  ------------------
  |  Branch (1683:11): [True: 9, False: 90]
  ------------------
 1684|     63|          case 'n':	 // 6 strings to match.
  ------------------
  |  Branch (1684:11): [True: 63, False: 36]
  ------------------
 1685|     63|            switch (Mnemonic[5]) {
 1686|      9|            default: break;
  ------------------
  |  Branch (1686:13): [True: 9, False: 54]
  ------------------
 1687|      9|            case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1687:13): [True: 9, False: 54]
  ------------------
 1688|      9|              Mnemonic = "cmovbe";	 // "cmovna"
 1689|      9|              return;
 1690|      9|            case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1690:13): [True: 9, False: 54]
  ------------------
 1691|      9|              Mnemonic = "cmovae";	 // "cmovnb"
 1692|      9|              return;
 1693|      9|            case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1693:13): [True: 9, False: 54]
  ------------------
 1694|      9|              Mnemonic = "cmovae";	 // "cmovnc"
 1695|      9|              return;
 1696|      9|            case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1696:13): [True: 9, False: 54]
  ------------------
 1697|      9|              Mnemonic = "cmovle";	 // "cmovng"
 1698|      9|              return;
 1699|      9|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1699:13): [True: 9, False: 54]
  ------------------
 1700|      9|              Mnemonic = "cmovge";	 // "cmovnl"
 1701|      9|              return;
 1702|      9|            case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1702:13): [True: 9, False: 54]
  ------------------
 1703|      9|              Mnemonic = "cmovne";	 // "cmovnz"
 1704|      9|              return;
 1705|     63|            }
 1706|      9|            break;
 1707|     27|          case 'p':	 // 2 strings to match.
  ------------------
  |  Branch (1707:11): [True: 27, False: 72]
  ------------------
 1708|     27|            switch (Mnemonic[5]) {
 1709|      9|            default: break;
  ------------------
  |  Branch (1709:13): [True: 9, False: 18]
  ------------------
 1710|      9|            case 'e':	 // 1 string to match.
  ------------------
  |  Branch (1710:13): [True: 9, False: 18]
  ------------------
 1711|      9|              Mnemonic = "cmovp";	 // "cmovpe"
 1712|      9|              return;
 1713|      9|            case 'o':	 // 1 string to match.
  ------------------
  |  Branch (1713:13): [True: 9, False: 18]
  ------------------
 1714|      9|              Mnemonic = "cmovnp";	 // "cmovpo"
 1715|      9|              return;
 1716|     27|            }
 1717|      9|            break;
 1718|     99|          }
 1719|     27|          break;
 1720|    111|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (1720:9): [True: 111, False: 11.6k]
  ------------------
 1721|    111|          if (memcmp(Mnemonic.data()+1, "ushad", 5))
  ------------------
  |  Branch (1721:15): [True: 109, False: 2]
  ------------------
 1722|    109|            break;
 1723|      2|          if ((Features & Feature_Not64BitMode) == Feature_Not64BitMode)	 // "pushad"
  ------------------
  |  Branch (1723:15): [True: 1, False: 1]
  ------------------
 1724|      1|            Mnemonic = "pushal";
 1725|      2|          return;
 1726|  11.7k|        }
 1727|  11.6k|        break;
 1728|  11.6k|      case 7:	 // 4 strings to match.
  ------------------
  |  Branch (1728:7): [True: 436, False: 130k]
  ------------------
 1729|    436|        if (memcmp(Mnemonic.data()+0, "cmovn", 5))
  ------------------
  |  Branch (1729:13): [True: 353, False: 83]
  ------------------
 1730|    353|          break;
 1731|     83|        switch (Mnemonic[5]) {
 1732|      9|        default: break;
  ------------------
  |  Branch (1732:9): [True: 9, False: 74]
  ------------------
 1733|     20|        case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1733:9): [True: 20, False: 63]
  ------------------
 1734|     20|          if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1734:15): [True: 11, False: 9]
  ------------------
 1735|     11|            break;
 1736|      9|          Mnemonic = "cmovb";	 // "cmovnae"
 1737|      9|          return;
 1738|     18|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1738:9): [True: 18, False: 65]
  ------------------
 1739|     18|          if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1739:15): [True: 9, False: 9]
  ------------------
 1740|      9|            break;
 1741|      9|          Mnemonic = "cmova";	 // "cmovnbe"
 1742|      9|          return;
 1743|     18|        case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1743:9): [True: 18, False: 65]
  ------------------
 1744|     18|          if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1744:15): [True: 9, False: 9]
  ------------------
 1745|      9|            break;
 1746|      9|          Mnemonic = "cmovl";	 // "cmovnge"
 1747|      9|          return;
 1748|     18|        case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1748:9): [True: 18, False: 65]
  ------------------
 1749|     18|          if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1749:15): [True: 9, False: 9]
  ------------------
 1750|      9|            break;
 1751|      9|          Mnemonic = "cmovg";	 // "cmovnle"
 1752|      9|          return;
 1753|     83|        }
 1754|     47|        break;
 1755|   131k|      }
 1756|   130k|    break;
 1757|   152k|  }
 1758|   149k|  switch (Mnemonic.size()) {
 1759|  7.01k|  default: break;
  ------------------
  |  Branch (1759:3): [True: 7.01k, False: 142k]
  ------------------
 1760|  35.0k|  case 2:	 // 2 strings to match.
  ------------------
  |  Branch (1760:3): [True: 35.0k, False: 114k]
  ------------------
 1761|  35.0k|    if (Mnemonic[0] != 'j')
  ------------------
  |  Branch (1761:9): [True: 4.68k, False: 30.3k]
  ------------------
 1762|  4.68k|      break;
 1763|  30.3k|    switch (Mnemonic[1]) {
 1764|  29.3k|    default: break;
  ------------------
  |  Branch (1764:5): [True: 29.3k, False: 1.02k]
  ------------------
 1765|  29.3k|    case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1765:5): [True: 254, False: 30.1k]
  ------------------
 1766|    254|      Mnemonic = "jb";	 // "jc"
 1767|    254|      return;
 1768|    772|    case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1768:5): [True: 772, False: 29.5k]
  ------------------
 1769|    772|      Mnemonic = "je";	 // "jz"
 1770|    772|      return;
 1771|  30.3k|    }
 1772|  29.3k|    break;
 1773|  35.3k|  case 3:	 // 8 strings to match.
  ------------------
  |  Branch (1773:3): [True: 35.3k, False: 113k]
  ------------------
 1774|  35.3k|    if (Mnemonic[0] != 'j')
  ------------------
  |  Branch (1774:9): [True: 13.6k, False: 21.7k]
  ------------------
 1775|  13.6k|      break;
 1776|  21.7k|    switch (Mnemonic[1]) {
 1777|  20.6k|    default: break;
  ------------------
  |  Branch (1777:5): [True: 20.6k, False: 1.04k]
  ------------------
 1778|  20.6k|    case 'n':	 // 6 strings to match.
  ------------------
  |  Branch (1778:5): [True: 987, False: 20.7k]
  ------------------
 1779|    987|      switch (Mnemonic[2]) {
 1780|    223|      default: break;
  ------------------
  |  Branch (1780:7): [True: 223, False: 764]
  ------------------
 1781|    223|      case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1781:7): [True: 103, False: 884]
  ------------------
 1782|    103|        Mnemonic = "jbe";	 // "jna"
 1783|    103|        return;
 1784|     56|      case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1784:7): [True: 56, False: 931]
  ------------------
 1785|     56|        Mnemonic = "jae";	 // "jnb"
 1786|     56|        return;
 1787|    106|      case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1787:7): [True: 106, False: 881]
  ------------------
 1788|    106|        Mnemonic = "jae";	 // "jnc"
 1789|    106|        return;
 1790|    132|      case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1790:7): [True: 132, False: 855]
  ------------------
 1791|    132|        Mnemonic = "jle";	 // "jng"
 1792|    132|        return;
 1793|    109|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1793:7): [True: 109, False: 878]
  ------------------
 1794|    109|        Mnemonic = "jge";	 // "jnl"
 1795|    109|        return;
 1796|    258|      case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1796:7): [True: 258, False: 729]
  ------------------
 1797|    258|        Mnemonic = "jne";	 // "jnz"
 1798|    258|        return;
 1799|    987|      }
 1800|    223|      break;
 1801|    223|    case 'p':	 // 2 strings to match.
  ------------------
  |  Branch (1801:5): [True: 60, False: 21.6k]
  ------------------
 1802|     60|      switch (Mnemonic[2]) {
 1803|     17|      default: break;
  ------------------
  |  Branch (1803:7): [True: 17, False: 43]
  ------------------
 1804|     17|      case 'e':	 // 1 string to match.
  ------------------
  |  Branch (1804:7): [True: 9, False: 51]
  ------------------
 1805|      9|        Mnemonic = "jp";	 // "jpe"
 1806|      9|        return;
 1807|     34|      case 'o':	 // 1 string to match.
  ------------------
  |  Branch (1807:7): [True: 34, False: 26]
  ------------------
 1808|     34|        Mnemonic = "jnp";	 // "jpo"
 1809|     34|        return;
 1810|     60|      }
 1811|     17|      break;
 1812|  21.7k|    }
 1813|  20.9k|    break;
 1814|  20.9k|  case 4:	 // 8 strings to match.
  ------------------
  |  Branch (1814:3): [True: 13.2k, False: 135k]
  ------------------
 1815|  13.2k|    switch (Mnemonic[0]) {
 1816|  11.1k|    default: break;
  ------------------
  |  Branch (1816:5): [True: 11.1k, False: 2.13k]
  ------------------
 1817|  11.1k|    case 'j':	 // 4 strings to match.
  ------------------
  |  Branch (1817:5): [True: 167, False: 13.1k]
  ------------------
 1818|    167|      if (Mnemonic[1] != 'n')
  ------------------
  |  Branch (1818:11): [True: 54, False: 113]
  ------------------
 1819|     54|        break;
 1820|    113|      switch (Mnemonic[2]) {
 1821|     25|      default: break;
  ------------------
  |  Branch (1821:7): [True: 25, False: 88]
  ------------------
 1822|     25|      case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1822:7): [True: 22, False: 91]
  ------------------
 1823|     22|        if (Mnemonic[3] != 'e')
  ------------------
  |  Branch (1823:13): [True: 13, False: 9]
  ------------------
 1824|     13|          break;
 1825|      9|        Mnemonic = "jb";	 // "jnae"
 1826|      9|        return;
 1827|     22|      case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1827:7): [True: 22, False: 91]
  ------------------
 1828|     22|        if (Mnemonic[3] != 'e')
  ------------------
  |  Branch (1828:13): [True: 13, False: 9]
  ------------------
 1829|     13|          break;
 1830|      9|        Mnemonic = "ja";	 // "jnbe"
 1831|      9|        return;
 1832|     22|      case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1832:7): [True: 22, False: 91]
  ------------------
 1833|     22|        if (Mnemonic[3] != 'e')
  ------------------
  |  Branch (1833:13): [True: 13, False: 9]
  ------------------
 1834|     13|          break;
 1835|      9|        Mnemonic = "jl";	 // "jnge"
 1836|      9|        return;
 1837|     22|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1837:7): [True: 22, False: 91]
  ------------------
 1838|     22|        if (Mnemonic[3] != 'e')
  ------------------
  |  Branch (1838:13): [True: 13, False: 9]
  ------------------
 1839|     13|          break;
 1840|      9|        Mnemonic = "jg";	 // "jnle"
 1841|      9|        return;
 1842|    113|      }
 1843|     77|      break;
 1844|    154|    case 'r':	 // 2 strings to match.
  ------------------
  |  Branch (1844:5): [True: 154, False: 13.1k]
  ------------------
 1845|    154|      if (memcmp(Mnemonic.data()+1, "ep", 2))
  ------------------
  |  Branch (1845:11): [True: 138, False: 16]
  ------------------
 1846|    138|        break;
 1847|     16|      switch (Mnemonic[3]) {
 1848|      9|      default: break;
  ------------------
  |  Branch (1848:7): [True: 9, False: 7]
  ------------------
 1849|      9|      case 'e':	 // 1 string to match.
  ------------------
  |  Branch (1849:7): [True: 6, False: 10]
  ------------------
 1850|      6|        Mnemonic = "rep";	 // "repe"
 1851|      6|        return;
 1852|      1|      case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1852:7): [True: 1, False: 15]
  ------------------
 1853|      1|        Mnemonic = "rep";	 // "repz"
 1854|      1|        return;
 1855|     16|      }
 1856|      9|      break;
 1857|  1.81k|    case 's':	 // 2 strings to match.
  ------------------
  |  Branch (1857:5): [True: 1.81k, False: 11.4k]
  ------------------
 1858|  1.81k|      if (memcmp(Mnemonic.data()+1, "et", 2))
  ------------------
  |  Branch (1858:11): [True: 561, False: 1.25k]
  ------------------
 1859|    561|        break;
 1860|  1.25k|      switch (Mnemonic[3]) {
 1861|    826|      default: break;
  ------------------
  |  Branch (1861:7): [True: 826, False: 430]
  ------------------
 1862|    826|      case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1862:7): [True: 34, False: 1.22k]
  ------------------
 1863|     34|        Mnemonic = "setb";	 // "setc"
 1864|     34|        return;
 1865|    396|      case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1865:7): [True: 396, False: 860]
  ------------------
 1866|    396|        Mnemonic = "sete";	 // "setz"
 1867|    396|        return;
 1868|  1.25k|      }
 1869|    826|      break;
 1870|  13.2k|    }
 1871|  12.8k|    break;
 1872|  42.4k|  case 5:	 // 11 strings to match.
  ------------------
  |  Branch (1872:3): [True: 42.4k, False: 106k]
  ------------------
 1873|  42.4k|    switch (Mnemonic[0]) {
 1874|  35.6k|    default: break;
  ------------------
  |  Branch (1874:5): [True: 35.6k, False: 6.79k]
  ------------------
 1875|  35.6k|    case 'f':	 // 1 string to match.
  ------------------
  |  Branch (1875:5): [True: 231, False: 42.1k]
  ------------------
 1876|    231|      if (memcmp(Mnemonic.data()+1, "wait", 4))
  ------------------
  |  Branch (1876:11): [True: 220, False: 11]
  ------------------
 1877|    220|        break;
 1878|     11|      Mnemonic = "wait";	 // "fwait"
 1879|     11|      return;
 1880|  1.97k|    case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1880:5): [True: 1.97k, False: 40.4k]
  ------------------
 1881|  1.97k|      if (memcmp(Mnemonic.data()+1, "oopz", 4))
  ------------------
  |  Branch (1881:11): [True: 1.97k, False: 9]
  ------------------
 1882|  1.97k|        break;
 1883|      9|      Mnemonic = "loope";	 // "loopz"
 1884|      9|      return;
 1885|     69|    case 'r':	 // 1 string to match.
  ------------------
  |  Branch (1885:5): [True: 69, False: 42.3k]
  ------------------
 1886|     69|      if (memcmp(Mnemonic.data()+1, "epnz", 4))
  ------------------
  |  Branch (1886:11): [True: 50, False: 19]
  ------------------
 1887|     50|        break;
 1888|     19|      Mnemonic = "repne";	 // "repnz"
 1889|     19|      return;
 1890|  4.51k|    case 's':	 // 8 strings to match.
  ------------------
  |  Branch (1890:5): [True: 4.51k, False: 37.9k]
  ------------------
 1891|  4.51k|      if (memcmp(Mnemonic.data()+1, "et", 2))
  ------------------
  |  Branch (1891:11): [True: 3.41k, False: 1.09k]
  ------------------
 1892|  3.41k|        break;
 1893|  1.09k|      switch (Mnemonic[3]) {
 1894|    181|      default: break;
  ------------------
  |  Branch (1894:7): [True: 181, False: 915]
  ------------------
 1895|    810|      case 'n':	 // 6 strings to match.
  ------------------
  |  Branch (1895:7): [True: 810, False: 286]
  ------------------
 1896|    810|        switch (Mnemonic[4]) {
 1897|     31|        default: break;
  ------------------
  |  Branch (1897:9): [True: 31, False: 779]
  ------------------
 1898|     89|        case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1898:9): [True: 89, False: 721]
  ------------------
 1899|     89|          Mnemonic = "setbe";	 // "setna"
 1900|     89|          return;
 1901|    529|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1901:9): [True: 529, False: 281]
  ------------------
 1902|    529|          Mnemonic = "setae";	 // "setnb"
 1903|    529|          return;
 1904|     99|        case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1904:9): [True: 99, False: 711]
  ------------------
 1905|     99|          Mnemonic = "setae";	 // "setnc"
 1906|     99|          return;
 1907|      9|        case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1907:9): [True: 9, False: 801]
  ------------------
 1908|      9|          Mnemonic = "setle";	 // "setng"
 1909|      9|          return;
 1910|     13|        case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1910:9): [True: 13, False: 797]
  ------------------
 1911|     13|          Mnemonic = "setge";	 // "setnl"
 1912|     13|          return;
 1913|     40|        case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1913:9): [True: 40, False: 770]
  ------------------
 1914|     40|          Mnemonic = "setne";	 // "setnz"
 1915|     40|          return;
 1916|    810|        }
 1917|     31|        break;
 1918|    105|      case 'p':	 // 2 strings to match.
  ------------------
  |  Branch (1918:7): [True: 105, False: 991]
  ------------------
 1919|    105|        switch (Mnemonic[4]) {
 1920|     13|        default: break;
  ------------------
  |  Branch (1920:9): [True: 13, False: 92]
  ------------------
 1921|     83|        case 'e':	 // 1 string to match.
  ------------------
  |  Branch (1921:9): [True: 83, False: 22]
  ------------------
 1922|     83|          Mnemonic = "setp";	 // "setpe"
 1923|     83|          return;
 1924|      9|        case 'o':	 // 1 string to match.
  ------------------
  |  Branch (1924:9): [True: 9, False: 96]
  ------------------
 1925|      9|          Mnemonic = "setnp";	 // "setpo"
 1926|      9|          return;
 1927|    105|        }
 1928|     13|        break;
 1929|  1.09k|      }
 1930|    225|      break;
 1931|  42.4k|    }
 1932|  41.5k|    break;
 1933|  41.5k|  case 6:	 // 6 strings to match.
  ------------------
  |  Branch (1933:3): [True: 13.1k, False: 135k]
  ------------------
 1934|  13.1k|    switch (Mnemonic[0]) {
 1935|  1.50k|    default: break;
  ------------------
  |  Branch (1935:5): [True: 1.50k, False: 11.6k]
  ------------------
 1936|  10.9k|    case 'f':	 // 1 string to match.
  ------------------
  |  Branch (1936:5): [True: 10.9k, False: 2.20k]
  ------------------
 1937|  10.9k|      if (memcmp(Mnemonic.data()+1, "comip", 5))
  ------------------
  |  Branch (1937:11): [True: 10.9k, False: 9]
  ------------------
 1938|  10.9k|        break;
 1939|      9|      Mnemonic = "fcompi";	 // "fcomip"
 1940|      9|      return;
 1941|    147|    case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1941:5): [True: 147, False: 13.0k]
  ------------------
 1942|    147|      if (memcmp(Mnemonic.data()+1, "oopnz", 5))
  ------------------
  |  Branch (1942:11): [True: 138, False: 9]
  ------------------
 1943|    138|        break;
 1944|      9|      Mnemonic = "loopne";	 // "loopnz"
 1945|      9|      return;
 1946|    549|    case 's':	 // 4 strings to match.
  ------------------
  |  Branch (1946:5): [True: 549, False: 12.6k]
  ------------------
 1947|    549|      if (memcmp(Mnemonic.data()+1, "etn", 3))
  ------------------
  |  Branch (1947:11): [True: 321, False: 228]
  ------------------
 1948|    321|        break;
 1949|    228|      switch (Mnemonic[4]) {
 1950|     18|      default: break;
  ------------------
  |  Branch (1950:7): [True: 18, False: 210]
  ------------------
 1951|     41|      case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1951:7): [True: 41, False: 187]
  ------------------
 1952|     41|        if (Mnemonic[5] != 'e')
  ------------------
  |  Branch (1952:13): [True: 13, False: 28]
  ------------------
 1953|     13|          break;
 1954|     28|        Mnemonic = "setb";	 // "setnae"
 1955|     28|        return;
 1956|    104|      case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1956:7): [True: 104, False: 124]
  ------------------
 1957|    104|        if (Mnemonic[5] != 'e')
  ------------------
  |  Branch (1957:13): [True: 13, False: 91]
  ------------------
 1958|     13|          break;
 1959|     91|        Mnemonic = "seta";	 // "setnbe"
 1960|     91|        return;
 1961|     22|      case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1961:7): [True: 22, False: 206]
  ------------------
 1962|     22|        if (Mnemonic[5] != 'e')
  ------------------
  |  Branch (1962:13): [True: 13, False: 9]
  ------------------
 1963|     13|          break;
 1964|      9|        Mnemonic = "setl";	 // "setnge"
 1965|      9|        return;
 1966|     43|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1966:7): [True: 43, False: 185]
  ------------------
 1967|     43|        if (Mnemonic[5] != 'e')
  ------------------
  |  Branch (1967:13): [True: 13, False: 30]
  ------------------
 1968|     13|          break;
 1969|     30|        Mnemonic = "setg";	 // "setnle"
 1970|     30|        return;
 1971|    228|      }
 1972|     70|      break;
 1973|  13.1k|    }
 1974|  13.0k|    break;
 1975|  13.0k|  case 7:	 // 1 string to match.
  ------------------
  |  Branch (1975:3): [True: 2.79k, False: 146k]
  ------------------
 1976|  2.79k|    if (memcmp(Mnemonic.data()+0, "fucomip", 7))
  ------------------
  |  Branch (1976:9): [True: 2.73k, False: 52]
  ------------------
 1977|  2.73k|      break;
 1978|     52|    Mnemonic = "fucompi";	 // "fucomip"
 1979|     52|    return;
 1980|   149k|  }
 1981|   149k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_110LessOpcodeclERKNS_10MatchEntryEN7llvm_ks9StringRefE:
 6371|  2.09M|    bool operator()(const MatchEntry &LHS, StringRef RHS) {
 6372|  2.09M|      return LHS.getMnemonic() < RHS;
 6373|  2.09M|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_110LessOpcodeclEN7llvm_ks9StringRefERKNS_10MatchEntryE:
 6374|  1.56M|    bool operator()(StringRef LHS, const MatchEntry &RHS) {
 6375|  1.56M|      return LHS < RHS.getMnemonic();
 6376|  1.56M|    }
X86AsmParser.cpp:_ZNK12_GLOBAL__N_110MatchEntry11getMnemonicEv:
 6363|  4.27M|    StringRef getMnemonic() const {
 6364|  4.27M|      return StringRef(MnemonicTable + Mnemonic + 1,
 6365|  4.27M|                       MnemonicTable[Mnemonic]);
 6366|  4.27M|    }
X86AsmParser.cpp:_ZL20validateOperandClassRN7llvm_ks18MCParsedAsmOperandEN12_GLOBAL__N_114MatchClassKindE:
 5487|   689k|static unsigned validateOperandClass(MCParsedAsmOperand &GOp, MatchClassKind Kind) {
 5488|   689k|  X86Operand &Operand = (X86Operand&)GOp;
 5489|   689k|  if (Kind == InvalidMatchClass)
  ------------------
  |  Branch (5489:7): [True: 8.65k, False: 681k]
  ------------------
 5490|  8.65k|    return MCTargetAsmParser::Match_InvalidOperand;
 5491|       |
 5492|   681k|  if (Operand.isToken())
  ------------------
  |  Branch (5492:7): [True: 8.17k, False: 673k]
  ------------------
 5493|  8.17k|    return isSubclass(matchTokenString(Operand.getToken()), Kind) ?
  ------------------
  |  Branch (5493:12): [True: 1.07k, False: 7.10k]
  ------------------
 5494|  1.07k|             MCTargetAsmParser::Match_Success :
 5495|  8.17k|             MCTargetAsmParser::Match_InvalidOperand;
 5496|       |
 5497|       |  //printf("-- validateOperandClass: Kind = %u\n", Kind);
 5498|       |  // 'AVX512RC' class
 5499|   673k|  if (Kind == MCK_AVX512RC) {
  ------------------
  |  Branch (5499:7): [True: 3, False: 673k]
  ------------------
 5500|      3|    if (Operand.isAVX512RC())
  ------------------
  |  Branch (5500:9): [True: 0, False: 3]
  ------------------
 5501|      0|      return MCTargetAsmParser::Match_Success;
 5502|      3|  }
 5503|       |
 5504|       |  // 'ImmSExti64i8' class
 5505|   673k|  if (Kind == MCK_ImmSExti64i8) {
  ------------------
  |  Branch (5505:7): [True: 1.19k, False: 671k]
  ------------------
 5506|  1.19k|    if (Operand.isImmSExti64i8())
  ------------------
  |  Branch (5506:9): [True: 234, False: 962]
  ------------------
 5507|    234|      return MCTargetAsmParser::Match_Success;
 5508|  1.19k|  }
 5509|       |
 5510|       |  // 'ImmSExti16i8' class
 5511|   672k|  if (Kind == MCK_ImmSExti16i8) {
  ------------------
  |  Branch (5511:7): [True: 828, False: 671k]
  ------------------
 5512|    828|    if (Operand.isImmSExti16i8())
  ------------------
  |  Branch (5512:9): [True: 228, False: 600]
  ------------------
 5513|    228|      return MCTargetAsmParser::Match_Success;
 5514|    828|  }
 5515|       |
 5516|       |  // 'ImmSExti32i8' class
 5517|   672k|  if (Kind == MCK_ImmSExti32i8) {
  ------------------
  |  Branch (5517:7): [True: 872, False: 671k]
  ------------------
 5518|    872|    if (Operand.isImmSExti32i8())
  ------------------
  |  Branch (5518:9): [True: 151, False: 721]
  ------------------
 5519|    151|      return MCTargetAsmParser::Match_Success;
 5520|    872|  }
 5521|       |
 5522|       |  // 'ImmSExti64i32' class
 5523|   672k|  if (Kind == MCK_ImmSExti64i32) {
  ------------------
  |  Branch (5523:7): [True: 1.05k, False: 671k]
  ------------------
 5524|  1.05k|    if (Operand.isImmSExti64i32())
  ------------------
  |  Branch (5524:9): [True: 168, False: 885]
  ------------------
 5525|    168|      return MCTargetAsmParser::Match_Success;
 5526|  1.05k|  }
 5527|       |
 5528|       |  // 'Imm' class
 5529|   672k|  if (Kind == MCK_Imm) {
  ------------------
  |  Branch (5529:7): [True: 18.6k, False: 653k]
  ------------------
 5530|  18.6k|    if (Operand.isImm())
  ------------------
  |  Branch (5530:9): [True: 7.12k, False: 11.5k]
  ------------------
 5531|  7.12k|      return MCTargetAsmParser::Match_Success;
 5532|  18.6k|  }
 5533|       |
 5534|       |  // 'ImmUnsignedi8' class
 5535|   665k|  if (Kind == MCK_ImmUnsignedi8) {
  ------------------
  |  Branch (5535:7): [True: 893, False: 664k]
  ------------------
 5536|    893|    if (Operand.isImmUnsignedi8())
  ------------------
  |  Branch (5536:9): [True: 126, False: 767]
  ------------------
 5537|    126|      return MCTargetAsmParser::Match_Success;
 5538|    893|  }
 5539|       |
 5540|       |  // 'GR32orGR64' class
 5541|   665k|  if (Kind == MCK_GR32orGR64) {
  ------------------
  |  Branch (5541:7): [True: 0, False: 665k]
  ------------------
 5542|      0|    if (Operand.isGR32orGR64())
  ------------------
  |  Branch (5542:9): [True: 0, False: 0]
  ------------------
 5543|      0|      return MCTargetAsmParser::Match_Success;
 5544|      0|  }
 5545|       |
 5546|       |  // 'AbsMem16' class
 5547|   665k|  if (Kind == MCK_AbsMem16) {
  ------------------
  |  Branch (5547:7): [True: 0, False: 665k]
  ------------------
 5548|      0|    if (Operand.isAbsMem16())
  ------------------
  |  Branch (5548:9): [True: 0, False: 0]
  ------------------
 5549|      0|      return MCTargetAsmParser::Match_Success;
 5550|      0|  }
 5551|       |
 5552|       |  // 'DstIdx16' class
 5553|   665k|  if (Kind == MCK_DstIdx16) {
  ------------------
  |  Branch (5553:7): [True: 5.63k, False: 659k]
  ------------------
 5554|  5.63k|    if (Operand.isDstIdx16())
  ------------------
  |  Branch (5554:9): [True: 741, False: 4.88k]
  ------------------
 5555|    741|      return MCTargetAsmParser::Match_Success;
 5556|  5.63k|  }
 5557|       |
 5558|       |  // 'DstIdx32' class
 5559|   664k|  if (Kind == MCK_DstIdx32) {
  ------------------
  |  Branch (5559:7): [True: 2.44k, False: 661k]
  ------------------
 5560|  2.44k|    if (Operand.isDstIdx32())
  ------------------
  |  Branch (5560:9): [True: 259, False: 2.18k]
  ------------------
 5561|    259|      return MCTargetAsmParser::Match_Success;
 5562|  2.44k|  }
 5563|       |
 5564|       |  // 'DstIdx64' class
 5565|   664k|  if (Kind == MCK_DstIdx64) {
  ------------------
  |  Branch (5565:7): [True: 26.0k, False: 638k]
  ------------------
 5566|  26.0k|    if (Operand.isDstIdx64())
  ------------------
  |  Branch (5566:9): [True: 25.3k, False: 636]
  ------------------
 5567|  25.3k|      return MCTargetAsmParser::Match_Success;
 5568|  26.0k|  }
 5569|       |
 5570|       |  // 'DstIdx8' class
 5571|   638k|  if (Kind == MCK_DstIdx8) {
  ------------------
  |  Branch (5571:7): [True: 2.37k, False: 636k]
  ------------------
 5572|  2.37k|    if (Operand.isDstIdx8())
  ------------------
  |  Branch (5572:9): [True: 427, False: 1.94k]
  ------------------
 5573|    427|      return MCTargetAsmParser::Match_Success;
 5574|  2.37k|  }
 5575|       |
 5576|       |  // 'MemOffs16_16' class
 5577|   638k|  if (Kind == MCK_MemOffs16_16) {
  ------------------
  |  Branch (5577:7): [True: 9.24k, False: 628k]
  ------------------
 5578|  9.24k|    if (Operand.isMemOffs16_16())
  ------------------
  |  Branch (5578:9): [True: 555, False: 8.69k]
  ------------------
 5579|    555|      return MCTargetAsmParser::Match_Success;
 5580|  9.24k|  }
 5581|       |
 5582|       |  // 'MemOffs16_32' class
 5583|   637k|  if (Kind == MCK_MemOffs16_32) {
  ------------------
  |  Branch (5583:7): [True: 4.89k, False: 632k]
  ------------------
 5584|  4.89k|    if (Operand.isMemOffs16_32())
  ------------------
  |  Branch (5584:9): [True: 17, False: 4.87k]
  ------------------
 5585|     17|      return MCTargetAsmParser::Match_Success;
 5586|  4.89k|  }
 5587|       |
 5588|       |  // 'MemOffs16_8' class
 5589|   637k|  if (Kind == MCK_MemOffs16_8) {
  ------------------
  |  Branch (5589:7): [True: 5.10k, False: 632k]
  ------------------
 5590|  5.10k|    if (Operand.isMemOffs16_8())
  ------------------
  |  Branch (5590:9): [True: 32, False: 5.07k]
  ------------------
 5591|     32|      return MCTargetAsmParser::Match_Success;
 5592|  5.10k|  }
 5593|       |
 5594|       |  // 'MemOffs32_16' class
 5595|   637k|  if (Kind == MCK_MemOffs32_16) {
  ------------------
  |  Branch (5595:7): [True: 8.71k, False: 628k]
  ------------------
 5596|  8.71k|    if (Operand.isMemOffs32_16())
  ------------------
  |  Branch (5596:9): [True: 20, False: 8.69k]
  ------------------
 5597|     20|      return MCTargetAsmParser::Match_Success;
 5598|  8.71k|  }
 5599|       |
 5600|       |  // 'MemOffs32_32' class
 5601|   637k|  if (Kind == MCK_MemOffs32_32) {
  ------------------
  |  Branch (5601:7): [True: 4.89k, False: 632k]
  ------------------
 5602|  4.89k|    if (Operand.isMemOffs32_32())
  ------------------
  |  Branch (5602:9): [True: 10, False: 4.88k]
  ------------------
 5603|     10|      return MCTargetAsmParser::Match_Success;
 5604|  4.89k|  }
 5605|       |
 5606|       |  // 'MemOffs32_64' class
 5607|   637k|  if (Kind == MCK_MemOffs32_64) {
  ------------------
  |  Branch (5607:7): [True: 4.88k, False: 632k]
  ------------------
 5608|  4.88k|    if (Operand.isMemOffs32_64())
  ------------------
  |  Branch (5608:9): [True: 10, False: 4.87k]
  ------------------
 5609|     10|      return MCTargetAsmParser::Match_Success;
 5610|  4.88k|  }
 5611|       |
 5612|       |  // 'MemOffs32_8' class
 5613|   637k|  if (Kind == MCK_MemOffs32_8) {
  ------------------
  |  Branch (5613:7): [True: 5.10k, False: 632k]
  ------------------
 5614|  5.10k|    if (Operand.isMemOffs32_8())
  ------------------
  |  Branch (5614:9): [True: 19, False: 5.08k]
  ------------------
 5615|     19|      return MCTargetAsmParser::Match_Success;
 5616|  5.10k|  }
 5617|       |
 5618|       |  // 'MemOffs64_16' class
 5619|   637k|  if (Kind == MCK_MemOffs64_16) {
  ------------------
  |  Branch (5619:7): [True: 8.71k, False: 628k]
  ------------------
 5620|  8.71k|    if (Operand.isMemOffs64_16())
  ------------------
  |  Branch (5620:9): [True: 28, False: 8.68k]
  ------------------
 5621|     28|      return MCTargetAsmParser::Match_Success;
 5622|  8.71k|  }
 5623|       |
 5624|       |  // 'MemOffs64_32' class
 5625|   637k|  if (Kind == MCK_MemOffs64_32) {
  ------------------
  |  Branch (5625:7): [True: 4.89k, False: 632k]
  ------------------
 5626|  4.89k|    if (Operand.isMemOffs64_32())
  ------------------
  |  Branch (5626:9): [True: 11, False: 4.87k]
  ------------------
 5627|     11|      return MCTargetAsmParser::Match_Success;
 5628|  4.89k|  }
 5629|       |
 5630|       |  // 'MemOffs64_64' class
 5631|   637k|  if (Kind == MCK_MemOffs64_64) {
  ------------------
  |  Branch (5631:7): [True: 4.88k, False: 632k]
  ------------------
 5632|  4.88k|    if (Operand.isMemOffs64_64())
  ------------------
  |  Branch (5632:9): [True: 11, False: 4.87k]
  ------------------
 5633|     11|      return MCTargetAsmParser::Match_Success;
 5634|  4.88k|  }
 5635|       |
 5636|       |  // 'MemOffs64_8' class
 5637|   637k|  if (Kind == MCK_MemOffs64_8) {
  ------------------
  |  Branch (5637:7): [True: 5.09k, False: 632k]
  ------------------
 5638|  5.09k|    if (Operand.isMemOffs64_8())
  ------------------
  |  Branch (5638:9): [True: 16, False: 5.07k]
  ------------------
 5639|     16|      return MCTargetAsmParser::Match_Success;
 5640|  5.09k|  }
 5641|       |
 5642|       |  // 'SrcIdx16' class
 5643|   637k|  if (Kind == MCK_SrcIdx16) {
  ------------------
  |  Branch (5643:7): [True: 2.23k, False: 635k]
  ------------------
 5644|  2.23k|    if (Operand.isSrcIdx16())
  ------------------
  |  Branch (5644:9): [True: 1.28k, False: 957]
  ------------------
 5645|  1.28k|      return MCTargetAsmParser::Match_Success;
 5646|  2.23k|  }
 5647|       |
 5648|       |  // 'SrcIdx32' class
 5649|   636k|  if (Kind == MCK_SrcIdx32) {
  ------------------
  |  Branch (5649:7): [True: 4.05k, False: 632k]
  ------------------
 5650|  4.05k|    if (Operand.isSrcIdx32())
  ------------------
  |  Branch (5650:9): [True: 1.55k, False: 2.50k]
  ------------------
 5651|  1.55k|      return MCTargetAsmParser::Match_Success;
 5652|  4.05k|  }
 5653|       |
 5654|       |  // 'SrcIdx64' class
 5655|   634k|  if (Kind == MCK_SrcIdx64) {
  ------------------
  |  Branch (5655:7): [True: 25.8k, False: 608k]
  ------------------
 5656|  25.8k|    if (Operand.isSrcIdx64())
  ------------------
  |  Branch (5656:9): [True: 4.08k, False: 21.7k]
  ------------------
 5657|  4.08k|      return MCTargetAsmParser::Match_Success;
 5658|  25.8k|  }
 5659|       |
 5660|       |  // 'SrcIdx8' class
 5661|   630k|  if (Kind == MCK_SrcIdx8) {
  ------------------
  |  Branch (5661:7): [True: 3.70k, False: 626k]
  ------------------
 5662|  3.70k|    if (Operand.isSrcIdx8())
  ------------------
  |  Branch (5662:9): [True: 1.89k, False: 1.80k]
  ------------------
 5663|  1.89k|      return MCTargetAsmParser::Match_Success;
 5664|  3.70k|  }
 5665|       |
 5666|       |  // 'AbsMem' class
 5667|   628k|  if (Kind == MCK_AbsMem) {
  ------------------
  |  Branch (5667:7): [True: 67.8k, False: 560k]
  ------------------
 5668|  67.8k|    if (Operand.isAbsMem())
  ------------------
  |  Branch (5668:9): [True: 60.1k, False: 7.64k]
  ------------------
 5669|  60.1k|      return MCTargetAsmParser::Match_Success;
 5670|  67.8k|  }
 5671|       |
 5672|       |  // 'Mem128' class
 5673|   568k|  if (Kind == MCK_Mem128) {
  ------------------
  |  Branch (5673:7): [True: 104, False: 568k]
  ------------------
 5674|    104|    if (Operand.isMem128())
  ------------------
  |  Branch (5674:9): [True: 32, False: 72]
  ------------------
 5675|     32|      return MCTargetAsmParser::Match_Success;
 5676|    104|  }
 5677|       |
 5678|       |  // 'Mem16' class
 5679|   568k|  if (Kind == MCK_Mem16) {
  ------------------
  |  Branch (5679:7): [True: 55.1k, False: 513k]
  ------------------
 5680|  55.1k|    if (Operand.isMem16())
  ------------------
  |  Branch (5680:9): [True: 4.14k, False: 50.9k]
  ------------------
 5681|  4.14k|      return MCTargetAsmParser::Match_Success;
 5682|  55.1k|  }
 5683|       |
 5684|       |  // 'Mem256' class
 5685|   564k|  if (Kind == MCK_Mem256) {
  ------------------
  |  Branch (5685:7): [True: 96, False: 564k]
  ------------------
 5686|     96|    if (Operand.isMem256())
  ------------------
  |  Branch (5686:9): [True: 28, False: 68]
  ------------------
 5687|     28|      return MCTargetAsmParser::Match_Success;
 5688|     96|  }
 5689|       |
 5690|       |  // 'Mem32' class
 5691|   564k|  if (Kind == MCK_Mem32) {
  ------------------
  |  Branch (5691:7): [True: 18.1k, False: 546k]
  ------------------
 5692|  18.1k|    if (Operand.isMem32())
  ------------------
  |  Branch (5692:9): [True: 1.43k, False: 16.6k]
  ------------------
 5693|  1.43k|      return MCTargetAsmParser::Match_Success;
 5694|  18.1k|  }
 5695|       |
 5696|       |  // 'Mem512' class
 5697|   562k|  if (Kind == MCK_Mem512) {
  ------------------
  |  Branch (5697:7): [True: 60, False: 562k]
  ------------------
 5698|     60|    if (Operand.isMem512())
  ------------------
  |  Branch (5698:9): [True: 19, False: 41]
  ------------------
 5699|     19|      return MCTargetAsmParser::Match_Success;
 5700|     60|  }
 5701|       |
 5702|       |  // 'Mem64' class
 5703|   562k|  if (Kind == MCK_Mem64) {
  ------------------
  |  Branch (5703:7): [True: 16.9k, False: 545k]
  ------------------
 5704|  16.9k|    if (Operand.isMem64())
  ------------------
  |  Branch (5704:9): [True: 1.28k, False: 15.6k]
  ------------------
 5705|  1.28k|      return MCTargetAsmParser::Match_Success;
 5706|  16.9k|  }
 5707|       |
 5708|       |  // 'Mem80' class
 5709|   561k|  if (Kind == MCK_Mem80) {
  ------------------
  |  Branch (5709:7): [True: 24, False: 561k]
  ------------------
 5710|     24|    if (Operand.isMem80())
  ------------------
  |  Branch (5710:9): [True: 10, False: 14]
  ------------------
 5711|     10|      return MCTargetAsmParser::Match_Success;
 5712|     24|  }
 5713|       |
 5714|       |  // 'Mem8' class
 5715|   561k|  if (Kind == MCK_Mem8) {
  ------------------
  |  Branch (5715:7): [True: 16.4k, False: 545k]
  ------------------
 5716|  16.4k|    if (Operand.isMem8())
  ------------------
  |  Branch (5716:9): [True: 1.05k, False: 15.3k]
  ------------------
 5717|  1.05k|      return MCTargetAsmParser::Match_Success;
 5718|  16.4k|  }
 5719|       |
 5720|       |  // 'MemVX32' class
 5721|   560k|  if (Kind == MCK_MemVX32) {
  ------------------
  |  Branch (5721:7): [True: 0, False: 560k]
  ------------------
 5722|      0|    if (Operand.isMemVX32())
  ------------------
  |  Branch (5722:9): [True: 0, False: 0]
  ------------------
 5723|      0|      return MCTargetAsmParser::Match_Success;
 5724|      0|  }
 5725|       |
 5726|       |  // 'MemVX32X' class
 5727|   560k|  if (Kind == MCK_MemVX32X) {
  ------------------
  |  Branch (5727:7): [True: 0, False: 560k]
  ------------------
 5728|      0|    if (Operand.isMemVX32X())
  ------------------
  |  Branch (5728:9): [True: 0, False: 0]
  ------------------
 5729|      0|      return MCTargetAsmParser::Match_Success;
 5730|      0|  }
 5731|       |
 5732|       |  // 'MemVX64' class
 5733|   560k|  if (Kind == MCK_MemVX64) {
  ------------------
  |  Branch (5733:7): [True: 0, False: 560k]
  ------------------
 5734|      0|    if (Operand.isMemVX64())
  ------------------
  |  Branch (5734:9): [True: 0, False: 0]
  ------------------
 5735|      0|      return MCTargetAsmParser::Match_Success;
 5736|      0|  }
 5737|       |
 5738|       |  // 'MemVX64X' class
 5739|   560k|  if (Kind == MCK_MemVX64X) {
  ------------------
  |  Branch (5739:7): [True: 0, False: 560k]
  ------------------
 5740|      0|    if (Operand.isMemVX64X())
  ------------------
  |  Branch (5740:9): [True: 0, False: 0]
  ------------------
 5741|      0|      return MCTargetAsmParser::Match_Success;
 5742|      0|  }
 5743|       |
 5744|       |  // 'MemVY32' class
 5745|   560k|  if (Kind == MCK_MemVY32) {
  ------------------
  |  Branch (5745:7): [True: 0, False: 560k]
  ------------------
 5746|      0|    if (Operand.isMemVY32())
  ------------------
  |  Branch (5746:9): [True: 0, False: 0]
  ------------------
 5747|      0|      return MCTargetAsmParser::Match_Success;
 5748|      0|  }
 5749|       |
 5750|       |  // 'MemVY32X' class
 5751|   560k|  if (Kind == MCK_MemVY32X) {
  ------------------
  |  Branch (5751:7): [True: 0, False: 560k]
  ------------------
 5752|      0|    if (Operand.isMemVY32X())
  ------------------
  |  Branch (5752:9): [True: 0, False: 0]
  ------------------
 5753|      0|      return MCTargetAsmParser::Match_Success;
 5754|      0|  }
 5755|       |
 5756|       |  // 'MemVY64' class
 5757|   560k|  if (Kind == MCK_MemVY64) {
  ------------------
  |  Branch (5757:7): [True: 0, False: 560k]
  ------------------
 5758|      0|    if (Operand.isMemVY64())
  ------------------
  |  Branch (5758:9): [True: 0, False: 0]
  ------------------
 5759|      0|      return MCTargetAsmParser::Match_Success;
 5760|      0|  }
 5761|       |
 5762|       |  // 'MemVY64X' class
 5763|   560k|  if (Kind == MCK_MemVY64X) {
  ------------------
  |  Branch (5763:7): [True: 0, False: 560k]
  ------------------
 5764|      0|    if (Operand.isMemVY64X())
  ------------------
  |  Branch (5764:9): [True: 0, False: 0]
  ------------------
 5765|      0|      return MCTargetAsmParser::Match_Success;
 5766|      0|  }
 5767|       |
 5768|       |  // 'MemVZ32' class
 5769|   560k|  if (Kind == MCK_MemVZ32) {
  ------------------
  |  Branch (5769:7): [True: 0, False: 560k]
  ------------------
 5770|      0|    if (Operand.isMemVZ32())
  ------------------
  |  Branch (5770:9): [True: 0, False: 0]
  ------------------
 5771|      0|      return MCTargetAsmParser::Match_Success;
 5772|      0|  }
 5773|       |
 5774|       |  // 'MemVZ64' class
 5775|   560k|  if (Kind == MCK_MemVZ64) {
  ------------------
  |  Branch (5775:7): [True: 0, False: 560k]
  ------------------
 5776|      0|    if (Operand.isMemVZ64())
  ------------------
  |  Branch (5776:9): [True: 0, False: 0]
  ------------------
 5777|      0|      return MCTargetAsmParser::Match_Success;
 5778|      0|  }
 5779|       |
 5780|       |  // 'Mem' class
 5781|   560k|  if (Kind == MCK_Mem) {
  ------------------
  |  Branch (5781:7): [True: 1.74k, False: 558k]
  ------------------
 5782|  1.74k|    if (Operand.isMem())
  ------------------
  |  Branch (5782:9): [True: 1.58k, False: 161]
  ------------------
 5783|  1.58k|      return MCTargetAsmParser::Match_Success;
 5784|  1.74k|  }
 5785|       |
 5786|   558k|  if (Operand.isReg()) {
  ------------------
  |  Branch (5786:7): [True: 372k, False: 186k]
  ------------------
 5787|   372k|    MatchClassKind OpKind;
 5788|   372k|    switch (Operand.getReg()) {
 5789|     17|    default: OpKind = InvalidMatchClass; break;
  ------------------
  |  Branch (5789:5): [True: 17, False: 372k]
  ------------------
 5790|  13.1k|    case X86::AL: OpKind = MCK_AL; break;
  ------------------
  |  Branch (5790:5): [True: 13.1k, False: 359k]
  ------------------
 5791|    596|    case X86::DL: OpKind = MCK_GR8_ABCD_L; break;
  ------------------
  |  Branch (5791:5): [True: 596, False: 372k]
  ------------------
 5792|    685|    case X86::CL: OpKind = MCK_CL; break;
  ------------------
  |  Branch (5792:5): [True: 685, False: 372k]
  ------------------
 5793|  5.58k|    case X86::BL: OpKind = MCK_GR8_ABCD_L; break;
  ------------------
  |  Branch (5793:5): [True: 5.58k, False: 367k]
  ------------------
 5794|  4.77k|    case X86::AH: OpKind = MCK_GR8_ABCD_H; break;
  ------------------
  |  Branch (5794:5): [True: 4.77k, False: 367k]
  ------------------
 5795|  10.0k|    case X86::DH: OpKind = MCK_GR8_ABCD_H; break;
  ------------------
  |  Branch (5795:5): [True: 10.0k, False: 362k]
  ------------------
 5796|    662|    case X86::CH: OpKind = MCK_GR8_ABCD_H; break;
  ------------------
  |  Branch (5796:5): [True: 662, False: 372k]
  ------------------
 5797|    900|    case X86::BH: OpKind = MCK_GR8_ABCD_H; break;
  ------------------
  |  Branch (5797:5): [True: 900, False: 371k]
  ------------------
 5798|      0|    case X86::SIL: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5798:5): [True: 0, False: 372k]
  ------------------
 5799|      0|    case X86::DIL: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5799:5): [True: 0, False: 372k]
  ------------------
 5800|      0|    case X86::BPL: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5800:5): [True: 0, False: 372k]
  ------------------
 5801|      0|    case X86::SPL: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5801:5): [True: 0, False: 372k]
  ------------------
 5802|      0|    case X86::R8B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5802:5): [True: 0, False: 372k]
  ------------------
 5803|      0|    case X86::R9B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5803:5): [True: 0, False: 372k]
  ------------------
 5804|      0|    case X86::R10B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5804:5): [True: 0, False: 372k]
  ------------------
 5805|      0|    case X86::R11B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5805:5): [True: 0, False: 372k]
  ------------------
 5806|      0|    case X86::R12B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5806:5): [True: 0, False: 372k]
  ------------------
 5807|      0|    case X86::R13B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5807:5): [True: 0, False: 372k]
  ------------------
 5808|      0|    case X86::R14B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5808:5): [True: 0, False: 372k]
  ------------------
 5809|      0|    case X86::R15B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5809:5): [True: 0, False: 372k]
  ------------------
 5810|   252k|    case X86::AX: OpKind = MCK_AX; break;
  ------------------
  |  Branch (5810:5): [True: 252k, False: 120k]
  ------------------
 5811|  8.73k|    case X86::DX: OpKind = MCK_DX; break;
  ------------------
  |  Branch (5811:5): [True: 8.73k, False: 363k]
  ------------------
 5812|  4.48k|    case X86::CX: OpKind = MCK_GR16_ABCD; break;
  ------------------
  |  Branch (5812:5): [True: 4.48k, False: 368k]
  ------------------
 5813|    925|    case X86::BX: OpKind = MCK_GR16_ABCD; break;
  ------------------
  |  Branch (5813:5): [True: 925, False: 371k]
  ------------------
 5814|     71|    case X86::SI: OpKind = MCK_GR16_NOREX; break;
  ------------------
  |  Branch (5814:5): [True: 71, False: 372k]
  ------------------
 5815|     81|    case X86::DI: OpKind = MCK_GR16_NOREX; break;
  ------------------
  |  Branch (5815:5): [True: 81, False: 372k]
  ------------------
 5816|    312|    case X86::BP: OpKind = MCK_GR16_NOREX; break;
  ------------------
  |  Branch (5816:5): [True: 312, False: 372k]
  ------------------
 5817|    879|    case X86::SP: OpKind = MCK_GR16_NOREX; break;
  ------------------
  |  Branch (5817:5): [True: 879, False: 371k]
  ------------------
 5818|      0|    case X86::R8W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5818:5): [True: 0, False: 372k]
  ------------------
 5819|      0|    case X86::R9W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5819:5): [True: 0, False: 372k]
  ------------------
 5820|      0|    case X86::R10W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5820:5): [True: 0, False: 372k]
  ------------------
 5821|      0|    case X86::R11W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5821:5): [True: 0, False: 372k]
  ------------------
 5822|      0|    case X86::R12W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5822:5): [True: 0, False: 372k]
  ------------------
 5823|      0|    case X86::R13W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5823:5): [True: 0, False: 372k]
  ------------------
 5824|      0|    case X86::R14W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5824:5): [True: 0, False: 372k]
  ------------------
 5825|      0|    case X86::R15W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5825:5): [True: 0, False: 372k]
  ------------------
 5826|  6.32k|    case X86::EAX: OpKind = MCK_EAX; break;
  ------------------
  |  Branch (5826:5): [True: 6.32k, False: 366k]
  ------------------
 5827|    718|    case X86::EDX: OpKind = MCK_EDX; break;
  ------------------
  |  Branch (5827:5): [True: 718, False: 372k]
  ------------------
 5828|  4.36k|    case X86::ECX: OpKind = MCK_ECX; break;
  ------------------
  |  Branch (5828:5): [True: 4.36k, False: 368k]
  ------------------
 5829|  1.23k|    case X86::EBX: OpKind = MCK_EBX; break;
  ------------------
  |  Branch (5829:5): [True: 1.23k, False: 371k]
  ------------------
 5830|    359|    case X86::ESI: OpKind = MCK_Reg22; break;
  ------------------
  |  Branch (5830:5): [True: 359, False: 372k]
  ------------------
 5831|    105|    case X86::EDI: OpKind = MCK_Reg22; break;
  ------------------
  |  Branch (5831:5): [True: 105, False: 372k]
  ------------------
 5832|    625|    case X86::EBP: OpKind = MCK_Reg22; break;
  ------------------
  |  Branch (5832:5): [True: 625, False: 372k]
  ------------------
 5833|    946|    case X86::ESP: OpKind = MCK_Reg23; break;
  ------------------
  |  Branch (5833:5): [True: 946, False: 371k]
  ------------------
 5834|    338|    case X86::R8D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5834:5): [True: 338, False: 372k]
  ------------------
 5835|    492|    case X86::R9D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5835:5): [True: 492, False: 372k]
  ------------------
 5836|      0|    case X86::R10D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5836:5): [True: 0, False: 372k]
  ------------------
 5837|     33|    case X86::R11D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5837:5): [True: 33, False: 372k]
  ------------------
 5838|     43|    case X86::R12D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5838:5): [True: 43, False: 372k]
  ------------------
 5839|     50|    case X86::R13D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5839:5): [True: 50, False: 372k]
  ------------------
 5840|     88|    case X86::R14D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5840:5): [True: 88, False: 372k]
  ------------------
 5841|      0|    case X86::R15D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5841:5): [True: 0, False: 372k]
  ------------------
 5842|  1.48k|    case X86::RAX: OpKind = MCK_RAX; break;
  ------------------
  |  Branch (5842:5): [True: 1.48k, False: 371k]
  ------------------
 5843|    364|    case X86::RDX: OpKind = MCK_RDX; break;
  ------------------
  |  Branch (5843:5): [True: 364, False: 372k]
  ------------------
 5844|    370|    case X86::RCX: OpKind = MCK_RCX; break;
  ------------------
  |  Branch (5844:5): [True: 370, False: 372k]
  ------------------
 5845|    427|    case X86::RBX: OpKind = MCK_RBX; break;
  ------------------
  |  Branch (5845:5): [True: 427, False: 372k]
  ------------------
 5846|    314|    case X86::RSI: OpKind = MCK_Reg54; break;
  ------------------
  |  Branch (5846:5): [True: 314, False: 372k]
  ------------------
 5847|     55|    case X86::RDI: OpKind = MCK_Reg54; break;
  ------------------
  |  Branch (5847:5): [True: 55, False: 372k]
  ------------------
 5848|    356|    case X86::RBP: OpKind = MCK_Reg50; break;
  ------------------
  |  Branch (5848:5): [True: 356, False: 372k]
  ------------------
 5849|  1.73k|    case X86::RSP: OpKind = MCK_Reg51; break;
  ------------------
  |  Branch (5849:5): [True: 1.73k, False: 370k]
  ------------------
 5850|     28|    case X86::R8: OpKind = MCK_Reg57; break;
  ------------------
  |  Branch (5850:5): [True: 28, False: 372k]
  ------------------
 5851|    520|    case X86::R9: OpKind = MCK_Reg57; break;
  ------------------
  |  Branch (5851:5): [True: 520, False: 372k]
  ------------------
 5852|  2.61k|    case X86::R10: OpKind = MCK_Reg56; break;
  ------------------
  |  Branch (5852:5): [True: 2.61k, False: 370k]
  ------------------
 5853|     69|    case X86::R11: OpKind = MCK_Reg57; break;
  ------------------
  |  Branch (5853:5): [True: 69, False: 372k]
  ------------------
 5854|    611|    case X86::R12: OpKind = MCK_Reg53; break;
  ------------------
  |  Branch (5854:5): [True: 611, False: 372k]
  ------------------
 5855|  2.51k|    case X86::R13: OpKind = MCK_Reg53; break;
  ------------------
  |  Branch (5855:5): [True: 2.51k, False: 370k]
  ------------------
 5856|  6.99k|    case X86::R14: OpKind = MCK_Reg53; break;
  ------------------
  |  Branch (5856:5): [True: 6.99k, False: 365k]
  ------------------
 5857|  2.82k|    case X86::R15: OpKind = MCK_Reg53; break;
  ------------------
  |  Branch (5857:5): [True: 2.82k, False: 369k]
  ------------------
 5858|      0|    case X86::RIP: OpKind = MCK_Reg46; break;
  ------------------
  |  Branch (5858:5): [True: 0, False: 372k]
  ------------------
 5859|      0|    case X86::MM0: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5859:5): [True: 0, False: 372k]
  ------------------
 5860|      0|    case X86::MM1: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5860:5): [True: 0, False: 372k]
  ------------------
 5861|      2|    case X86::MM2: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5861:5): [True: 2, False: 372k]
  ------------------
 5862|     14|    case X86::MM3: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5862:5): [True: 14, False: 372k]
  ------------------
 5863|      6|    case X86::MM4: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5863:5): [True: 6, False: 372k]
  ------------------
 5864|     32|    case X86::MM5: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5864:5): [True: 32, False: 372k]
  ------------------
 5865|     14|    case X86::MM6: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5865:5): [True: 14, False: 372k]
  ------------------
 5866|      8|    case X86::MM7: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5866:5): [True: 8, False: 372k]
  ------------------
 5867|      1|    case X86::FP0: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5867:5): [True: 1, False: 372k]
  ------------------
 5868|      0|    case X86::FP1: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5868:5): [True: 0, False: 372k]
  ------------------
 5869|      0|    case X86::FP2: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5869:5): [True: 0, False: 372k]
  ------------------
 5870|      0|    case X86::FP3: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5870:5): [True: 0, False: 372k]
  ------------------
 5871|      1|    case X86::FP4: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5871:5): [True: 1, False: 372k]
  ------------------
 5872|      0|    case X86::FP5: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5872:5): [True: 0, False: 372k]
  ------------------
 5873|      0|    case X86::FP6: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5873:5): [True: 0, False: 372k]
  ------------------
 5874|     73|    case X86::XMM0: OpKind = MCK_XMM0; break;
  ------------------
  |  Branch (5874:5): [True: 73, False: 372k]
  ------------------
 5875|      0|    case X86::XMM1: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5875:5): [True: 0, False: 372k]
  ------------------
 5876|      6|    case X86::XMM2: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5876:5): [True: 6, False: 372k]
  ------------------
 5877|      0|    case X86::XMM3: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5877:5): [True: 0, False: 372k]
  ------------------
 5878|      6|    case X86::XMM4: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5878:5): [True: 6, False: 372k]
  ------------------
 5879|     57|    case X86::XMM5: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5879:5): [True: 57, False: 372k]
  ------------------
 5880|      6|    case X86::XMM6: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5880:5): [True: 6, False: 372k]
  ------------------
 5881|     13|    case X86::XMM7: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5881:5): [True: 13, False: 372k]
  ------------------
 5882|      0|    case X86::XMM8: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5882:5): [True: 0, False: 372k]
  ------------------
 5883|      0|    case X86::XMM9: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5883:5): [True: 0, False: 372k]
  ------------------
 5884|      0|    case X86::XMM10: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5884:5): [True: 0, False: 372k]
  ------------------
 5885|      0|    case X86::XMM11: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5885:5): [True: 0, False: 372k]
  ------------------
 5886|      0|    case X86::XMM12: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5886:5): [True: 0, False: 372k]
  ------------------
 5887|      0|    case X86::XMM13: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5887:5): [True: 0, False: 372k]
  ------------------
 5888|      0|    case X86::XMM14: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5888:5): [True: 0, False: 372k]
  ------------------
 5889|      0|    case X86::XMM15: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5889:5): [True: 0, False: 372k]
  ------------------
 5890|      0|    case X86::XMM16: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5890:5): [True: 0, False: 372k]
  ------------------
 5891|      0|    case X86::XMM17: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5891:5): [True: 0, False: 372k]
  ------------------
 5892|      0|    case X86::XMM18: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5892:5): [True: 0, False: 372k]
  ------------------
 5893|      0|    case X86::XMM19: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5893:5): [True: 0, False: 372k]
  ------------------
 5894|      0|    case X86::XMM20: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5894:5): [True: 0, False: 372k]
  ------------------
 5895|      0|    case X86::XMM21: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5895:5): [True: 0, False: 372k]
  ------------------
 5896|      0|    case X86::XMM22: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5896:5): [True: 0, False: 372k]
  ------------------
 5897|      0|    case X86::XMM23: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5897:5): [True: 0, False: 372k]
  ------------------
 5898|      0|    case X86::XMM24: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5898:5): [True: 0, False: 372k]
  ------------------
 5899|      0|    case X86::XMM25: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5899:5): [True: 0, False: 372k]
  ------------------
 5900|      0|    case X86::XMM26: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5900:5): [True: 0, False: 372k]
  ------------------
 5901|      0|    case X86::XMM27: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5901:5): [True: 0, False: 372k]
  ------------------
 5902|      0|    case X86::XMM28: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5902:5): [True: 0, False: 372k]
  ------------------
 5903|      0|    case X86::XMM29: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5903:5): [True: 0, False: 372k]
  ------------------
 5904|      0|    case X86::XMM30: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5904:5): [True: 0, False: 372k]
  ------------------
 5905|      0|    case X86::XMM31: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5905:5): [True: 0, False: 372k]
  ------------------
 5906|     13|    case X86::YMM0: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5906:5): [True: 13, False: 372k]
  ------------------
 5907|     65|    case X86::YMM1: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5907:5): [True: 65, False: 372k]
  ------------------
 5908|     71|    case X86::YMM2: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5908:5): [True: 71, False: 372k]
  ------------------
 5909|      0|    case X86::YMM3: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5909:5): [True: 0, False: 372k]
  ------------------
 5910|     18|    case X86::YMM4: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5910:5): [True: 18, False: 372k]
  ------------------
 5911|      8|    case X86::YMM5: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5911:5): [True: 8, False: 372k]
  ------------------
 5912|      1|    case X86::YMM6: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5912:5): [True: 1, False: 372k]
  ------------------
 5913|     11|    case X86::YMM7: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5913:5): [True: 11, False: 372k]
  ------------------
 5914|      0|    case X86::YMM8: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5914:5): [True: 0, False: 372k]
  ------------------
 5915|      0|    case X86::YMM9: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5915:5): [True: 0, False: 372k]
  ------------------
 5916|      0|    case X86::YMM10: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5916:5): [True: 0, False: 372k]
  ------------------
 5917|      0|    case X86::YMM11: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5917:5): [True: 0, False: 372k]
  ------------------
 5918|      0|    case X86::YMM12: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5918:5): [True: 0, False: 372k]
  ------------------
 5919|      0|    case X86::YMM13: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5919:5): [True: 0, False: 372k]
  ------------------
 5920|      0|    case X86::YMM14: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5920:5): [True: 0, False: 372k]
  ------------------
 5921|      0|    case X86::YMM15: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5921:5): [True: 0, False: 372k]
  ------------------
 5922|      0|    case X86::YMM16: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5922:5): [True: 0, False: 372k]
  ------------------
 5923|      0|    case X86::YMM17: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5923:5): [True: 0, False: 372k]
  ------------------
 5924|      0|    case X86::YMM18: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5924:5): [True: 0, False: 372k]
  ------------------
 5925|      0|    case X86::YMM19: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5925:5): [True: 0, False: 372k]
  ------------------
 5926|      0|    case X86::YMM20: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5926:5): [True: 0, False: 372k]
  ------------------
 5927|      0|    case X86::YMM21: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5927:5): [True: 0, False: 372k]
  ------------------
 5928|      0|    case X86::YMM22: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5928:5): [True: 0, False: 372k]
  ------------------
 5929|      0|    case X86::YMM23: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5929:5): [True: 0, False: 372k]
  ------------------
 5930|      0|    case X86::YMM24: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5930:5): [True: 0, False: 372k]
  ------------------
 5931|      0|    case X86::YMM25: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5931:5): [True: 0, False: 372k]
  ------------------
 5932|      0|    case X86::YMM26: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5932:5): [True: 0, False: 372k]
  ------------------
 5933|      0|    case X86::YMM27: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5933:5): [True: 0, False: 372k]
  ------------------
 5934|      0|    case X86::YMM28: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5934:5): [True: 0, False: 372k]
  ------------------
 5935|      0|    case X86::YMM29: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5935:5): [True: 0, False: 372k]
  ------------------
 5936|      0|    case X86::YMM30: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5936:5): [True: 0, False: 372k]
  ------------------
 5937|      0|    case X86::YMM31: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5937:5): [True: 0, False: 372k]
  ------------------
 5938|      4|    case X86::ZMM0: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5938:5): [True: 4, False: 372k]
  ------------------
 5939|      8|    case X86::ZMM1: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5939:5): [True: 8, False: 372k]
  ------------------
 5940|     33|    case X86::ZMM2: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5940:5): [True: 33, False: 372k]
  ------------------
 5941|      0|    case X86::ZMM3: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5941:5): [True: 0, False: 372k]
  ------------------
 5942|      0|    case X86::ZMM4: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5942:5): [True: 0, False: 372k]
  ------------------
 5943|     13|    case X86::ZMM5: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5943:5): [True: 13, False: 372k]
  ------------------
 5944|      0|    case X86::ZMM6: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5944:5): [True: 0, False: 372k]
  ------------------
 5945|     32|    case X86::ZMM7: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5945:5): [True: 32, False: 372k]
  ------------------
 5946|      0|    case X86::ZMM8: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5946:5): [True: 0, False: 372k]
  ------------------
 5947|      0|    case X86::ZMM9: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5947:5): [True: 0, False: 372k]
  ------------------
 5948|      0|    case X86::ZMM10: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5948:5): [True: 0, False: 372k]
  ------------------
 5949|      0|    case X86::ZMM11: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5949:5): [True: 0, False: 372k]
  ------------------
 5950|      0|    case X86::ZMM12: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5950:5): [True: 0, False: 372k]
  ------------------
 5951|      0|    case X86::ZMM13: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5951:5): [True: 0, False: 372k]
  ------------------
 5952|      0|    case X86::ZMM14: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5952:5): [True: 0, False: 372k]
  ------------------
 5953|      0|    case X86::ZMM15: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5953:5): [True: 0, False: 372k]
  ------------------
 5954|      0|    case X86::ZMM16: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5954:5): [True: 0, False: 372k]
  ------------------
 5955|     33|    case X86::ZMM17: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5955:5): [True: 33, False: 372k]
  ------------------
 5956|      0|    case X86::ZMM18: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5956:5): [True: 0, False: 372k]
  ------------------
 5957|      0|    case X86::ZMM19: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5957:5): [True: 0, False: 372k]
  ------------------
 5958|      0|    case X86::ZMM20: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5958:5): [True: 0, False: 372k]
  ------------------
 5959|      0|    case X86::ZMM21: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5959:5): [True: 0, False: 372k]
  ------------------
 5960|      0|    case X86::ZMM22: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5960:5): [True: 0, False: 372k]
  ------------------
 5961|     33|    case X86::ZMM23: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5961:5): [True: 33, False: 372k]
  ------------------
 5962|      0|    case X86::ZMM24: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5962:5): [True: 0, False: 372k]
  ------------------
 5963|      0|    case X86::ZMM25: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5963:5): [True: 0, False: 372k]
  ------------------
 5964|      0|    case X86::ZMM26: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5964:5): [True: 0, False: 372k]
  ------------------
 5965|      0|    case X86::ZMM27: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5965:5): [True: 0, False: 372k]
  ------------------
 5966|      0|    case X86::ZMM28: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5966:5): [True: 0, False: 372k]
  ------------------
 5967|      0|    case X86::ZMM29: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5967:5): [True: 0, False: 372k]
  ------------------
 5968|      0|    case X86::ZMM30: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5968:5): [True: 0, False: 372k]
  ------------------
 5969|      0|    case X86::ZMM31: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5969:5): [True: 0, False: 372k]
  ------------------
 5970|      2|    case X86::K0: OpKind = MCK_VK1; break;
  ------------------
  |  Branch (5970:5): [True: 2, False: 372k]
  ------------------
 5971|    162|    case X86::K1: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5971:5): [True: 162, False: 372k]
  ------------------
 5972|     20|    case X86::K2: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5972:5): [True: 20, False: 372k]
  ------------------
 5973|     38|    case X86::K3: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5973:5): [True: 38, False: 372k]
  ------------------
 5974|      0|    case X86::K4: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5974:5): [True: 0, False: 372k]
  ------------------
 5975|      3|    case X86::K5: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5975:5): [True: 3, False: 372k]
  ------------------
 5976|     74|    case X86::K6: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5976:5): [True: 74, False: 372k]
  ------------------
 5977|    520|    case X86::K7: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5977:5): [True: 520, False: 372k]
  ------------------
 5978|    109|    case X86::ST0: OpKind = MCK_ST0; break;
  ------------------
  |  Branch (5978:5): [True: 109, False: 372k]
  ------------------
 5979|      0|    case X86::ST1: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5979:5): [True: 0, False: 372k]
  ------------------
 5980|      0|    case X86::ST2: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5980:5): [True: 0, False: 372k]
  ------------------
 5981|      0|    case X86::ST3: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5981:5): [True: 0, False: 372k]
  ------------------
 5982|      0|    case X86::ST4: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5982:5): [True: 0, False: 372k]
  ------------------
 5983|      0|    case X86::ST5: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5983:5): [True: 0, False: 372k]
  ------------------
 5984|      0|    case X86::ST6: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5984:5): [True: 0, False: 372k]
  ------------------
 5985|      0|    case X86::ST7: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5985:5): [True: 0, False: 372k]
  ------------------
 5986|      1|    case X86::FPSW: OpKind = MCK_FPCCR; break;
  ------------------
  |  Branch (5986:5): [True: 1, False: 372k]
  ------------------
 5987|      0|    case X86::EFLAGS: OpKind = MCK_CCR; break;
  ------------------
  |  Branch (5987:5): [True: 0, False: 372k]
  ------------------
 5988|  26.9k|    case X86::CS: OpKind = MCK_CS; break;
  ------------------
  |  Branch (5988:5): [True: 26.9k, False: 345k]
  ------------------
 5989|    581|    case X86::DS: OpKind = MCK_DS; break;
  ------------------
  |  Branch (5989:5): [True: 581, False: 372k]
  ------------------
 5990|    549|    case X86::SS: OpKind = MCK_SS; break;
  ------------------
  |  Branch (5990:5): [True: 549, False: 372k]
  ------------------
 5991|    589|    case X86::ES: OpKind = MCK_ES; break;
  ------------------
  |  Branch (5991:5): [True: 589, False: 372k]
  ------------------
 5992|    589|    case X86::FS: OpKind = MCK_FS; break;
  ------------------
  |  Branch (5992:5): [True: 589, False: 372k]
  ------------------
 5993|    586|    case X86::GS: OpKind = MCK_GS; break;
  ------------------
  |  Branch (5993:5): [True: 586, False: 372k]
  ------------------
 5994|      0|    case X86::DR0: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5994:5): [True: 0, False: 372k]
  ------------------
 5995|    104|    case X86::DR1: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5995:5): [True: 104, False: 372k]
  ------------------
 5996|      0|    case X86::DR2: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5996:5): [True: 0, False: 372k]
  ------------------
 5997|      0|    case X86::DR3: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5997:5): [True: 0, False: 372k]
  ------------------
 5998|      0|    case X86::DR4: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5998:5): [True: 0, False: 372k]
  ------------------
 5999|      0|    case X86::DR5: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5999:5): [True: 0, False: 372k]
  ------------------
 6000|      0|    case X86::DR6: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (6000:5): [True: 0, False: 372k]
  ------------------
 6001|    117|    case X86::DR7: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (6001:5): [True: 117, False: 372k]
  ------------------
 6002|      0|    case X86::CR0: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6002:5): [True: 0, False: 372k]
  ------------------
 6003|    104|    case X86::CR1: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6003:5): [True: 104, False: 372k]
  ------------------
 6004|      0|    case X86::CR2: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6004:5): [True: 0, False: 372k]
  ------------------
 6005|      0|    case X86::CR3: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6005:5): [True: 0, False: 372k]
  ------------------
 6006|    104|    case X86::CR4: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6006:5): [True: 104, False: 372k]
  ------------------
 6007|      0|    case X86::CR5: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6007:5): [True: 0, False: 372k]
  ------------------
 6008|      0|    case X86::CR6: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6008:5): [True: 0, False: 372k]
  ------------------
 6009|      0|    case X86::CR7: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6009:5): [True: 0, False: 372k]
  ------------------
 6010|      0|    case X86::CR8: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6010:5): [True: 0, False: 372k]
  ------------------
 6011|      0|    case X86::CR9: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6011:5): [True: 0, False: 372k]
  ------------------
 6012|      0|    case X86::CR10: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6012:5): [True: 0, False: 372k]
  ------------------
 6013|      0|    case X86::CR11: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6013:5): [True: 0, False: 372k]
  ------------------
 6014|      0|    case X86::CR12: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6014:5): [True: 0, False: 372k]
  ------------------
 6015|      0|    case X86::CR13: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6015:5): [True: 0, False: 372k]
  ------------------
 6016|      0|    case X86::CR14: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6016:5): [True: 0, False: 372k]
  ------------------
 6017|      0|    case X86::CR15: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6017:5): [True: 0, False: 372k]
  ------------------
 6018|      0|    case X86::BND0: OpKind = MCK_BNDR; break;
  ------------------
  |  Branch (6018:5): [True: 0, False: 372k]
  ------------------
 6019|      0|    case X86::BND1: OpKind = MCK_BNDR; break;
  ------------------
  |  Branch (6019:5): [True: 0, False: 372k]
  ------------------
 6020|      0|    case X86::BND2: OpKind = MCK_BNDR; break;
  ------------------
  |  Branch (6020:5): [True: 0, False: 372k]
  ------------------
 6021|      0|    case X86::BND3: OpKind = MCK_BNDR; break;
  ------------------
  |  Branch (6021:5): [True: 0, False: 372k]
  ------------------
 6022|   372k|    }
 6023|   372k|    return isSubclass(OpKind, Kind) ? MCTargetAsmParser::Match_Success :
  ------------------
  |  Branch (6023:12): [True: 44.1k, False: 328k]
  ------------------
 6024|   372k|                                      MCTargetAsmParser::Match_InvalidOperand;
 6025|   372k|  }
 6026|       |
 6027|   186k|  return MCTargetAsmParser::Match_InvalidOperand;
 6028|   558k|}
X86AsmParser.cpp:_ZL10isSubclassN12_GLOBAL__N_114MatchClassKindES0_:
 4575|   380k|static bool isSubclass(MatchClassKind A, MatchClassKind B) {
 4576|   380k|  if (A == B)
  ------------------
  |  Branch (4576:7): [True: 18.7k, False: 362k]
  ------------------
 4577|  18.7k|    return true;
 4578|       |
 4579|   362k|  switch (A) {
 4580|  7.69k|  default:
  ------------------
  |  Branch (4580:3): [True: 7.69k, False: 354k]
  ------------------
 4581|  7.69k|    return false;
 4582|       |
 4583|  12.4k|  case MCK_AL:
  ------------------
  |  Branch (4583:3): [True: 12.4k, False: 349k]
  ------------------
 4584|  12.4k|    switch (B) {
 4585|  11.8k|    default: return false;
  ------------------
  |  Branch (4585:5): [True: 11.8k, False: 611]
  ------------------
 4586|      0|    case MCK_GR8_ABCD_L: return true;
  ------------------
  |  Branch (4586:5): [True: 0, False: 12.4k]
  ------------------
 4587|      0|    case MCK_GR8_NOREX: return true;
  ------------------
  |  Branch (4587:5): [True: 0, False: 12.4k]
  ------------------
 4588|    611|    case MCK_GR8: return true;
  ------------------
  |  Branch (4588:5): [True: 611, False: 11.8k]
  ------------------
 4589|  12.4k|    }
 4590|       |
 4591|   239k|  case MCK_AX:
  ------------------
  |  Branch (4591:3): [True: 239k, False: 122k]
  ------------------
 4592|   239k|    switch (B) {
 4593|   224k|    default: return false;
  ------------------
  |  Branch (4593:5): [True: 224k, False: 15.4k]
  ------------------
 4594|      0|    case MCK_GR16_ABCD: return true;
  ------------------
  |  Branch (4594:5): [True: 0, False: 239k]
  ------------------
 4595|      0|    case MCK_GR16_NOREX: return true;
  ------------------
  |  Branch (4595:5): [True: 0, False: 239k]
  ------------------
 4596|  15.4k|    case MCK_GR16: return true;
  ------------------
  |  Branch (4596:5): [True: 15.4k, False: 224k]
  ------------------
 4597|   239k|    }
 4598|       |
 4599|    685|  case MCK_CL:
  ------------------
  |  Branch (4599:3): [True: 685, False: 361k]
  ------------------
 4600|    685|    switch (B) {
 4601|    647|    default: return false;
  ------------------
  |  Branch (4601:5): [True: 647, False: 38]
  ------------------
 4602|      0|    case MCK_GR8_ABCD_L: return true;
  ------------------
  |  Branch (4602:5): [True: 0, False: 685]
  ------------------
 4603|      0|    case MCK_GR8_NOREX: return true;
  ------------------
  |  Branch (4603:5): [True: 0, False: 685]
  ------------------
 4604|     38|    case MCK_GR8: return true;
  ------------------
  |  Branch (4604:5): [True: 38, False: 647]
  ------------------
 4605|    685|    }
 4606|       |
 4607|  26.9k|  case MCK_CS:
  ------------------
  |  Branch (4607:3): [True: 26.9k, False: 335k]
  ------------------
 4608|  26.9k|    return B == MCK_SEGMENT_REG;
 4609|       |
 4610|    581|  case MCK_DS:
  ------------------
  |  Branch (4610:3): [True: 581, False: 361k]
  ------------------
 4611|    581|    return B == MCK_SEGMENT_REG;
 4612|       |
 4613|  4.33k|  case MCK_DX:
  ------------------
  |  Branch (4613:3): [True: 4.33k, False: 357k]
  ------------------
 4614|  4.33k|    switch (B) {
 4615|  3.87k|    default: return false;
  ------------------
  |  Branch (4615:5): [True: 3.87k, False: 457]
  ------------------
 4616|      0|    case MCK_GR16_ABCD: return true;
  ------------------
  |  Branch (4616:5): [True: 0, False: 4.33k]
  ------------------
 4617|      0|    case MCK_GR16_NOREX: return true;
  ------------------
  |  Branch (4617:5): [True: 0, False: 4.33k]
  ------------------
 4618|    457|    case MCK_GR16: return true;
  ------------------
  |  Branch (4618:5): [True: 457, False: 3.87k]
  ------------------
 4619|  4.33k|    }
 4620|       |
 4621|  5.97k|  case MCK_EAX:
  ------------------
  |  Branch (4621:3): [True: 5.97k, False: 356k]
  ------------------
 4622|  5.97k|    switch (B) {
 4623|  5.32k|    default: return false;
  ------------------
  |  Branch (4623:5): [True: 5.32k, False: 649]
  ------------------
 4624|      0|    case MCK_GR32_AD: return true;
  ------------------
  |  Branch (4624:5): [True: 0, False: 5.97k]
  ------------------
 4625|      0|    case MCK_GR32_TC: return true;
  ------------------
  |  Branch (4625:5): [True: 0, False: 5.97k]
  ------------------
 4626|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4626:5): [True: 0, False: 5.97k]
  ------------------
 4627|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4627:5): [True: 0, False: 5.97k]
  ------------------
 4628|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4628:5): [True: 0, False: 5.97k]
  ------------------
 4629|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4629:5): [True: 0, False: 5.97k]
  ------------------
 4630|    649|    case MCK_GR32: return true;
  ------------------
  |  Branch (4630:5): [True: 649, False: 5.32k]
  ------------------
 4631|  5.97k|    }
 4632|       |
 4633|  1.23k|  case MCK_EBX:
  ------------------
  |  Branch (4633:3): [True: 1.23k, False: 360k]
  ------------------
 4634|  1.23k|    switch (B) {
 4635|  1.11k|    default: return false;
  ------------------
  |  Branch (4635:5): [True: 1.11k, False: 125]
  ------------------
 4636|      0|    case MCK_Reg21: return true;
  ------------------
  |  Branch (4636:5): [True: 0, False: 1.23k]
  ------------------
 4637|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4637:5): [True: 0, False: 1.23k]
  ------------------
 4638|      0|    case MCK_Reg22: return true;
  ------------------
  |  Branch (4638:5): [True: 0, False: 1.23k]
  ------------------
 4639|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (4639:5): [True: 0, False: 1.23k]
  ------------------
 4640|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4640:5): [True: 0, False: 1.23k]
  ------------------
 4641|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4641:5): [True: 0, False: 1.23k]
  ------------------
 4642|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (4642:5): [True: 0, False: 1.23k]
  ------------------
 4643|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (4643:5): [True: 0, False: 1.23k]
  ------------------
 4644|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4644:5): [True: 0, False: 1.23k]
  ------------------
 4645|    125|    case MCK_GR32: return true;
  ------------------
  |  Branch (4645:5): [True: 125, False: 1.11k]
  ------------------
 4646|  1.23k|    }
 4647|       |
 4648|  4.36k|  case MCK_ECX:
  ------------------
  |  Branch (4648:3): [True: 4.36k, False: 357k]
  ------------------
 4649|  4.36k|    switch (B) {
 4650|  3.93k|    default: return false;
  ------------------
  |  Branch (4650:5): [True: 3.93k, False: 437]
  ------------------
 4651|      0|    case MCK_Reg20: return true;
  ------------------
  |  Branch (4651:5): [True: 0, False: 4.36k]
  ------------------
 4652|      0|    case MCK_Reg21: return true;
  ------------------
  |  Branch (4652:5): [True: 0, False: 4.36k]
  ------------------
 4653|      0|    case MCK_GR32_TC: return true;
  ------------------
  |  Branch (4653:5): [True: 0, False: 4.36k]
  ------------------
 4654|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4654:5): [True: 0, False: 4.36k]
  ------------------
 4655|      0|    case MCK_Reg22: return true;
  ------------------
  |  Branch (4655:5): [True: 0, False: 4.36k]
  ------------------
 4656|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (4656:5): [True: 0, False: 4.36k]
  ------------------
 4657|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4657:5): [True: 0, False: 4.36k]
  ------------------
 4658|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4658:5): [True: 0, False: 4.36k]
  ------------------
 4659|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (4659:5): [True: 0, False: 4.36k]
  ------------------
 4660|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (4660:5): [True: 0, False: 4.36k]
  ------------------
 4661|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4661:5): [True: 0, False: 4.36k]
  ------------------
 4662|    437|    case MCK_GR32: return true;
  ------------------
  |  Branch (4662:5): [True: 437, False: 3.93k]
  ------------------
 4663|  4.36k|    }
 4664|       |
 4665|    718|  case MCK_EDX:
  ------------------
  |  Branch (4665:3): [True: 718, False: 361k]
  ------------------
 4666|    718|    switch (B) {
 4667|    641|    default: return false;
  ------------------
  |  Branch (4667:5): [True: 641, False: 77]
  ------------------
 4668|      0|    case MCK_Reg20: return true;
  ------------------
  |  Branch (4668:5): [True: 0, False: 718]
  ------------------
 4669|      0|    case MCK_GR32_AD: return true;
  ------------------
  |  Branch (4669:5): [True: 0, False: 718]
  ------------------
 4670|      0|    case MCK_Reg21: return true;
  ------------------
  |  Branch (4670:5): [True: 0, False: 718]
  ------------------
 4671|      0|    case MCK_GR32_TC: return true;
  ------------------
  |  Branch (4671:5): [True: 0, False: 718]
  ------------------
 4672|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4672:5): [True: 0, False: 718]
  ------------------
 4673|      0|    case MCK_Reg22: return true;
  ------------------
  |  Branch (4673:5): [True: 0, False: 718]
  ------------------
 4674|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (4674:5): [True: 0, False: 718]
  ------------------
 4675|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4675:5): [True: 0, False: 718]
  ------------------
 4676|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4676:5): [True: 0, False: 718]
  ------------------
 4677|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (4677:5): [True: 0, False: 718]
  ------------------
 4678|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (4678:5): [True: 0, False: 718]
  ------------------
 4679|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4679:5): [True: 0, False: 718]
  ------------------
 4680|     77|    case MCK_GR32: return true;
  ------------------
  |  Branch (4680:5): [True: 77, False: 641]
  ------------------
 4681|    718|    }
 4682|       |
 4683|    587|  case MCK_ES:
  ------------------
  |  Branch (4683:3): [True: 587, False: 361k]
  ------------------
 4684|    587|    return B == MCK_SEGMENT_REG;
 4685|       |
 4686|    585|  case MCK_FS:
  ------------------
  |  Branch (4686:3): [True: 585, False: 361k]
  ------------------
 4687|    585|    return B == MCK_SEGMENT_REG;
 4688|       |
 4689|    583|  case MCK_GS:
  ------------------
  |  Branch (4689:3): [True: 583, False: 361k]
  ------------------
 4690|    583|    return B == MCK_SEGMENT_REG;
 4691|       |
 4692|  1.38k|  case MCK_RAX:
  ------------------
  |  Branch (4692:3): [True: 1.38k, False: 360k]
  ------------------
 4693|  1.38k|    switch (B) {
 4694|  1.21k|    default: return false;
  ------------------
  |  Branch (4694:5): [True: 1.21k, False: 170]
  ------------------
 4695|      0|    case MCK_Reg29: return true;
  ------------------
  |  Branch (4695:5): [True: 0, False: 1.38k]
  ------------------
 4696|      0|    case MCK_Reg30: return true;
  ------------------
  |  Branch (4696:5): [True: 0, False: 1.38k]
  ------------------
 4697|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4697:5): [True: 0, False: 1.38k]
  ------------------
 4698|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4698:5): [True: 0, False: 1.38k]
  ------------------
 4699|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4699:5): [True: 0, False: 1.38k]
  ------------------
 4700|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4700:5): [True: 0, False: 1.38k]
  ------------------
 4701|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4701:5): [True: 0, False: 1.38k]
  ------------------
 4702|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4702:5): [True: 0, False: 1.38k]
  ------------------
 4703|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4703:5): [True: 0, False: 1.38k]
  ------------------
 4704|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4704:5): [True: 0, False: 1.38k]
  ------------------
 4705|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4705:5): [True: 0, False: 1.38k]
  ------------------
 4706|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4706:5): [True: 0, False: 1.38k]
  ------------------
 4707|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4707:5): [True: 0, False: 1.38k]
  ------------------
 4708|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4708:5): [True: 0, False: 1.38k]
  ------------------
 4709|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4709:5): [True: 0, False: 1.38k]
  ------------------
 4710|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4710:5): [True: 0, False: 1.38k]
  ------------------
 4711|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4711:5): [True: 0, False: 1.38k]
  ------------------
 4712|    170|    case MCK_GR64: return true;
  ------------------
  |  Branch (4712:5): [True: 170, False: 1.21k]
  ------------------
 4713|  1.38k|    }
 4714|       |
 4715|    427|  case MCK_RBX:
  ------------------
  |  Branch (4715:3): [True: 427, False: 361k]
  ------------------
 4716|    427|    switch (B) {
 4717|    369|    default: return false;
  ------------------
  |  Branch (4717:5): [True: 369, False: 58]
  ------------------
 4718|      0|    case MCK_Reg49: return true;
  ------------------
  |  Branch (4718:5): [True: 0, False: 427]
  ------------------
 4719|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4719:5): [True: 0, False: 427]
  ------------------
 4720|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4720:5): [True: 0, False: 427]
  ------------------
 4721|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4721:5): [True: 0, False: 427]
  ------------------
 4722|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4722:5): [True: 0, False: 427]
  ------------------
 4723|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4723:5): [True: 0, False: 427]
  ------------------
 4724|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4724:5): [True: 0, False: 427]
  ------------------
 4725|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4725:5): [True: 0, False: 427]
  ------------------
 4726|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4726:5): [True: 0, False: 427]
  ------------------
 4727|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4727:5): [True: 0, False: 427]
  ------------------
 4728|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4728:5): [True: 0, False: 427]
  ------------------
 4729|     58|    case MCK_GR64: return true;
  ------------------
  |  Branch (4729:5): [True: 58, False: 369]
  ------------------
 4730|    427|    }
 4731|       |
 4732|    370|  case MCK_RCX:
  ------------------
  |  Branch (4732:3): [True: 370, False: 361k]
  ------------------
 4733|    370|    switch (B) {
 4734|    319|    default: return false;
  ------------------
  |  Branch (4734:5): [True: 319, False: 51]
  ------------------
 4735|      0|    case MCK_Reg48: return true;
  ------------------
  |  Branch (4735:5): [True: 0, False: 370]
  ------------------
 4736|      0|    case MCK_Reg49: return true;
  ------------------
  |  Branch (4736:5): [True: 0, False: 370]
  ------------------
 4737|      0|    case MCK_Reg30: return true;
  ------------------
  |  Branch (4737:5): [True: 0, False: 370]
  ------------------
 4738|      0|    case MCK_Reg54: return true;
  ------------------
  |  Branch (4738:5): [True: 0, False: 370]
  ------------------
 4739|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4739:5): [True: 0, False: 370]
  ------------------
 4740|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4740:5): [True: 0, False: 370]
  ------------------
 4741|      0|    case MCK_Reg57: return true;
  ------------------
  |  Branch (4741:5): [True: 0, False: 370]
  ------------------
 4742|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4742:5): [True: 0, False: 370]
  ------------------
 4743|      0|    case MCK_Reg56: return true;
  ------------------
  |  Branch (4743:5): [True: 0, False: 370]
  ------------------
 4744|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4744:5): [True: 0, False: 370]
  ------------------
 4745|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4745:5): [True: 0, False: 370]
  ------------------
 4746|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4746:5): [True: 0, False: 370]
  ------------------
 4747|      0|    case MCK_Reg55: return true;
  ------------------
  |  Branch (4747:5): [True: 0, False: 370]
  ------------------
 4748|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4748:5): [True: 0, False: 370]
  ------------------
 4749|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4749:5): [True: 0, False: 370]
  ------------------
 4750|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4750:5): [True: 0, False: 370]
  ------------------
 4751|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4751:5): [True: 0, False: 370]
  ------------------
 4752|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4752:5): [True: 0, False: 370]
  ------------------
 4753|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4753:5): [True: 0, False: 370]
  ------------------
 4754|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4754:5): [True: 0, False: 370]
  ------------------
 4755|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4755:5): [True: 0, False: 370]
  ------------------
 4756|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4756:5): [True: 0, False: 370]
  ------------------
 4757|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4757:5): [True: 0, False: 370]
  ------------------
 4758|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4758:5): [True: 0, False: 370]
  ------------------
 4759|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4759:5): [True: 0, False: 370]
  ------------------
 4760|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4760:5): [True: 0, False: 370]
  ------------------
 4761|     51|    case MCK_GR64: return true;
  ------------------
  |  Branch (4761:5): [True: 51, False: 319]
  ------------------
 4762|    370|    }
 4763|       |
 4764|    364|  case MCK_RDX:
  ------------------
  |  Branch (4764:3): [True: 364, False: 361k]
  ------------------
 4765|    364|    switch (B) {
 4766|    317|    default: return false;
  ------------------
  |  Branch (4766:5): [True: 317, False: 47]
  ------------------
 4767|      0|    case MCK_Reg48: return true;
  ------------------
  |  Branch (4767:5): [True: 0, False: 364]
  ------------------
 4768|      0|    case MCK_Reg29: return true;
  ------------------
  |  Branch (4768:5): [True: 0, False: 364]
  ------------------
 4769|      0|    case MCK_Reg49: return true;
  ------------------
  |  Branch (4769:5): [True: 0, False: 364]
  ------------------
 4770|      0|    case MCK_Reg30: return true;
  ------------------
  |  Branch (4770:5): [True: 0, False: 364]
  ------------------
 4771|      0|    case MCK_Reg54: return true;
  ------------------
  |  Branch (4771:5): [True: 0, False: 364]
  ------------------
 4772|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4772:5): [True: 0, False: 364]
  ------------------
 4773|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4773:5): [True: 0, False: 364]
  ------------------
 4774|      0|    case MCK_Reg57: return true;
  ------------------
  |  Branch (4774:5): [True: 0, False: 364]
  ------------------
 4775|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4775:5): [True: 0, False: 364]
  ------------------
 4776|      0|    case MCK_Reg56: return true;
  ------------------
  |  Branch (4776:5): [True: 0, False: 364]
  ------------------
 4777|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4777:5): [True: 0, False: 364]
  ------------------
 4778|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4778:5): [True: 0, False: 364]
  ------------------
 4779|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4779:5): [True: 0, False: 364]
  ------------------
 4780|      0|    case MCK_Reg55: return true;
  ------------------
  |  Branch (4780:5): [True: 0, False: 364]
  ------------------
 4781|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4781:5): [True: 0, False: 364]
  ------------------
 4782|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4782:5): [True: 0, False: 364]
  ------------------
 4783|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4783:5): [True: 0, False: 364]
  ------------------
 4784|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4784:5): [True: 0, False: 364]
  ------------------
 4785|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4785:5): [True: 0, False: 364]
  ------------------
 4786|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4786:5): [True: 0, False: 364]
  ------------------
 4787|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4787:5): [True: 0, False: 364]
  ------------------
 4788|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4788:5): [True: 0, False: 364]
  ------------------
 4789|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4789:5): [True: 0, False: 364]
  ------------------
 4790|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4790:5): [True: 0, False: 364]
  ------------------
 4791|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4791:5): [True: 0, False: 364]
  ------------------
 4792|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4792:5): [True: 0, False: 364]
  ------------------
 4793|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4793:5): [True: 0, False: 364]
  ------------------
 4794|     47|    case MCK_GR64: return true;
  ------------------
  |  Branch (4794:5): [True: 47, False: 317]
  ------------------
 4795|    364|    }
 4796|       |
 4797|    549|  case MCK_SS:
  ------------------
  |  Branch (4797:3): [True: 549, False: 361k]
  ------------------
 4798|    549|    return B == MCK_SEGMENT_REG;
 4799|       |
 4800|    109|  case MCK_ST0:
  ------------------
  |  Branch (4800:3): [True: 109, False: 362k]
  ------------------
 4801|    109|    return B == MCK_RST;
 4802|       |
 4803|     73|  case MCK_XMM0:
  ------------------
  |  Branch (4803:3): [True: 73, False: 362k]
  ------------------
 4804|     73|    switch (B) {
 4805|     73|    default: return false;
  ------------------
  |  Branch (4805:5): [True: 73, False: 0]
  ------------------
 4806|      0|    case MCK_FR32: return true;
  ------------------
  |  Branch (4806:5): [True: 0, False: 73]
  ------------------
 4807|      0|    case MCK_FR32X: return true;
  ------------------
  |  Branch (4807:5): [True: 0, False: 73]
  ------------------
 4808|     73|    }
 4809|       |
 4810|      0|  case MCK_Reg48:
  ------------------
  |  Branch (4810:3): [True: 0, False: 362k]
  ------------------
 4811|      0|    switch (B) {
 4812|      0|    default: return false;
  ------------------
  |  Branch (4812:5): [True: 0, False: 0]
  ------------------
 4813|      0|    case MCK_Reg49: return true;
  ------------------
  |  Branch (4813:5): [True: 0, False: 0]
  ------------------
 4814|      0|    case MCK_Reg30: return true;
  ------------------
  |  Branch (4814:5): [True: 0, False: 0]
  ------------------
 4815|      0|    case MCK_Reg54: return true;
  ------------------
  |  Branch (4815:5): [True: 0, False: 0]
  ------------------
 4816|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4816:5): [True: 0, False: 0]
  ------------------
 4817|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4817:5): [True: 0, False: 0]
  ------------------
 4818|      0|    case MCK_Reg57: return true;
  ------------------
  |  Branch (4818:5): [True: 0, False: 0]
  ------------------
 4819|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4819:5): [True: 0, False: 0]
  ------------------
 4820|      0|    case MCK_Reg56: return true;
  ------------------
  |  Branch (4820:5): [True: 0, False: 0]
  ------------------
 4821|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4821:5): [True: 0, False: 0]
  ------------------
 4822|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4822:5): [True: 0, False: 0]
  ------------------
 4823|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4823:5): [True: 0, False: 0]
  ------------------
 4824|      0|    case MCK_Reg55: return true;
  ------------------
  |  Branch (4824:5): [True: 0, False: 0]
  ------------------
 4825|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4825:5): [True: 0, False: 0]
  ------------------
 4826|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4826:5): [True: 0, False: 0]
  ------------------
 4827|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4827:5): [True: 0, False: 0]
  ------------------
 4828|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4828:5): [True: 0, False: 0]
  ------------------
 4829|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4829:5): [True: 0, False: 0]
  ------------------
 4830|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4830:5): [True: 0, False: 0]
  ------------------
 4831|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4831:5): [True: 0, False: 0]
  ------------------
 4832|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4832:5): [True: 0, False: 0]
  ------------------
 4833|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4833:5): [True: 0, False: 0]
  ------------------
 4834|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4834:5): [True: 0, False: 0]
  ------------------
 4835|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4835:5): [True: 0, False: 0]
  ------------------
 4836|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4836:5): [True: 0, False: 0]
  ------------------
 4837|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4837:5): [True: 0, False: 0]
  ------------------
 4838|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4838:5): [True: 0, False: 0]
  ------------------
 4839|      0|    }
 4840|       |
 4841|      0|  case MCK_Reg29:
  ------------------
  |  Branch (4841:3): [True: 0, False: 362k]
  ------------------
 4842|      0|    switch (B) {
 4843|      0|    default: return false;
  ------------------
  |  Branch (4843:5): [True: 0, False: 0]
  ------------------
 4844|      0|    case MCK_Reg30: return true;
  ------------------
  |  Branch (4844:5): [True: 0, False: 0]
  ------------------
 4845|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4845:5): [True: 0, False: 0]
  ------------------
 4846|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4846:5): [True: 0, False: 0]
  ------------------
 4847|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4847:5): [True: 0, False: 0]
  ------------------
 4848|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4848:5): [True: 0, False: 0]
  ------------------
 4849|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4849:5): [True: 0, False: 0]
  ------------------
 4850|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4850:5): [True: 0, False: 0]
  ------------------
 4851|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4851:5): [True: 0, False: 0]
  ------------------
 4852|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4852:5): [True: 0, False: 0]
  ------------------
 4853|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4853:5): [True: 0, False: 0]
  ------------------
 4854|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4854:5): [True: 0, False: 0]
  ------------------
 4855|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4855:5): [True: 0, False: 0]
  ------------------
 4856|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4856:5): [True: 0, False: 0]
  ------------------
 4857|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4857:5): [True: 0, False: 0]
  ------------------
 4858|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4858:5): [True: 0, False: 0]
  ------------------
 4859|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4859:5): [True: 0, False: 0]
  ------------------
 4860|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4860:5): [True: 0, False: 0]
  ------------------
 4861|      0|    }
 4862|       |
 4863|      0|  case MCK_Reg20:
  ------------------
  |  Branch (4863:3): [True: 0, False: 362k]
  ------------------
 4864|      0|    switch (B) {
 4865|      0|    default: return false;
  ------------------
  |  Branch (4865:5): [True: 0, False: 0]
  ------------------
 4866|      0|    case MCK_Reg21: return true;
  ------------------
  |  Branch (4866:5): [True: 0, False: 0]
  ------------------
 4867|      0|    case MCK_GR32_TC: return true;
  ------------------
  |  Branch (4867:5): [True: 0, False: 0]
  ------------------
 4868|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4868:5): [True: 0, False: 0]
  ------------------
 4869|      0|    case MCK_Reg22: return true;
  ------------------
  |  Branch (4869:5): [True: 0, False: 0]
  ------------------
 4870|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (4870:5): [True: 0, False: 0]
  ------------------
 4871|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4871:5): [True: 0, False: 0]
  ------------------
 4872|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4872:5): [True: 0, False: 0]
  ------------------
 4873|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (4873:5): [True: 0, False: 0]
  ------------------
 4874|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (4874:5): [True: 0, False: 0]
  ------------------
 4875|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4875:5): [True: 0, False: 0]
  ------------------
 4876|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (4876:5): [True: 0, False: 0]
  ------------------
 4877|      0|    }
 4878|       |
 4879|      0|  case MCK_GR32_AD:
  ------------------
  |  Branch (4879:3): [True: 0, False: 362k]
  ------------------
 4880|      0|    switch (B) {
 4881|      0|    default: return false;
  ------------------
  |  Branch (4881:5): [True: 0, False: 0]
  ------------------
 4882|      0|    case MCK_GR32_TC: return true;
  ------------------
  |  Branch (4882:5): [True: 0, False: 0]
  ------------------
 4883|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4883:5): [True: 0, False: 0]
  ------------------
 4884|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4884:5): [True: 0, False: 0]
  ------------------
 4885|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4885:5): [True: 0, False: 0]
  ------------------
 4886|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4886:5): [True: 0, False: 0]
  ------------------
 4887|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (4887:5): [True: 0, False: 0]
  ------------------
 4888|      0|    }
 4889|       |
 4890|      0|  case MCK_Reg49:
  ------------------
  |  Branch (4890:3): [True: 0, False: 362k]
  ------------------
 4891|      0|    switch (B) {
 4892|      0|    default: return false;
  ------------------
  |  Branch (4892:5): [True: 0, False: 0]
  ------------------
 4893|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4893:5): [True: 0, False: 0]
  ------------------
 4894|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4894:5): [True: 0, False: 0]
  ------------------
 4895|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4895:5): [True: 0, False: 0]
  ------------------
 4896|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4896:5): [True: 0, False: 0]
  ------------------
 4897|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4897:5): [True: 0, False: 0]
  ------------------
 4898|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4898:5): [True: 0, False: 0]
  ------------------
 4899|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4899:5): [True: 0, False: 0]
  ------------------
 4900|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4900:5): [True: 0, False: 0]
  ------------------
 4901|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4901:5): [True: 0, False: 0]
  ------------------
 4902|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4902:5): [True: 0, False: 0]
  ------------------
 4903|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4903:5): [True: 0, False: 0]
  ------------------
 4904|      0|    }
 4905|       |
 4906|      0|  case MCK_Reg30:
  ------------------
  |  Branch (4906:3): [True: 0, False: 362k]
  ------------------
 4907|      0|    switch (B) {
 4908|      0|    default: return false;
  ------------------
  |  Branch (4908:5): [True: 0, False: 0]
  ------------------
 4909|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4909:5): [True: 0, False: 0]
  ------------------
 4910|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4910:5): [True: 0, False: 0]
  ------------------
 4911|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4911:5): [True: 0, False: 0]
  ------------------
 4912|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4912:5): [True: 0, False: 0]
  ------------------
 4913|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4913:5): [True: 0, False: 0]
  ------------------
 4914|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4914:5): [True: 0, False: 0]
  ------------------
 4915|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4915:5): [True: 0, False: 0]
  ------------------
 4916|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4916:5): [True: 0, False: 0]
  ------------------
 4917|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4917:5): [True: 0, False: 0]
  ------------------
 4918|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4918:5): [True: 0, False: 0]
  ------------------
 4919|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4919:5): [True: 0, False: 0]
  ------------------
 4920|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4920:5): [True: 0, False: 0]
  ------------------
 4921|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4921:5): [True: 0, False: 0]
  ------------------
 4922|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4922:5): [True: 0, False: 0]
  ------------------
 4923|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4923:5): [True: 0, False: 0]
  ------------------
 4924|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4924:5): [True: 0, False: 0]
  ------------------
 4925|      0|    }
 4926|       |
 4927|      0|  case MCK_Reg21:
  ------------------
  |  Branch (4927:3): [True: 0, False: 362k]
  ------------------
 4928|      0|    switch (B) {
 4929|      0|    default: return false;
  ------------------
  |  Branch (4929:5): [True: 0, False: 0]
  ------------------
 4930|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4930:5): [True: 0, False: 0]
  ------------------
 4931|      0|    case MCK_Reg22: return true;
  ------------------
  |  Branch (4931:5): [True: 0, False: 0]
  ------------------
 4932|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (4932:5): [True: 0, False: 0]
  ------------------
 4933|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4933:5): [True: 0, False: 0]
  ------------------
 4934|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4934:5): [True: 0, False: 0]
  ------------------
 4935|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (4935:5): [True: 0, False: 0]
  ------------------
 4936|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (4936:5): [True: 0, False: 0]
  ------------------
 4937|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4937:5): [True: 0, False: 0]
  ------------------
 4938|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (4938:5): [True: 0, False: 0]
  ------------------
 4939|      0|    }
 4940|       |
 4941|      0|  case MCK_GR32_TC:
  ------------------
  |  Branch (4941:3): [True: 0, False: 362k]
  ------------------
 4942|      0|    switch (B) {
 4943|      0|    default: return false;
  ------------------
  |  Branch (4943:5): [True: 0, False: 0]
  ------------------
 4944|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4944:5): [True: 0, False: 0]
  ------------------
 4945|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4945:5): [True: 0, False: 0]
  ------------------
 4946|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4946:5): [True: 0, False: 0]
  ------------------
 4947|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4947:5): [True: 0, False: 0]
  ------------------
 4948|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (4948:5): [True: 0, False: 0]
  ------------------
 4949|      0|    }
 4950|       |
 4951|    369|  case MCK_Reg54:
  ------------------
  |  Branch (4951:3): [True: 369, False: 361k]
  ------------------
 4952|    369|    switch (B) {
 4953|    321|    default: return false;
  ------------------
  |  Branch (4953:5): [True: 321, False: 48]
  ------------------
 4954|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4954:5): [True: 0, False: 369]
  ------------------
 4955|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4955:5): [True: 0, False: 369]
  ------------------
 4956|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4956:5): [True: 0, False: 369]
  ------------------
 4957|      0|    case MCK_Reg55: return true;
  ------------------
  |  Branch (4957:5): [True: 0, False: 369]
  ------------------
 4958|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4958:5): [True: 0, False: 369]
  ------------------
 4959|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4959:5): [True: 0, False: 369]
  ------------------
 4960|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4960:5): [True: 0, False: 369]
  ------------------
 4961|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4961:5): [True: 0, False: 369]
  ------------------
 4962|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4962:5): [True: 0, False: 369]
  ------------------
 4963|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4963:5): [True: 0, False: 369]
  ------------------
 4964|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4964:5): [True: 0, False: 369]
  ------------------
 4965|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4965:5): [True: 0, False: 369]
  ------------------
 4966|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4966:5): [True: 0, False: 369]
  ------------------
 4967|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4967:5): [True: 0, False: 369]
  ------------------
 4968|     48|    case MCK_GR64: return true;
  ------------------
  |  Branch (4968:5): [True: 48, False: 321]
  ------------------
 4969|    369|    }
 4970|       |
 4971|      0|  case MCK_Reg46:
  ------------------
  |  Branch (4971:3): [True: 0, False: 362k]
  ------------------
 4972|      0|    switch (B) {
 4973|      0|    default: return false;
  ------------------
  |  Branch (4973:5): [True: 0, False: 0]
  ------------------
 4974|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4974:5): [True: 0, False: 0]
  ------------------
 4975|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4975:5): [True: 0, False: 0]
  ------------------
 4976|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4976:5): [True: 0, False: 0]
  ------------------
 4977|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4977:5): [True: 0, False: 0]
  ------------------
 4978|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4978:5): [True: 0, False: 0]
  ------------------
 4979|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4979:5): [True: 0, False: 0]
  ------------------
 4980|      0|    }
 4981|       |
 4982|  5.41k|  case MCK_GR16_ABCD:
  ------------------
  |  Branch (4982:3): [True: 5.41k, False: 356k]
  ------------------
 4983|  5.41k|    switch (B) {
 4984|  4.99k|    default: return false;
  ------------------
  |  Branch (4984:5): [True: 4.99k, False: 424]
  ------------------
 4985|      0|    case MCK_GR16_NOREX: return true;
  ------------------
  |  Branch (4985:5): [True: 0, False: 5.41k]
  ------------------
 4986|    424|    case MCK_GR16: return true;
  ------------------
  |  Branch (4986:5): [True: 424, False: 4.99k]
  ------------------
 4987|  5.41k|    }
 4988|       |
 4989|      0|  case MCK_GR32_ABCD:
  ------------------
  |  Branch (4989:3): [True: 0, False: 362k]
  ------------------
 4990|      0|    switch (B) {
 4991|      0|    default: return false;
  ------------------
  |  Branch (4991:5): [True: 0, False: 0]
  ------------------
 4992|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4992:5): [True: 0, False: 0]
  ------------------
 4993|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4993:5): [True: 0, False: 0]
  ------------------
 4994|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4994:5): [True: 0, False: 0]
  ------------------
 4995|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (4995:5): [True: 0, False: 0]
  ------------------
 4996|      0|    }
 4997|       |
 4998|      0|  case MCK_GR64_ABCD:
  ------------------
  |  Branch (4998:3): [True: 0, False: 362k]
  ------------------
 4999|      0|    switch (B) {
 5000|      0|    default: return false;
  ------------------
  |  Branch (5000:5): [True: 0, False: 0]
  ------------------
 5001|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (5001:5): [True: 0, False: 0]
  ------------------
 5002|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (5002:5): [True: 0, False: 0]
  ------------------
 5003|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5003:5): [True: 0, False: 0]
  ------------------
 5004|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5004:5): [True: 0, False: 0]
  ------------------
 5005|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5005:5): [True: 0, False: 0]
  ------------------
 5006|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5006:5): [True: 0, False: 0]
  ------------------
 5007|      0|    }
 5008|       |
 5009|  16.4k|  case MCK_GR8_ABCD_H:
  ------------------
  |  Branch (5009:3): [True: 16.4k, False: 345k]
  ------------------
 5010|  16.4k|    switch (B) {
 5011|  15.3k|    default: return false;
  ------------------
  |  Branch (5011:5): [True: 15.3k, False: 1.09k]
  ------------------
 5012|      0|    case MCK_GR8_NOREX: return true;
  ------------------
  |  Branch (5012:5): [True: 0, False: 16.4k]
  ------------------
 5013|  1.09k|    case MCK_GR8: return true;
  ------------------
  |  Branch (5013:5): [True: 1.09k, False: 15.3k]
  ------------------
 5014|  16.4k|    }
 5015|       |
 5016|  6.18k|  case MCK_GR8_ABCD_L:
  ------------------
  |  Branch (5016:3): [True: 6.18k, False: 355k]
  ------------------
 5017|  6.18k|    switch (B) {
 5018|  5.88k|    default: return false;
  ------------------
  |  Branch (5018:5): [True: 5.88k, False: 303]
  ------------------
 5019|      0|    case MCK_GR8_NOREX: return true;
  ------------------
  |  Branch (5019:5): [True: 0, False: 6.18k]
  ------------------
 5020|    303|    case MCK_GR8: return true;
  ------------------
  |  Branch (5020:5): [True: 303, False: 5.88k]
  ------------------
 5021|  6.18k|    }
 5022|       |
 5023|    617|  case MCK_Reg57:
  ------------------
  |  Branch (5023:3): [True: 617, False: 361k]
  ------------------
 5024|    617|    switch (B) {
 5025|    537|    default: return false;
  ------------------
  |  Branch (5025:5): [True: 537, False: 80]
  ------------------
 5026|      0|    case MCK_Reg56: return true;
  ------------------
  |  Branch (5026:5): [True: 0, False: 617]
  ------------------
 5027|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (5027:5): [True: 0, False: 617]
  ------------------
 5028|      0|    case MCK_Reg55: return true;
  ------------------
  |  Branch (5028:5): [True: 0, False: 617]
  ------------------
 5029|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (5029:5): [True: 0, False: 617]
  ------------------
 5030|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (5030:5): [True: 0, False: 617]
  ------------------
 5031|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (5031:5): [True: 0, False: 617]
  ------------------
 5032|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (5032:5): [True: 0, False: 617]
  ------------------
 5033|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5033:5): [True: 0, False: 617]
  ------------------
 5034|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (5034:5): [True: 0, False: 617]
  ------------------
 5035|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5035:5): [True: 0, False: 617]
  ------------------
 5036|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5036:5): [True: 0, False: 617]
  ------------------
 5037|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5037:5): [True: 0, False: 617]
  ------------------
 5038|     80|    case MCK_GR64: return true;
  ------------------
  |  Branch (5038:5): [True: 80, False: 537]
  ------------------
 5039|    617|    }
 5040|       |
 5041|      0|  case MCK_Reg38:
  ------------------
  |  Branch (5041:3): [True: 0, False: 362k]
  ------------------
 5042|      0|    switch (B) {
 5043|      0|    default: return false;
  ------------------
  |  Branch (5043:5): [True: 0, False: 0]
  ------------------
 5044|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (5044:5): [True: 0, False: 0]
  ------------------
 5045|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (5045:5): [True: 0, False: 0]
  ------------------
 5046|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (5046:5): [True: 0, False: 0]
  ------------------
 5047|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (5047:5): [True: 0, False: 0]
  ------------------
 5048|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5048:5): [True: 0, False: 0]
  ------------------
 5049|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5049:5): [True: 0, False: 0]
  ------------------
 5050|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5050:5): [True: 0, False: 0]
  ------------------
 5051|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5051:5): [True: 0, False: 0]
  ------------------
 5052|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5052:5): [True: 0, False: 0]
  ------------------
 5053|      0|    }
 5054|       |
 5055|  2.61k|  case MCK_Reg56:
  ------------------
  |  Branch (5055:3): [True: 2.61k, False: 359k]
  ------------------
 5056|  2.61k|    switch (B) {
 5057|  2.28k|    default: return false;
  ------------------
  |  Branch (5057:5): [True: 2.28k, False: 330]
  ------------------
 5058|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (5058:5): [True: 0, False: 2.61k]
  ------------------
 5059|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (5059:5): [True: 0, False: 2.61k]
  ------------------
 5060|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (5060:5): [True: 0, False: 2.61k]
  ------------------
 5061|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5061:5): [True: 0, False: 2.61k]
  ------------------
 5062|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5062:5): [True: 0, False: 2.61k]
  ------------------
 5063|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5063:5): [True: 0, False: 2.61k]
  ------------------
 5064|    330|    case MCK_GR64: return true;
  ------------------
  |  Branch (5064:5): [True: 330, False: 2.28k]
  ------------------
 5065|  2.61k|    }
 5066|       |
 5067|    356|  case MCK_Reg50:
  ------------------
  |  Branch (5067:3): [True: 356, False: 361k]
  ------------------
 5068|    356|    switch (B) {
 5069|    310|    default: return false;
  ------------------
  |  Branch (5069:5): [True: 310, False: 46]
  ------------------
 5070|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (5070:5): [True: 0, False: 356]
  ------------------
 5071|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (5071:5): [True: 0, False: 356]
  ------------------
 5072|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (5072:5): [True: 0, False: 356]
  ------------------
 5073|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5073:5): [True: 0, False: 356]
  ------------------
 5074|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (5074:5): [True: 0, False: 356]
  ------------------
 5075|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5075:5): [True: 0, False: 356]
  ------------------
 5076|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5076:5): [True: 0, False: 356]
  ------------------
 5077|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5077:5): [True: 0, False: 356]
  ------------------
 5078|     46|    case MCK_GR64: return true;
  ------------------
  |  Branch (5078:5): [True: 46, False: 310]
  ------------------
 5079|    356|    }
 5080|       |
 5081|      0|  case MCK_Reg44:
  ------------------
  |  Branch (5081:3): [True: 0, False: 362k]
  ------------------
 5082|      0|    switch (B) {
 5083|      0|    default: return false;
  ------------------
  |  Branch (5083:5): [True: 0, False: 0]
  ------------------
 5084|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (5084:5): [True: 0, False: 0]
  ------------------
 5085|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (5085:5): [True: 0, False: 0]
  ------------------
 5086|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (5086:5): [True: 0, False: 0]
  ------------------
 5087|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (5087:5): [True: 0, False: 0]
  ------------------
 5088|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5088:5): [True: 0, False: 0]
  ------------------
 5089|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5089:5): [True: 0, False: 0]
  ------------------
 5090|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5090:5): [True: 0, False: 0]
  ------------------
 5091|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5091:5): [True: 0, False: 0]
  ------------------
 5092|      0|    }
 5093|       |
 5094|      0|  case MCK_Reg41:
  ------------------
  |  Branch (5094:3): [True: 0, False: 362k]
  ------------------
 5095|      0|    switch (B) {
 5096|      0|    default: return false;
  ------------------
  |  Branch (5096:5): [True: 0, False: 0]
  ------------------
 5097|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5097:5): [True: 0, False: 0]
  ------------------
 5098|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5098:5): [True: 0, False: 0]
  ------------------
 5099|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5099:5): [True: 0, False: 0]
  ------------------
 5100|      0|    }
 5101|       |
 5102|  1.08k|  case MCK_Reg22:
  ------------------
  |  Branch (5102:3): [True: 1.08k, False: 361k]
  ------------------
 5103|  1.08k|    switch (B) {
 5104|    942|    default: return false;
  ------------------
  |  Branch (5104:5): [True: 942, False: 147]
  ------------------
 5105|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (5105:5): [True: 0, False: 1.08k]
  ------------------
 5106|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (5106:5): [True: 0, False: 1.08k]
  ------------------
 5107|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (5107:5): [True: 0, False: 1.08k]
  ------------------
 5108|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (5108:5): [True: 0, False: 1.08k]
  ------------------
 5109|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (5109:5): [True: 0, False: 1.08k]
  ------------------
 5110|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (5110:5): [True: 0, False: 1.08k]
  ------------------
 5111|    147|    case MCK_GR32: return true;
  ------------------
  |  Branch (5111:5): [True: 147, False: 942]
  ------------------
 5112|  1.08k|    }
 5113|       |
 5114|      0|  case MCK_Reg55:
  ------------------
  |  Branch (5114:3): [True: 0, False: 362k]
  ------------------
 5115|      0|    switch (B) {
 5116|      0|    default: return false;
  ------------------
  |  Branch (5116:5): [True: 0, False: 0]
  ------------------
 5117|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (5117:5): [True: 0, False: 0]
  ------------------
 5118|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5118:5): [True: 0, False: 0]
  ------------------
 5119|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (5119:5): [True: 0, False: 0]
  ------------------
 5120|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5120:5): [True: 0, False: 0]
  ------------------
 5121|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5121:5): [True: 0, False: 0]
  ------------------
 5122|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5122:5): [True: 0, False: 0]
  ------------------
 5123|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5123:5): [True: 0, False: 0]
  ------------------
 5124|      0|    }
 5125|       |
 5126|  1.73k|  case MCK_Reg51:
  ------------------
  |  Branch (5126:3): [True: 1.73k, False: 360k]
  ------------------
 5127|  1.73k|    switch (B) {
 5128|  1.51k|    default: return false;
  ------------------
  |  Branch (5128:5): [True: 1.51k, False: 219]
  ------------------
 5129|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (5129:5): [True: 0, False: 1.73k]
  ------------------
 5130|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5130:5): [True: 0, False: 1.73k]
  ------------------
 5131|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5131:5): [True: 0, False: 1.73k]
  ------------------
 5132|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5132:5): [True: 0, False: 1.73k]
  ------------------
 5133|    219|    case MCK_GR64: return true;
  ------------------
  |  Branch (5133:5): [True: 219, False: 1.51k]
  ------------------
 5134|  1.73k|    }
 5135|       |
 5136|      0|  case MCK_Reg45:
  ------------------
  |  Branch (5136:3): [True: 0, False: 362k]
  ------------------
 5137|      0|    switch (B) {
 5138|      0|    default: return false;
  ------------------
  |  Branch (5138:5): [True: 0, False: 0]
  ------------------
 5139|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (5139:5): [True: 0, False: 0]
  ------------------
 5140|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5140:5): [True: 0, False: 0]
  ------------------
 5141|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5141:5): [True: 0, False: 0]
  ------------------
 5142|      0|    }
 5143|       |
 5144|      0|  case MCK_Reg42:
  ------------------
  |  Branch (5144:3): [True: 0, False: 362k]
  ------------------
 5145|      0|    switch (B) {
 5146|      0|    default: return false;
  ------------------
  |  Branch (5146:5): [True: 0, False: 0]
  ------------------
 5147|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (5147:5): [True: 0, False: 0]
  ------------------
 5148|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5148:5): [True: 0, False: 0]
  ------------------
 5149|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5149:5): [True: 0, False: 0]
  ------------------
 5150|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5150:5): [True: 0, False: 0]
  ------------------
 5151|      0|    }
 5152|       |
 5153|    946|  case MCK_Reg23:
  ------------------
  |  Branch (5153:3): [True: 946, False: 361k]
  ------------------
 5154|    946|    switch (B) {
 5155|    820|    default: return false;
  ------------------
  |  Branch (5155:5): [True: 820, False: 126]
  ------------------
 5156|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (5156:5): [True: 0, False: 946]
  ------------------
 5157|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (5157:5): [True: 0, False: 946]
  ------------------
 5158|    126|    case MCK_GR32: return true;
  ------------------
  |  Branch (5158:5): [True: 126, False: 820]
  ------------------
 5159|    946|    }
 5160|       |
 5161|      0|  case MCK_GR32_NOREX_NOSP:
  ------------------
  |  Branch (5161:3): [True: 0, False: 362k]
  ------------------
 5162|      0|    switch (B) {
 5163|      0|    default: return false;
  ------------------
  |  Branch (5163:5): [True: 0, False: 0]
  ------------------
 5164|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (5164:5): [True: 0, False: 0]
  ------------------
 5165|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (5165:5): [True: 0, False: 0]
  ------------------
 5166|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (5166:5): [True: 0, False: 0]
  ------------------
 5167|      0|    }
 5168|       |
 5169|      0|  case MCK_GR64_NOREX_NOSP:
  ------------------
  |  Branch (5169:3): [True: 0, False: 362k]
  ------------------
 5170|      0|    switch (B) {
 5171|      0|    default: return false;
  ------------------
  |  Branch (5171:5): [True: 0, False: 0]
  ------------------
 5172|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (5172:5): [True: 0, False: 0]
  ------------------
 5173|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5173:5): [True: 0, False: 0]
  ------------------
 5174|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5174:5): [True: 0, False: 0]
  ------------------
 5175|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5175:5): [True: 0, False: 0]
  ------------------
 5176|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5176:5): [True: 0, False: 0]
  ------------------
 5177|      0|    }
 5178|       |
 5179|    817|  case MCK_VK1WM:
  ------------------
  |  Branch (5179:3): [True: 817, False: 361k]
  ------------------
 5180|    817|    return B == MCK_VK1;
 5181|       |
 5182|      0|  case MCK_Reg39:
  ------------------
  |  Branch (5182:3): [True: 0, False: 362k]
  ------------------
 5183|      0|    switch (B) {
 5184|      0|    default: return false;
  ------------------
  |  Branch (5184:5): [True: 0, False: 0]
  ------------------
 5185|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5185:5): [True: 0, False: 0]
  ------------------
 5186|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5186:5): [True: 0, False: 0]
  ------------------
 5187|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5187:5): [True: 0, False: 0]
  ------------------
 5188|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5188:5): [True: 0, False: 0]
  ------------------
 5189|      0|    }
 5190|       |
 5191|      0|  case MCK_Reg33:
  ------------------
  |  Branch (5191:3): [True: 0, False: 362k]
  ------------------
 5192|      0|    switch (B) {
 5193|      0|    default: return false;
  ------------------
  |  Branch (5193:5): [True: 0, False: 0]
  ------------------
 5194|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5194:5): [True: 0, False: 0]
  ------------------
 5195|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5195:5): [True: 0, False: 0]
  ------------------
 5196|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5196:5): [True: 0, False: 0]
  ------------------
 5197|      0|    }
 5198|       |
 5199|  1.34k|  case MCK_GR16_NOREX:
  ------------------
  |  Branch (5199:3): [True: 1.34k, False: 360k]
  ------------------
 5200|  1.34k|    return B == MCK_GR16;
 5201|       |
 5202|      0|  case MCK_GR32_NOREX:
  ------------------
  |  Branch (5202:3): [True: 0, False: 362k]
  ------------------
 5203|      0|    return B == MCK_GR32;
 5204|       |
 5205|      0|  case MCK_GR64_TCW64:
  ------------------
  |  Branch (5205:3): [True: 0, False: 362k]
  ------------------
 5206|      0|    return B == MCK_GR64;
 5207|       |
 5208|      0|  case MCK_GR8_NOREX:
  ------------------
  |  Branch (5208:3): [True: 0, False: 362k]
  ------------------
 5209|      0|    return B == MCK_GR8;
 5210|       |
 5211|      0|  case MCK_GR64_NOREX:
  ------------------
  |  Branch (5211:3): [True: 0, False: 362k]
  ------------------
 5212|      0|    return B == MCK_GR64;
 5213|       |
 5214|      0|  case MCK_GR64_TC:
  ------------------
  |  Branch (5214:3): [True: 0, False: 362k]
  ------------------
 5215|      0|    return B == MCK_GR64;
 5216|       |
 5217|  12.9k|  case MCK_Reg53:
  ------------------
  |  Branch (5217:3): [True: 12.9k, False: 349k]
  ------------------
 5218|  12.9k|    switch (B) {
 5219|  11.3k|    default: return false;
  ------------------
  |  Branch (5219:5): [True: 11.3k, False: 1.63k]
  ------------------
 5220|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5220:5): [True: 0, False: 12.9k]
  ------------------
 5221|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5221:5): [True: 0, False: 12.9k]
  ------------------
 5222|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5222:5): [True: 0, False: 12.9k]
  ------------------
 5223|  1.63k|    case MCK_GR64: return true;
  ------------------
  |  Branch (5223:5): [True: 1.63k, False: 11.3k]
  ------------------
 5224|  12.9k|    }
 5225|       |
 5226|  1.04k|  case MCK_Reg25:
  ------------------
  |  Branch (5226:3): [True: 1.04k, False: 361k]
  ------------------
 5227|  1.04k|    switch (B) {
 5228|    914|    default: return false;
  ------------------
  |  Branch (5228:5): [True: 914, False: 130]
  ------------------
 5229|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (5229:5): [True: 0, False: 1.04k]
  ------------------
 5230|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (5230:5): [True: 0, False: 1.04k]
  ------------------
 5231|    130|    case MCK_GR32: return true;
  ------------------
  |  Branch (5231:5): [True: 130, False: 914]
  ------------------
 5232|  1.04k|    }
 5233|       |
 5234|      0|  case MCK_Reg52:
  ------------------
  |  Branch (5234:3): [True: 0, False: 362k]
  ------------------
 5235|      0|    switch (B) {
 5236|      0|    default: return false;
  ------------------
  |  Branch (5236:5): [True: 0, False: 0]
  ------------------
 5237|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5237:5): [True: 0, False: 0]
  ------------------
 5238|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5238:5): [True: 0, False: 0]
  ------------------
 5239|      0|    }
 5240|       |
 5241|      0|  case MCK_GR32_NOAX:
  ------------------
  |  Branch (5241:3): [True: 0, False: 362k]
  ------------------
 5242|      0|    return B == MCK_GR32;
 5243|       |
 5244|      0|  case MCK_GR32_NOSP:
  ------------------
  |  Branch (5244:3): [True: 0, False: 362k]
  ------------------
 5245|      0|    return B == MCK_GR32;
 5246|       |
 5247|      0|  case MCK_GR64_NOSP:
  ------------------
  |  Branch (5247:3): [True: 0, False: 362k]
  ------------------
 5248|      0|    switch (B) {
 5249|      0|    default: return false;
  ------------------
  |  Branch (5249:5): [True: 0, False: 0]
  ------------------
 5250|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5250:5): [True: 0, False: 0]
  ------------------
 5251|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5251:5): [True: 0, False: 0]
  ------------------
 5252|      0|    }
 5253|       |
 5254|     90|  case MCK_Reg67:
  ------------------
  |  Branch (5254:3): [True: 90, False: 362k]
  ------------------
 5255|     90|    return B == MCK_VR512;
 5256|       |
 5257|      0|  case MCK_Reg34:
  ------------------
  |  Branch (5257:3): [True: 0, False: 362k]
  ------------------
 5258|      0|    return B == MCK_GR64;
 5259|       |
 5260|     88|  case MCK_FR32:
  ------------------
  |  Branch (5260:3): [True: 88, False: 362k]
  ------------------
 5261|     88|    return B == MCK_FR32X;
 5262|       |
 5263|    187|  case MCK_VR256:
  ------------------
  |  Branch (5263:3): [True: 187, False: 361k]
  ------------------
 5264|    187|    return B == MCK_VR256X;
 5265|       |
 5266|      0|  case MCK_ImmSExti64i8:
  ------------------
  |  Branch (5266:3): [True: 0, False: 362k]
  ------------------
 5267|      0|    switch (B) {
 5268|      0|    default: return false;
  ------------------
  |  Branch (5268:5): [True: 0, False: 0]
  ------------------
 5269|      0|    case MCK_ImmSExti16i8: return true;
  ------------------
  |  Branch (5269:5): [True: 0, False: 0]
  ------------------
 5270|      0|    case MCK_ImmSExti32i8: return true;
  ------------------
  |  Branch (5270:5): [True: 0, False: 0]
  ------------------
 5271|      0|    case MCK_ImmSExti64i32: return true;
  ------------------
  |  Branch (5271:5): [True: 0, False: 0]
  ------------------
 5272|      0|    case MCK_Imm: return true;
  ------------------
  |  Branch (5272:5): [True: 0, False: 0]
  ------------------
 5273|      0|    }
 5274|       |
 5275|      0|  case MCK_ImmSExti16i8:
  ------------------
  |  Branch (5275:3): [True: 0, False: 362k]
  ------------------
 5276|      0|    switch (B) {
 5277|      0|    default: return false;
  ------------------
  |  Branch (5277:5): [True: 0, False: 0]
  ------------------
 5278|      0|    case MCK_ImmSExti64i32: return true;
  ------------------
  |  Branch (5278:5): [True: 0, False: 0]
  ------------------
 5279|      0|    case MCK_Imm: return true;
  ------------------
  |  Branch (5279:5): [True: 0, False: 0]
  ------------------
 5280|      0|    }
 5281|       |
 5282|      0|  case MCK_ImmSExti32i8:
  ------------------
  |  Branch (5282:3): [True: 0, False: 362k]
  ------------------
 5283|      0|    return B == MCK_Imm;
 5284|       |
 5285|      0|  case MCK_ImmSExti64i32:
  ------------------
  |  Branch (5285:3): [True: 0, False: 362k]
  ------------------
 5286|      0|    return B == MCK_Imm;
 5287|       |
 5288|      0|  case MCK_AbsMem16:
  ------------------
  |  Branch (5288:3): [True: 0, False: 362k]
  ------------------
 5289|      0|    switch (B) {
 5290|      0|    default: return false;
  ------------------
  |  Branch (5290:5): [True: 0, False: 0]
  ------------------
 5291|      0|    case MCK_AbsMem: return true;
  ------------------
  |  Branch (5291:5): [True: 0, False: 0]
  ------------------
 5292|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5292:5): [True: 0, False: 0]
  ------------------
 5293|      0|    }
 5294|       |
 5295|      0|  case MCK_DstIdx16:
  ------------------
  |  Branch (5295:3): [True: 0, False: 362k]
  ------------------
 5296|      0|    switch (B) {
 5297|      0|    default: return false;
  ------------------
  |  Branch (5297:5): [True: 0, False: 0]
  ------------------
 5298|      0|    case MCK_Mem16: return true;
  ------------------
  |  Branch (5298:5): [True: 0, False: 0]
  ------------------
 5299|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5299:5): [True: 0, False: 0]
  ------------------
 5300|      0|    }
 5301|       |
 5302|      0|  case MCK_DstIdx32:
  ------------------
  |  Branch (5302:3): [True: 0, False: 362k]
  ------------------
 5303|      0|    switch (B) {
 5304|      0|    default: return false;
  ------------------
  |  Branch (5304:5): [True: 0, False: 0]
  ------------------
 5305|      0|    case MCK_Mem32: return true;
  ------------------
  |  Branch (5305:5): [True: 0, False: 0]
  ------------------
 5306|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5306:5): [True: 0, False: 0]
  ------------------
 5307|      0|    }
 5308|       |
 5309|      0|  case MCK_DstIdx64:
  ------------------
  |  Branch (5309:3): [True: 0, False: 362k]
  ------------------
 5310|      0|    switch (B) {
 5311|      0|    default: return false;
  ------------------
  |  Branch (5311:5): [True: 0, False: 0]
  ------------------
 5312|      0|    case MCK_Mem64: return true;
  ------------------
  |  Branch (5312:5): [True: 0, False: 0]
  ------------------
 5313|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5313:5): [True: 0, False: 0]
  ------------------
 5314|      0|    }
 5315|       |
 5316|      0|  case MCK_DstIdx8:
  ------------------
  |  Branch (5316:3): [True: 0, False: 362k]
  ------------------
 5317|      0|    switch (B) {
 5318|      0|    default: return false;
  ------------------
  |  Branch (5318:5): [True: 0, False: 0]
  ------------------
 5319|      0|    case MCK_Mem8: return true;
  ------------------
  |  Branch (5319:5): [True: 0, False: 0]
  ------------------
 5320|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5320:5): [True: 0, False: 0]
  ------------------
 5321|      0|    }
 5322|       |
 5323|      0|  case MCK_MemOffs16_16:
  ------------------
  |  Branch (5323:3): [True: 0, False: 362k]
  ------------------
 5324|      0|    switch (B) {
 5325|      0|    default: return false;
  ------------------
  |  Branch (5325:5): [True: 0, False: 0]
  ------------------
 5326|      0|    case MCK_Mem16: return true;
  ------------------
  |  Branch (5326:5): [True: 0, False: 0]
  ------------------
 5327|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5327:5): [True: 0, False: 0]
  ------------------
 5328|      0|    }
 5329|       |
 5330|      0|  case MCK_MemOffs16_32:
  ------------------
  |  Branch (5330:3): [True: 0, False: 362k]
  ------------------
 5331|      0|    switch (B) {
 5332|      0|    default: return false;
  ------------------
  |  Branch (5332:5): [True: 0, False: 0]
  ------------------
 5333|      0|    case MCK_Mem32: return true;
  ------------------
  |  Branch (5333:5): [True: 0, False: 0]
  ------------------
 5334|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5334:5): [True: 0, False: 0]
  ------------------
 5335|      0|    }
 5336|       |
 5337|      0|  case MCK_MemOffs16_8:
  ------------------
  |  Branch (5337:3): [True: 0, False: 362k]
  ------------------
 5338|      0|    switch (B) {
 5339|      0|    default: return false;
  ------------------
  |  Branch (5339:5): [True: 0, False: 0]
  ------------------
 5340|      0|    case MCK_Mem8: return true;
  ------------------
  |  Branch (5340:5): [True: 0, False: 0]
  ------------------
 5341|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5341:5): [True: 0, False: 0]
  ------------------
 5342|      0|    }
 5343|       |
 5344|      0|  case MCK_MemOffs32_16:
  ------------------
  |  Branch (5344:3): [True: 0, False: 362k]
  ------------------
 5345|      0|    switch (B) {
 5346|      0|    default: return false;
  ------------------
  |  Branch (5346:5): [True: 0, False: 0]
  ------------------
 5347|      0|    case MCK_Mem16: return true;
  ------------------
  |  Branch (5347:5): [True: 0, False: 0]
  ------------------
 5348|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5348:5): [True: 0, False: 0]
  ------------------
 5349|      0|    }
 5350|       |
 5351|      0|  case MCK_MemOffs32_32:
  ------------------
  |  Branch (5351:3): [True: 0, False: 362k]
  ------------------
 5352|      0|    switch (B) {
 5353|      0|    default: return false;
  ------------------
  |  Branch (5353:5): [True: 0, False: 0]
  ------------------
 5354|      0|    case MCK_Mem32: return true;
  ------------------
  |  Branch (5354:5): [True: 0, False: 0]
  ------------------
 5355|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5355:5): [True: 0, False: 0]
  ------------------
 5356|      0|    }
 5357|       |
 5358|      0|  case MCK_MemOffs32_64:
  ------------------
  |  Branch (5358:3): [True: 0, False: 362k]
  ------------------
 5359|      0|    switch (B) {
 5360|      0|    default: return false;
  ------------------
  |  Branch (5360:5): [True: 0, False: 0]
  ------------------
 5361|      0|    case MCK_Mem64: return true;
  ------------------
  |  Branch (5361:5): [True: 0, False: 0]
  ------------------
 5362|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5362:5): [True: 0, False: 0]
  ------------------
 5363|      0|    }
 5364|       |
 5365|      0|  case MCK_MemOffs32_8:
  ------------------
  |  Branch (5365:3): [True: 0, False: 362k]
  ------------------
 5366|      0|    switch (B) {
 5367|      0|    default: return false;
  ------------------
  |  Branch (5367:5): [True: 0, False: 0]
  ------------------
 5368|      0|    case MCK_Mem8: return true;
  ------------------
  |  Branch (5368:5): [True: 0, False: 0]
  ------------------
 5369|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5369:5): [True: 0, False: 0]
  ------------------
 5370|      0|    }
 5371|       |
 5372|      0|  case MCK_MemOffs64_16:
  ------------------
  |  Branch (5372:3): [True: 0, False: 362k]
  ------------------
 5373|      0|    switch (B) {
 5374|      0|    default: return false;
  ------------------
  |  Branch (5374:5): [True: 0, False: 0]
  ------------------
 5375|      0|    case MCK_Mem16: return true;
  ------------------
  |  Branch (5375:5): [True: 0, False: 0]
  ------------------
 5376|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5376:5): [True: 0, False: 0]
  ------------------
 5377|      0|    }
 5378|       |
 5379|      0|  case MCK_MemOffs64_32:
  ------------------
  |  Branch (5379:3): [True: 0, False: 362k]
  ------------------
 5380|      0|    switch (B) {
 5381|      0|    default: return false;
  ------------------
  |  Branch (5381:5): [True: 0, False: 0]
  ------------------
 5382|      0|    case MCK_Mem32: return true;
  ------------------
  |  Branch (5382:5): [True: 0, False: 0]
  ------------------
 5383|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5383:5): [True: 0, False: 0]
  ------------------
 5384|      0|    }
 5385|       |
 5386|      0|  case MCK_MemOffs64_64:
  ------------------
  |  Branch (5386:3): [True: 0, False: 362k]
  ------------------
 5387|      0|    switch (B) {
 5388|      0|    default: return false;
  ------------------
  |  Branch (5388:5): [True: 0, False: 0]
  ------------------
 5389|      0|    case MCK_Mem64: return true;
  ------------------
  |  Branch (5389:5): [True: 0, False: 0]
  ------------------
 5390|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5390:5): [True: 0, False: 0]
  ------------------
 5391|      0|    }
 5392|       |
 5393|      0|  case MCK_MemOffs64_8:
  ------------------
  |  Branch (5393:3): [True: 0, False: 362k]
  ------------------
 5394|      0|    switch (B) {
 5395|      0|    default: return false;
  ------------------
  |  Branch (5395:5): [True: 0, False: 0]
  ------------------
 5396|      0|    case MCK_Mem8: return true;
  ------------------
  |  Branch (5396:5): [True: 0, False: 0]
  ------------------
 5397|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5397:5): [True: 0, False: 0]
  ------------------
 5398|      0|    }
 5399|       |
 5400|      0|  case MCK_SrcIdx16:
  ------------------
  |  Branch (5400:3): [True: 0, False: 362k]
  ------------------
 5401|      0|    switch (B) {
 5402|      0|    default: return false;
  ------------------
  |  Branch (5402:5): [True: 0, False: 0]
  ------------------
 5403|      0|    case MCK_Mem16: return true;
  ------------------
  |  Branch (5403:5): [True: 0, False: 0]
  ------------------
 5404|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5404:5): [True: 0, False: 0]
  ------------------
 5405|      0|    }
 5406|       |
 5407|      0|  case MCK_SrcIdx32:
  ------------------
  |  Branch (5407:3): [True: 0, False: 362k]
  ------------------
 5408|      0|    switch (B) {
 5409|      0|    default: return false;
  ------------------
  |  Branch (5409:5): [True: 0, False: 0]
  ------------------
 5410|      0|    case MCK_Mem32: return true;
  ------------------
  |  Branch (5410:5): [True: 0, False: 0]
  ------------------
 5411|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5411:5): [True: 0, False: 0]
  ------------------
 5412|      0|    }
 5413|       |
 5414|      0|  case MCK_SrcIdx64:
  ------------------
  |  Branch (5414:3): [True: 0, False: 362k]
  ------------------
 5415|      0|    switch (B) {
 5416|      0|    default: return false;
  ------------------
  |  Branch (5416:5): [True: 0, False: 0]
  ------------------
 5417|      0|    case MCK_Mem64: return true;
  ------------------
  |  Branch (5417:5): [True: 0, False: 0]
  ------------------
 5418|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5418:5): [True: 0, False: 0]
  ------------------
 5419|      0|    }
 5420|       |
 5421|      0|  case MCK_SrcIdx8:
  ------------------
  |  Branch (5421:3): [True: 0, False: 362k]
  ------------------
 5422|      0|    switch (B) {
 5423|      0|    default: return false;
  ------------------
  |  Branch (5423:5): [True: 0, False: 0]
  ------------------
 5424|      0|    case MCK_Mem8: return true;
  ------------------
  |  Branch (5424:5): [True: 0, False: 0]
  ------------------
 5425|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5425:5): [True: 0, False: 0]
  ------------------
 5426|      0|    }
 5427|       |
 5428|      0|  case MCK_AbsMem:
  ------------------
  |  Branch (5428:3): [True: 0, False: 362k]
  ------------------
 5429|      0|    return B == MCK_Mem;
 5430|       |
 5431|      0|  case MCK_Mem128:
  ------------------
  |  Branch (5431:3): [True: 0, False: 362k]
  ------------------
 5432|      0|    return B == MCK_Mem;
 5433|       |
 5434|      0|  case MCK_Mem16:
  ------------------
  |  Branch (5434:3): [True: 0, False: 362k]
  ------------------
 5435|      0|    return B == MCK_Mem;
 5436|       |
 5437|      0|  case MCK_Mem256:
  ------------------
  |  Branch (5437:3): [True: 0, False: 362k]
  ------------------
 5438|      0|    return B == MCK_Mem;
 5439|       |
 5440|      0|  case MCK_Mem32:
  ------------------
  |  Branch (5440:3): [True: 0, False: 362k]
  ------------------
 5441|      0|    return B == MCK_Mem;
 5442|       |
 5443|      0|  case MCK_Mem512:
  ------------------
  |  Branch (5443:3): [True: 0, False: 362k]
  ------------------
 5444|      0|    return B == MCK_Mem;
 5445|       |
 5446|      0|  case MCK_Mem64:
  ------------------
  |  Branch (5446:3): [True: 0, False: 362k]
  ------------------
 5447|      0|    return B == MCK_Mem;
 5448|       |
 5449|      0|  case MCK_Mem80:
  ------------------
  |  Branch (5449:3): [True: 0, False: 362k]
  ------------------
 5450|      0|    return B == MCK_Mem;
 5451|       |
 5452|      0|  case MCK_Mem8:
  ------------------
  |  Branch (5452:3): [True: 0, False: 362k]
  ------------------
 5453|      0|    return B == MCK_Mem;
 5454|       |
 5455|      0|  case MCK_MemVX32:
  ------------------
  |  Branch (5455:3): [True: 0, False: 362k]
  ------------------
 5456|      0|    return B == MCK_Mem;
 5457|       |
 5458|      0|  case MCK_MemVX32X:
  ------------------
  |  Branch (5458:3): [True: 0, False: 362k]
  ------------------
 5459|      0|    return B == MCK_Mem;
 5460|       |
 5461|      0|  case MCK_MemVX64:
  ------------------
  |  Branch (5461:3): [True: 0, False: 362k]
  ------------------
 5462|      0|    return B == MCK_Mem;
 5463|       |
 5464|      0|  case MCK_MemVX64X:
  ------------------
  |  Branch (5464:3): [True: 0, False: 362k]
  ------------------
 5465|      0|    return B == MCK_Mem;
 5466|       |
 5467|      0|  case MCK_MemVY32:
  ------------------
  |  Branch (5467:3): [True: 0, False: 362k]
  ------------------
 5468|      0|    return B == MCK_Mem;
 5469|       |
 5470|      0|  case MCK_MemVY32X:
  ------------------
  |  Branch (5470:3): [True: 0, False: 362k]
  ------------------
 5471|      0|    return B == MCK_Mem;
 5472|       |
 5473|      0|  case MCK_MemVY64:
  ------------------
  |  Branch (5473:3): [True: 0, False: 362k]
  ------------------
 5474|      0|    return B == MCK_Mem;
 5475|       |
 5476|      0|  case MCK_MemVY64X:
  ------------------
  |  Branch (5476:3): [True: 0, False: 362k]
  ------------------
 5477|      0|    return B == MCK_Mem;
 5478|       |
 5479|      0|  case MCK_MemVZ32:
  ------------------
  |  Branch (5479:3): [True: 0, False: 362k]
  ------------------
 5480|      0|    return B == MCK_Mem;
 5481|       |
 5482|      0|  case MCK_MemVZ64:
  ------------------
  |  Branch (5482:3): [True: 0, False: 362k]
  ------------------
 5483|      0|    return B == MCK_Mem;
 5484|   362k|  }
 5485|   362k|}
X86AsmParser.cpp:_ZL16matchTokenStringN7llvm_ks9StringRefE:
 4464|  8.17k|static MatchClassKind matchTokenString(StringRef Name) {
 4465|  8.17k|  switch (Name.size()) {
 4466|      0|  default: break;
  ------------------
  |  Branch (4466:3): [True: 0, False: 8.17k]
  ------------------
 4467|  5.87k|  case 1:	 // 8 strings to match.
  ------------------
  |  Branch (4467:3): [True: 5.87k, False: 2.30k]
  ------------------
 4468|  5.87k|    switch (Name[0]) {
 4469|      0|    default: break;
  ------------------
  |  Branch (4469:5): [True: 0, False: 5.87k]
  ------------------
 4470|  1.57k|    case '*':	 // 1 string to match.
  ------------------
  |  Branch (4470:5): [True: 1.57k, False: 4.30k]
  ------------------
 4471|  1.57k|      return MCK__STAR_;	 // "*"
 4472|    116|    case ':':	 // 1 string to match.
  ------------------
  |  Branch (4472:5): [True: 116, False: 5.76k]
  ------------------
 4473|    116|      return MCK__COLON_;	 // ":"
 4474|    314|    case 'b':	 // 1 string to match.
  ------------------
  |  Branch (4474:5): [True: 314, False: 5.56k]
  ------------------
 4475|    314|      return MCK_b;	 // "b"
 4476|  1.45k|    case 'd':	 // 1 string to match.
  ------------------
  |  Branch (4476:5): [True: 1.45k, False: 4.42k]
  ------------------
 4477|  1.45k|      return MCK_d;	 // "d"
 4478|  1.09k|    case 'q':	 // 1 string to match.
  ------------------
  |  Branch (4478:5): [True: 1.09k, False: 4.78k]
  ------------------
 4479|  1.09k|      return MCK_q;	 // "q"
 4480|  1.09k|    case 'w':	 // 1 string to match.
  ------------------
  |  Branch (4480:5): [True: 1.09k, False: 4.78k]
  ------------------
 4481|  1.09k|      return MCK_w;	 // "w"
 4482|    226|    case '{':	 // 1 string to match.
  ------------------
  |  Branch (4482:5): [True: 226, False: 5.65k]
  ------------------
 4483|    226|      return MCK__123_;	 // "{"
 4484|      0|    case '}':	 // 1 string to match.
  ------------------
  |  Branch (4484:5): [True: 0, False: 5.87k]
  ------------------
 4485|      0|      return MCK__125_;	 // "}"
 4486|  5.87k|    }
 4487|      0|    break;
 4488|  2.30k|  case 2:	 // 8 strings to match.
  ------------------
  |  Branch (4488:3): [True: 2.30k, False: 5.87k]
  ------------------
 4489|  2.30k|    switch (Name[0]) {
 4490|      0|    default: break;
  ------------------
  |  Branch (4490:5): [True: 0, False: 2.30k]
  ------------------
 4491|    706|    case 'p':	 // 2 strings to match.
  ------------------
  |  Branch (4491:5): [True: 706, False: 1.59k]
  ------------------
 4492|    706|      switch (Name[1]) {
 4493|      0|      default: break;
  ------------------
  |  Branch (4493:7): [True: 0, False: 706]
  ------------------
 4494|    613|      case 'd':	 // 1 string to match.
  ------------------
  |  Branch (4494:7): [True: 613, False: 93]
  ------------------
 4495|    613|        return MCK_pd;	 // "pd"
 4496|     93|      case 's':	 // 1 string to match.
  ------------------
  |  Branch (4496:7): [True: 93, False: 613]
  ------------------
 4497|     93|        return MCK_ps;	 // "ps"
 4498|    706|      }
 4499|      0|      break;
 4500|    780|    case 's':	 // 2 strings to match.
  ------------------
  |  Branch (4500:5): [True: 780, False: 1.52k]
  ------------------
 4501|    780|      switch (Name[1]) {
 4502|      0|      default: break;
  ------------------
  |  Branch (4502:7): [True: 0, False: 780]
  ------------------
 4503|    650|      case 'd':	 // 1 string to match.
  ------------------
  |  Branch (4503:7): [True: 650, False: 130]
  ------------------
 4504|    650|        return MCK_sd;	 // "sd"
 4505|    130|      case 's':	 // 1 string to match.
  ------------------
  |  Branch (4505:7): [True: 130, False: 650]
  ------------------
 4506|    130|        return MCK_ss;	 // "ss"
 4507|    780|      }
 4508|      0|      break;
 4509|    816|    case 'u':	 // 4 strings to match.
  ------------------
  |  Branch (4509:5): [True: 816, False: 1.48k]
  ------------------
 4510|    816|      switch (Name[1]) {
 4511|      0|      default: break;
  ------------------
  |  Branch (4511:7): [True: 0, False: 816]
  ------------------
 4512|    144|      case 'b':	 // 1 string to match.
  ------------------
  |  Branch (4512:7): [True: 144, False: 672]
  ------------------
 4513|    144|        return MCK_ub;	 // "ub"
 4514|    144|      case 'd':	 // 1 string to match.
  ------------------
  |  Branch (4514:7): [True: 144, False: 672]
  ------------------
 4515|    144|        return MCK_ud;	 // "ud"
 4516|    264|      case 'q':	 // 1 string to match.
  ------------------
  |  Branch (4516:7): [True: 264, False: 552]
  ------------------
 4517|    264|        return MCK_uq;	 // "uq"
 4518|    264|      case 'w':	 // 1 string to match.
  ------------------
  |  Branch (4518:7): [True: 264, False: 552]
  ------------------
 4519|    264|        return MCK_uw;	 // "uw"
 4520|    816|      }
 4521|      0|      break;
 4522|  2.30k|    }
 4523|      0|    break;
 4524|      0|  case 3:	 // 1 string to match.
  ------------------
  |  Branch (4524:3): [True: 0, False: 8.17k]
  ------------------
 4525|      0|    if (memcmp(Name.data()+0, "{z}", 3))
  ------------------
  |  Branch (4525:9): [True: 0, False: 0]
  ------------------
 4526|      0|      break;
 4527|      0|    return MCK__123_z_125_;	 // "{z}"
 4528|      0|  case 5:	 // 1 string to match.
  ------------------
  |  Branch (4528:3): [True: 0, False: 8.17k]
  ------------------
 4529|      0|    if (memcmp(Name.data()+0, "{sae}", 5))
  ------------------
  |  Branch (4529:9): [True: 0, False: 0]
  ------------------
 4530|      0|      break;
 4531|      0|    return MCK__123_sae_125_;	 // "{sae}"
 4532|      0|  case 6:	 // 3 strings to match.
  ------------------
  |  Branch (4532:3): [True: 0, False: 8.17k]
  ------------------
 4533|      0|    if (memcmp(Name.data()+0, "{1to", 4))
  ------------------
  |  Branch (4533:9): [True: 0, False: 0]
  ------------------
 4534|      0|      break;
 4535|      0|    switch (Name[4]) {
 4536|      0|    default: break;
  ------------------
  |  Branch (4536:5): [True: 0, False: 0]
  ------------------
 4537|      0|    case '2':	 // 1 string to match.
  ------------------
  |  Branch (4537:5): [True: 0, False: 0]
  ------------------
 4538|      0|      if (Name[5] != '}')
  ------------------
  |  Branch (4538:11): [True: 0, False: 0]
  ------------------
 4539|      0|        break;
 4540|      0|      return MCK__123_1to2_125_;	 // "{1to2}"
 4541|      0|    case '4':	 // 1 string to match.
  ------------------
  |  Branch (4541:5): [True: 0, False: 0]
  ------------------
 4542|      0|      if (Name[5] != '}')
  ------------------
  |  Branch (4542:11): [True: 0, False: 0]
  ------------------
 4543|      0|        break;
 4544|      0|      return MCK__123_1to4_125_;	 // "{1to4}"
 4545|      0|    case '8':	 // 1 string to match.
  ------------------
  |  Branch (4545:5): [True: 0, False: 0]
  ------------------
 4546|      0|      if (Name[5] != '}')
  ------------------
  |  Branch (4546:11): [True: 0, False: 0]
  ------------------
 4547|      0|        break;
 4548|      0|      return MCK__123_1to8_125_;	 // "{1to8}"
 4549|      0|    }
 4550|      0|    break;
 4551|      0|  case 7:	 // 3 strings to match.
  ------------------
  |  Branch (4551:3): [True: 0, False: 8.17k]
  ------------------
 4552|      0|    if (memcmp(Name.data()+0, "{1to", 4))
  ------------------
  |  Branch (4552:9): [True: 0, False: 0]
  ------------------
 4553|      0|      break;
 4554|      0|    switch (Name[4]) {
 4555|      0|    default: break;
  ------------------
  |  Branch (4555:5): [True: 0, False: 0]
  ------------------
 4556|      0|    case '1':	 // 1 string to match.
  ------------------
  |  Branch (4556:5): [True: 0, False: 0]
  ------------------
 4557|      0|      if (memcmp(Name.data()+5, "6}", 2))
  ------------------
  |  Branch (4557:11): [True: 0, False: 0]
  ------------------
 4558|      0|        break;
 4559|      0|      return MCK__123_1to16_125_;	 // "{1to16}"
 4560|      0|    case '3':	 // 1 string to match.
  ------------------
  |  Branch (4560:5): [True: 0, False: 0]
  ------------------
 4561|      0|      if (memcmp(Name.data()+5, "2}", 2))
  ------------------
  |  Branch (4561:11): [True: 0, False: 0]
  ------------------
 4562|      0|        break;
 4563|      0|      return MCK__123_1to32_125_;	 // "{1to32}"
 4564|      0|    case '6':	 // 1 string to match.
  ------------------
  |  Branch (4564:5): [True: 0, False: 0]
  ------------------
 4565|      0|      if (memcmp(Name.data()+5, "4}", 2))
  ------------------
  |  Branch (4565:11): [True: 0, False: 0]
  ------------------
 4566|      0|        break;
 4567|      0|      return MCK__123_1to64_125_;	 // "{1to64}"
 4568|      0|    }
 4569|      0|    break;
 4570|  8.17k|  }
 4571|      0|  return InvalidMatchClass;
 4572|  8.17k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser15convertToMCInstEjRN7llvm_ks6MCInstEjRKNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS5_14default_deleteIS7_EEEEEE:
 4106|  76.5k|                const OperandVector &Operands) {
 4107|  76.5k|  assert(Kind < CVT_NUM_SIGNATURES && "Invalid signature!");
  ------------------
  |  Branch (4107:3): [True: 76.5k, False: 0]
  |  Branch (4107:3): [True: 76.5k, Folded]
  |  Branch (4107:3): [True: 76.5k, False: 0]
  ------------------
 4108|  76.5k|  const uint8_t *Converter = ConversionTable[Kind];
 4109|  76.5k|  Inst.setOpcode(Opcode);
 4110|   152k|  for (const uint8_t *p = Converter; *p; p+= 2) {
  ------------------
  |  Branch (4110:38): [True: 76.2k, False: 76.5k]
  ------------------
 4111|  76.2k|    switch (*p) {
 4112|      0|    default: llvm_unreachable("invalid conversion entry!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (4112:5): [True: 0, False: 76.2k]
  ------------------
 4113|      0|    case CVT_Reg:
  ------------------
  |  Branch (4113:5): [True: 0, False: 76.2k]
  ------------------
 4114|      0|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addRegOperands(Inst, 1);
 4115|      0|      break;
 4116|    340|    case CVT_Tied:
  ------------------
  |  Branch (4116:5): [True: 340, False: 75.8k]
  ------------------
 4117|    340|      Inst.addOperand(Inst.getOperand(*(p + 1)));
 4118|    340|      break;
 4119|     10|    case CVT_imm_95_10:
  ------------------
  |  Branch (4119:5): [True: 10, False: 76.2k]
  ------------------
 4120|     10|      Inst.addOperand(MCOperand::createImm(10));
 4121|     10|      break;
 4122|    689|    case CVT_95_addImmOperands:
  ------------------
  |  Branch (4122:5): [True: 689, False: 75.5k]
  ------------------
 4123|    689|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addImmOperands(Inst, 1);
 4124|    689|      break;
 4125|     50|    case CVT_regAX:
  ------------------
  |  Branch (4125:5): [True: 50, False: 76.1k]
  ------------------
 4126|     50|      Inst.addOperand(MCOperand::createReg(X86::AX));
 4127|     50|      break;
 4128|      5|    case CVT_regEAX:
  ------------------
  |  Branch (4128:5): [True: 5, False: 76.2k]
  ------------------
 4129|      5|      Inst.addOperand(MCOperand::createReg(X86::EAX));
 4130|      5|      break;
 4131|     15|    case CVT_regRAX:
  ------------------
  |  Branch (4131:5): [True: 15, False: 76.1k]
  ------------------
 4132|     15|      Inst.addOperand(MCOperand::createReg(X86::RAX));
 4133|     15|      break;
 4134|    686|    case CVT_95_Reg:
  ------------------
  |  Branch (4134:5): [True: 686, False: 75.5k]
  ------------------
 4135|    686|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addRegOperands(Inst, 1);
 4136|    686|      break;
 4137|  6.45k|    case CVT_95_addMemOperands:
  ------------------
  |  Branch (4137:5): [True: 6.45k, False: 69.7k]
  ------------------
 4138|  6.45k|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addMemOperands(Inst, 5);
 4139|  6.45k|      break;
 4140|  57.2k|    case CVT_95_addAbsMemOperands:
  ------------------
  |  Branch (4140:5): [True: 57.2k, False: 18.9k]
  ------------------
 4141|  57.2k|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addAbsMemOperands(Inst, 1);
 4142|  57.2k|      break;
 4143|  4.83k|    case CVT_95_addDstIdxOperands:
  ------------------
  |  Branch (4143:5): [True: 4.83k, False: 71.3k]
  ------------------
 4144|  4.83k|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addDstIdxOperands(Inst, 1);
 4145|  4.83k|      break;
 4146|  5.15k|    case CVT_95_addSrcIdxOperands:
  ------------------
  |  Branch (4146:5): [True: 5.15k, False: 71.0k]
  ------------------
 4147|  5.15k|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addSrcIdxOperands(Inst, 2);
 4148|  5.15k|      break;
 4149|      0|    case CVT_95_addGR32orGR64Operands:
  ------------------
  |  Branch (4149:5): [True: 0, False: 76.2k]
  ------------------
 4150|      0|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addGR32orGR64Operands(Inst, 1);
 4151|      0|      break;
 4152|    110|    case CVT_regST1:
  ------------------
  |  Branch (4152:5): [True: 110, False: 76.1k]
  ------------------
 4153|    110|      Inst.addOperand(MCOperand::createReg(X86::ST1));
 4154|    110|      break;
 4155|      0|    case CVT_regST0:
  ------------------
  |  Branch (4155:5): [True: 0, False: 76.2k]
  ------------------
 4156|      0|      Inst.addOperand(MCOperand::createReg(X86::ST0));
 4157|      0|      break;
 4158|    565|    case CVT_95_addMemOffsOperands:
  ------------------
  |  Branch (4158:5): [True: 565, False: 75.6k]
  ------------------
 4159|    565|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addMemOffsOperands(Inst, 2);
 4160|    565|      break;
 4161|      0|    case CVT_imm_95_17:
  ------------------
  |  Branch (4161:5): [True: 0, False: 76.2k]
  ------------------
 4162|      0|      Inst.addOperand(MCOperand::createImm(17));
 4163|      0|      break;
 4164|      0|    case CVT_imm_95_1:
  ------------------
  |  Branch (4164:5): [True: 0, False: 76.2k]
  ------------------
 4165|      0|      Inst.addOperand(MCOperand::createImm(1));
 4166|      0|      break;
 4167|      0|    case CVT_imm_95_16:
  ------------------
  |  Branch (4167:5): [True: 0, False: 76.2k]
  ------------------
 4168|      0|      Inst.addOperand(MCOperand::createImm(16));
 4169|      0|      break;
 4170|      0|    case CVT_imm_95_0:
  ------------------
  |  Branch (4170:5): [True: 0, False: 76.2k]
  ------------------
 4171|      0|      Inst.addOperand(MCOperand::createImm(0));
 4172|      0|      break;
 4173|      0|    case CVT_95_addAVX512RCOperands:
  ------------------
  |  Branch (4173:5): [True: 0, False: 76.2k]
  ------------------
 4174|      0|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addAVX512RCOperands(Inst, 1);
 4175|      0|      break;
 4176|  76.2k|    }
 4177|  76.2k|  }
 4178|  76.5k|}
X86AsmParser.cpp:_ZL23getSubtargetFeatureNamem:
  905|      3|static const char *getSubtargetFeatureName(uint64_t Val) {
  906|      3|  switch(Val) {
  907|      0|  case Feature_HasAVX512: return "AVX-512 ISA";
  ------------------
  |  Branch (907:3): [True: 0, False: 3]
  ------------------
  908|      0|  case Feature_HasCDI: return "AVX-512 CD ISA";
  ------------------
  |  Branch (908:3): [True: 0, False: 3]
  ------------------
  909|      0|  case Feature_HasPFI: return "AVX-512 PF ISA";
  ------------------
  |  Branch (909:3): [True: 0, False: 3]
  ------------------
  910|      0|  case Feature_HasERI: return "AVX-512 ER ISA";
  ------------------
  |  Branch (910:3): [True: 0, False: 3]
  ------------------
  911|      0|  case Feature_HasDQI: return "AVX-512 DQ ISA";
  ------------------
  |  Branch (911:3): [True: 0, False: 3]
  ------------------
  912|      0|  case Feature_HasBWI: return "AVX-512 BW ISA";
  ------------------
  |  Branch (912:3): [True: 0, False: 3]
  ------------------
  913|      0|  case Feature_HasVLX: return "AVX-512 VL ISA";
  ------------------
  |  Branch (913:3): [True: 0, False: 3]
  ------------------
  914|      0|  case Feature_HasVBMI: return "AVX-512 VBMI ISA";
  ------------------
  |  Branch (914:3): [True: 0, False: 3]
  ------------------
  915|      0|  case Feature_HasIFMA: return "AVX-512 IFMA ISA";
  ------------------
  |  Branch (915:3): [True: 0, False: 3]
  ------------------
  916|      1|  case Feature_Not64BitMode: return "Not 64-bit mode";
  ------------------
  |  Branch (916:3): [True: 1, False: 2]
  ------------------
  917|      2|  case Feature_In64BitMode: return "64-bit mode";
  ------------------
  |  Branch (917:3): [True: 2, False: 1]
  ------------------
  918|      0|  case Feature_In16BitMode: return "16-bit mode";
  ------------------
  |  Branch (918:3): [True: 0, False: 3]
  ------------------
  919|      0|  case Feature_Not16BitMode: return "Not 16-bit mode";
  ------------------
  |  Branch (919:3): [True: 0, False: 3]
  ------------------
  920|      0|  case Feature_In32BitMode: return "32-bit mode";
  ------------------
  |  Branch (920:3): [True: 0, False: 3]
  ------------------
  921|      0|  default: return "(unknown)";
  ------------------
  |  Branch (921:3): [True: 0, False: 3]
  ------------------
  922|      3|  }
  923|      3|}

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

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

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

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

