Lines Matching defs:Opcode
186 const char *Instruction::getOpcodeName(unsigned OpCode) {
187 switch (OpCode) {
277 // We have two instructions of identical opcode and #operands. Check to see
345 // We have two instructions of identical opcode and #operands. Check to see
476 bool Instruction::isAssociative(unsigned Opcode) {
477 return Opcode == And || Opcode == Or || Opcode == Xor ||
478 Opcode == Add || Opcode == Mul;
482 unsigned Opcode = getOpcode();
483 if (isAssociative(Opcode))
486 switch (Opcode) {
523 bool Instruction::isIdempotent(unsigned Opcode) {
524 return Opcode == And || Opcode == Or;
536 bool Instruction::isNilpotent(unsigned Opcode) {
537 return Opcode == Xor;