Lines Matching refs:getOpcode
93 unsigned Opcode = OriginalInstr->getOpcode(); in areVectorizable()
97 return I->getOpcode() == Opcode && in areVectorizable()
127 if (VPI->getOpcode() == Instruction::Load && in areVectorizable()
173 cast<VPInstruction>(Values[0])->getOpcode()); in areCommutative()
181 switch (VPI->getOpcode()) { in getOperands()
197 static Optional<unsigned> getOpcode(ArrayRef<VPValue *> Values) { in getOpcode() function
198 unsigned Opcode = cast<VPInstruction>(Values[0])->getOpcode(); in getOpcode()
200 return cast<VPInstruction>(V)->getOpcode() != Opcode; in getOpcode()
210 if (A->getOpcode() != B->getOpcode()) in areConsecutiveOrMatch()
213 if (A->getOpcode() != Instruction::Load && in areConsecutiveOrMatch()
214 A->getOpcode() != Instruction::Store) in areConsecutiveOrMatch()
310 if (cast<VPInstruction>(Operands.second[0])->getOpcode() == in reorderMultiNodeOps()
389 assert(getOpcode(Values) && "Opcodes for all values must match"); in buildGraph()
390 unsigned ValuesOpcode = getOpcode(Values).getValue(); in buildGraph()
402 auto OperandsOpcode = getOpcode(Operands); in buildGraph()
403 if (OperandsOpcode && OperandsOpcode == getOpcode(Values)) { in buildGraph()