reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  246     ITInst.addOperand(MCOperand::createImm(ITState.Cond));
  247     ITInst.addOperand(MCOperand::createImm(ITState.Mask));
  258     ITState.Mask = 0;
  259     ITState.CurPosition = ~0U;
  262   bool inITBlock() { return ITState.CurPosition != ~0U; }
  263   bool inExplicitITBlock() { return inITBlock() && ITState.IsExplicit; }
  264   bool inImplicitITBlock() { return inITBlock() && !ITState.IsExplicit; }
  267     return ITState.CurPosition == 4 - countTrailingZeros(ITState.Mask);
  267     return ITState.CurPosition == 4 - countTrailingZeros(ITState.Mask);
  275     unsigned TZ = countTrailingZeros(ITState.Mask);
  276     if (++ITState.CurPosition == 5 - TZ && ITState.IsExplicit)
  276     if (++ITState.CurPosition == 5 - TZ && ITState.IsExplicit)
  277       ITState.CurPosition = ~0U; // Done with the IT block after this.
  283     assert(ITState.CurPosition > 1);
  284     ITState.CurPosition--;
  285     unsigned TZ = countTrailingZeros(ITState.Mask);
  287     NewMask |= ITState.Mask & (0xC << TZ);
  289     ITState.Mask = NewMask;
  296     assert(ITState.CurPosition == 1);
  297     ITState.CurPosition = ~0U;
  307     unsigned MaskBit = extractITMaskBit(ITState.Mask, ITState.CurPosition);
  307     unsigned MaskBit = extractITMaskBit(ITState.Mask, ITState.CurPosition);
  308     return MaskBit ? ARMCC::getOppositeCondition(ITState.Cond) : ITState.Cond;
  308     return MaskBit ? ARMCC::getOppositeCondition(ITState.Cond) : ITState.Cond;
  314     if (ITState.CurPosition == 1) {
  315       ITState.Cond = ARMCC::getOppositeCondition(ITState.Cond);
  315       ITState.Cond = ARMCC::getOppositeCondition(ITState.Cond);
  317       ITState.Mask ^= 1 << (5 - ITState.CurPosition);
  317       ITState.Mask ^= 1 << (5 - ITState.CurPosition);
  323     return inITBlock() && (ITState.Mask & 1);
  331     assert(Cond == ITState.Cond ||
  332            Cond == ARMCC::getOppositeCondition(ITState.Cond));
  333     unsigned TZ = countTrailingZeros(ITState.Mask);
  336     NewMask |= ITState.Mask & (0xE << TZ);
  338     NewMask |= (Cond != ITState.Cond) << TZ;
  341     ITState.Mask = NewMask;
  347     ITState.Cond = ARMCC::AL;
  348     ITState.Mask = 8;
  349     ITState.CurPosition = 1;
  350     ITState.IsExplicit = false;
  359     ITState.Cond = Cond;
  360     ITState.Mask = Mask;
  361     ITState.CurPosition = 0;
  362     ITState.IsExplicit = true;
  622     ITState.CurPosition = ~0U;
10332     extendImplicitITBlock(ITState.Cond);
10390       ITState.Cond =