Lines Matching defs:getOpcode
84 unsigned Opcode = OriginalInstr->getOpcode();
88 return I->getOpcode() == Opcode &&
120 if (VPI->getOpcode() == Instruction::Load &&
167 cast<VPInstruction>(Values[0])->getOpcode());
175 switch (VPI->getOpcode()) {
191 static std::optional<unsigned> getOpcode(ArrayRef<VPValue *> Values) {
192 unsigned Opcode = cast<VPInstruction>(Values[0])->getOpcode();
194 return cast<VPInstruction>(V)->getOpcode() != Opcode;
204 if (A->getOpcode() != B->getOpcode())
207 if (A->getOpcode() != Instruction::Load &&
208 A->getOpcode() != Instruction::Store)
306 if (cast<VPInstruction>(Operands.second[0])->getOpcode() ==
390 assert(getOpcode(Values) && "Opcodes for all values must match");
391 unsigned ValuesOpcode = *getOpcode(Values);
403 auto OperandsOpcode = getOpcode(Operands);
404 if (OperandsOpcode && OperandsOpcode == getOpcode(Values)) {