Lines Matching defs:getOpcode
43 /// getOpcode - Return the opcode for this Instruction or ConstantExpr.
45 unsigned getOpcode() const {
47 return I->getOpcode();
48 return cast<ConstantExpr>(this)->getOpcode();
51 /// getOpcode - If V is an Instruction or ConstantExpr, return its
54 static unsigned getOpcode(const Value *V) {
56 return I->getOpcode();
58 return CE->getOpcode();
110 return I->getOpcode() == Instruction::Add ||
111 I->getOpcode() == Instruction::Sub ||
112 I->getOpcode() == Instruction::Mul ||
113 I->getOpcode() == Instruction::Shl;
116 return CE->getOpcode() == Instruction::Add ||
117 CE->getOpcode() == Instruction::Sub ||
118 CE->getOpcode() == Instruction::Mul ||
119 CE->getOpcode() == Instruction::Shl;
158 return isPossiblyExactOpcode(CE->getOpcode());
161 return isPossiblyExactOpcode(I->getOpcode());
202 return I->getOpcode() == Opc;
205 return CE->getOpcode() == Opc;