Lines Matching refs:PSHUFB
851 Value *Builder::PSHUFB(Value* a, Value* b)
854 // use avx2 pshufb instruction if available
1244 Value* vShufResult = BITCAST(PSHUFB(BITCAST(vGatherInput[0], v32x8Ty), vConstMask), vGatherTy);
1245 // after pshufb: group components together in each 128bit lane
1258 Value* vShufResult = BITCAST(PSHUFB(BITCAST(vGatherInput[1], v32x8Ty), vConstMask), vGatherTy);
1286 // pshufb masks for each component
1308 // select correct constMask for x/z or y/w pshufb
1313 vGatherOutput[swizzleIndex] = BITCAST(PSHUFB(BITCAST(vGatherInput[selectedGather], v32x8Ty), vConstMask[selectedMask]), vGatherTy);
1314 // after pshufb mask for x channel; z uses the same shuffle from the second gather
1333 Value* vShufResult = BITCAST(PSHUFB(BITCAST(vGatherInput, v32x8Ty), vConstMask), vGatherTy);
1334 // after pshufb: group components together in each 128bit lane
1384 // pshufb masks for each component
1413 vGatherOutput[swizzleIndex] = BITCAST(PSHUFB(BITCAST(vGatherInput, v32x8Ty), vConstMask), vGatherTy);
1414 // after pshufb for x channel