Lines Matching refs:getOpcode
40 /// getOpcode - Return the opcode for this Instruction or ConstantExpr.
42 unsigned getOpcode() const {
44 return I->getOpcode();
45 return cast<ConstantExpr>(this)->getOpcode();
48 /// getOpcode - If V is an Instruction or ConstantExpr, return its
51 static unsigned getOpcode(const Value *V) {
53 return I->getOpcode();
55 return CE->getOpcode();
107 return I->getOpcode() == Instruction::Add ||
108 I->getOpcode() == Instruction::Sub ||
109 I->getOpcode() == Instruction::Mul ||
110 I->getOpcode() == Instruction::Shl;
113 return CE->getOpcode() == Instruction::Add ||
114 CE->getOpcode() == Instruction::Sub ||
115 CE->getOpcode() == Instruction::Mul ||
116 CE->getOpcode() == Instruction::Shl;
154 return isPossiblyExactOpcode(CE->getOpcode());
157 return isPossiblyExactOpcode(I->getOpcode());
177 return I->getOpcode() == Opc;
180 return CE->getOpcode() == Opc;