Displaying 1 result from an estimated 1 matches for "leftshuffl".
Did you mean:
leftshuffle
2012 Apr 12
0
[LLVMdev] detection of constant diagonal matrix * vector
...dyn_cast<BinaryOperator>(LHS);
BinaryOperator* rightMul = dyn_cast<BinaryOperator>(RHS);
if (leftMul != NULL && rightMul != NULL && leftMul->getOpcode() ==
Instruction::FMul && rightMul->getOpcode() == Instruction::FMul)
{
ShuffleVectorInst* leftShuffle =
dyn_cast<ShuffleVectorInst>(leftMul->getOperand(0));
ShuffleVectorInst* rightShuffle =
dyn_cast<ShuffleVectorInst>(rightMul->getOperand(0));
// get multiplication constant vectors (e.g. [0 1])
ConstantVector* leftConstVector =
llvm::dyn_cast<ConstantVector...