Lines Matching defs:getOpcode
85 /// getOpcode() returns a member of one of the enums like Instruction::Add.
86 unsigned getOpcode() const { return getValueID() - InstructionVal; }
88 const char *getOpcodeName() const { return getOpcodeName(getOpcode()); }
89 bool isTerminator() const { return isTerminator(getOpcode()); }
90 bool isBinaryOp() const { return isBinaryOp(getOpcode()); }
91 bool isShift() { return isShift(getOpcode()); }
92 bool isCast() const { return isCast(getOpcode()); }
112 return getOpcode() == Shl || getOpcode() == LShr;
117 return getOpcode() == AShr;
287 bool isCommutative() const { return isCommutative(getOpcode()); }
296 bool isIdempotent() const { return isIdempotent(getOpcode()); }
308 bool isNilpotent() const { return isNilpotent(getOpcode()); }