search for: rightmask

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

2012 Apr 12
0
[LLVMdev] detection of constant diagonal matrix * vector
...if (value == rightShuffle->getOperand(0)) { int numElements = cast<VectorType>(I.getType())->getNumElements(); // get shuffle masks (e.g. .xx) SmallVector<int, 8> leftMask(numElements); SmallVector<int, 8> rightMask(numElements); getIntVector(leftShuffle->getOperand(2), leftMask); getIntVector(rightShuffle->getOperand(2), rightMask); SmallVector<Constant*, 8> leftConsts; SmallVector<Constant*, 8> rightConsts; leftConstVector-&g...