search for: rightshuffle

Displaying 1 result from an estimated 1 matches for "rightshuffle".

2012 Apr 12
0
[LLVMdev] detection of constant diagonal matrix * vector
...S); 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>(leftMul->getOperand(1)); ConstantVector* rightConstVector = llvm::dyn_cast<ConstantVec...