Lines Matching defs:Opcode
190 const char *Instruction::getOpcodeName(unsigned OpCode) {
191 switch (OpCode) {
339 // We have two instructions of identical opcode and #operands. Check to see
368 // We have two instructions of identical opcode and #operands. Check to see
459 bool Instruction::isAssociative(unsigned Opcode) {
460 return Opcode == And || Opcode == Or || Opcode == Xor ||
461 Opcode == Add || Opcode == Mul;
465 unsigned Opcode = getOpcode();
466 if (isAssociative(Opcode))
469 switch (Opcode) {
506 bool Instruction::isIdempotent(unsigned Opcode) {
507 return Opcode == And || Opcode == Or;
519 bool Instruction::isNilpotent(unsigned Opcode) {
520 return Opcode == Xor;