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