• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/llvmCore-3425.0.34/utils/TableGen/

Lines Matching refs:index

214   for (unsigned index = 0; index < 256; ++index) {
215 if (decision.instructionIDs[index] != decision.instructionIDs[0])
218 if (((index & 0xc0) == 0xc0) &&
219 (decision.instructionIDs[index] != decision.instructionIDs[0xc0]))
222 if (((index & 0xc0) != 0xc0) &&
223 (decision.instructionIDs[index] != decision.instructionIDs[0x00]))
226 if (((index & 0xc0) == 0xc0) &&
227 (decision.instructionIDs[index] != decision.instructionIDs[index&0xf8]))
230 if (((index & 0xc0) != 0xc0) &&
231 (decision.instructionIDs[index] != decision.instructionIDs[index&0x38]))
334 for (unsigned index = 0; index < 64; index += 8)
335 emitOneID(o1, i1, decision.instructionIDs[index], true);
336 for (unsigned index = 0xc0; index < 256; index += 8)
337 emitOneID(o1, i1, decision.instructionIDs[index], true);
340 for (unsigned index = 0; index < 64; index += 8)
341 emitOneID(o1, i1, decision.instructionIDs[index], true);
342 for (unsigned index = 0xc0; index < 256; ++index)
343 emitOneID(o1, i1, decision.instructionIDs[index], true);
346 for (unsigned index = 0; index < 256; ++index)
347 emitOneID(o1, i1, decision.instructionIDs[index], true);
382 // We assume that the index can fit into uint16_t.
397 for (unsigned index = 0; index < 256; ++index) {
400 o2 << "/* 0x" << format("%02hhx", index) << " */" << "\n";
402 emitModRMDecision(o1, o2, i1, i2, decision.modRMDecisions[index]);
404 if (index < 255)
425 for (unsigned index = 0; index < IC_max; ++index) {
427 o2 << stringForContext((InstructionContext)index);
431 emitOpcodeDecision(o1, o2, i1, i2, decision.opcodeDecisions[index]);
433 if (index + 1 < IC_max)
486 for (unsigned index = 0; index < NumInstructions; ++index) {
487 o.indent(i * 2) << "{ /* " << index << " */" << "\n";
491 (ModifierType)InstructionSpecifiers[index].modifierType);
495 o << format("%02hhx", (uint16_t)InstructionSpecifiers[index].modifierBase);
502 stringForOperandEncoding((OperandEncoding)InstructionSpecifiers[index]
505 stringForOperandType((OperandType)InstructionSpecifiers[index]
511 o.indent(i * 2) << "/* " << InstructionSpecifiers[index].name << " */";
517 if (index + 1 < NumInstructions)
532 for (unsigned index = 0; index < 256; ++index) {
535 if ((index & ATTR_VEXL) && (index & ATTR_REXW) && (index & ATTR_OPSIZE))
537 else if ((index & ATTR_VEXL) && (index & ATTR_OPSIZE))
539 else if ((index & ATTR_VEXL) && (index & ATTR_XD))
541 else if ((index & ATTR_VEXL) && (index & ATTR_XS))
543 else if ((index & ATTR_VEX) && (index & ATTR_REXW) && (index & ATTR_OPSIZE))
545 else if ((index & ATTR_VEX) && (index & ATTR_REXW) && (index & ATTR_XD))
547 else if ((index & ATTR_VEX) && (index & ATTR_REXW) && (index & ATTR_XS))
549 else if (index & ATTR_VEXL)
551 else if ((index & ATTR_VEX) && (index & ATTR_REXW))
553 else if ((index & ATTR_VEX) && (index & ATTR_OPSIZE))
555 else if ((index & ATTR_VEX) && (index & ATTR_XD))
557 else if ((index & ATTR_VEX) && (index & ATTR_XS))
559 else if (index & ATTR_VEX)
561 else if ((index & ATTR_64BIT) && (index & ATTR_REXW) && (index & ATTR_XS))
563 else if ((index & ATTR_64BIT) && (index & ATTR_REXW) && (index & ATTR_XD))
565 else if ((index & ATTR_64BIT) && (index & ATTR_REXW) &&
566 (index & ATTR_OPSIZE))
568 else if ((index & ATTR_64BIT) && (index & ATTR_XD) && (index & ATTR_OPSIZE))
570 else if ((index & ATTR_64BIT) && (index & ATTR_XS) && (index & ATTR_OPSIZE))
572 else if ((index & ATTR_64BIT) && (index & ATTR_XS))
574 else if ((index & ATTR_64BIT) && (index & ATTR_XD))
576 else if ((index & ATTR_64BIT) && (index & ATTR_OPSIZE))
578 else if ((index & ATTR_64BIT) && (index & ATTR_ADSIZE))
580 else if ((index & ATTR_64BIT) && (index & ATTR_REXW))
582 else if ((index & ATTR_64BIT))
584 else if ((index & ATTR_XS) && (index & ATTR_OPSIZE))
586 else if ((index & ATTR_XD) && (index & ATTR_OPSIZE))
588 else if (index & ATTR_XS)
590 else if (index & ATTR_XD)
592 else if (index & ATTR_OPSIZE)
594 else if (index & ATTR_ADSIZE)
599 if (index < 255)
604 o << " /* " << index << " */";
658 for (unsigned index = 0; index < 256; ++index) {
659 if (filter.accepts(index)) {
660 if (decision.instructionIDs[index] == uid)
663 if (decision.instructionIDs[index] != 0) {
667 InstructionSpecifiers[decision.instructionIDs[index]];
686 errs() << "ModRM " << index << "\n";
693 decision.instructionIDs[index] = uid;
707 for (unsigned index = 0; index < IC_max; ++index) {
708 if (is32bit && inheritsFrom((InstructionContext)index, IC_64BIT))
711 if (inheritsFrom((InstructionContext)index,
713 setTableFields(decision.opcodeDecisions[index].modRMDecisions[opcode],