Lines Matching defs:getOpcode
81 /// getOpcode() returns a member of one of the enums like Instruction::Add.
82 unsigned getOpcode() const { return getValueID() - InstructionVal; }
84 const char *getOpcodeName() const { return getOpcodeName(getOpcode()); }
85 bool isTerminator() const { return isTerminator(getOpcode()); }
86 bool isBinaryOp() const { return isBinaryOp(getOpcode()); }
87 bool isShift() { return isShift(getOpcode()); }
88 bool isCast() const { return isCast(getOpcode()); }
108 return getOpcode() == Shl || getOpcode() == LShr;
113 return getOpcode() == AShr;
205 bool isAssociative() const { return isAssociative(getOpcode()); }
215 bool isCommutative() const { return isCommutative(getOpcode()); }
224 bool isIdempotent() const { return isIdempotent(getOpcode()); }
236 bool isNilpotent() const { return isNilpotent(getOpcode()); }