Displaying 1 result from an estimated 1 matches for "leftconst".
Did you mean:
leftconsts
2012 Apr 12
0
[LLVMdev] detection of constant diagonal matrix * vector
...tion::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<ConstantVector>(rightMul->getOperand(1));
if (leftShuffle != NULL && rightShuffle != NULL && leftConstVector
!= NULL && rightCons...