Searched refs:ZMask (Results 1 – 4 of 4) sorted by relevance
34 unsigned ZMask = Imm & 15; in DecodeINSERTPSMask() local43 if (ZMask & 1) ShuffleMask[0] = SM_SentinelZero; in DecodeINSERTPSMask()44 if (ZMask & 2) ShuffleMask[1] = SM_SentinelZero; in DecodeINSERTPSMask()45 if (ZMask & 4) ShuffleMask[2] = SM_SentinelZero; in DecodeINSERTPSMask()46 if (ZMask & 8) ShuffleMask[3] = SM_SentinelZero; in DecodeINSERTPSMask()
1643 uint8_t ZMask = Imm & 0xf; in simplifyX86insertps() local1651 if (ZMask == 0xf) in simplifyX86insertps()1660 if (ZMask) { in simplifyX86insertps()1664 (ZMask & (1 << DestLane))) { in simplifyX86insertps()1671 if ((ZMask >> i) & 0x1) in simplifyX86insertps()
2436 unsigned ZMask = Imm & 15; in commuteInstructionImpl() local2442 if (DstIdx == SrcIdx && (ZMask & (1 << DstIdx)) == 0 && in commuteInstructionImpl()2443 llvm::popcount(ZMask) == 2) { in commuteInstructionImpl()2444 unsigned AltIdx = llvm::countr_zero((ZMask | (1 << DstIdx)) ^ 15); in commuteInstructionImpl()2446 unsigned AltImm = (AltIdx << 6) | (AltIdx << 4) | ZMask; in commuteInstructionImpl()7198 unsigned ZMask = Imm & 15; in foldMemoryOperandCustom() local7208 unsigned NewImm = (DstIdx << 4) | ZMask; in foldMemoryOperandCustom()
6605 unsigned ZMask = Zeroable.to_ulong(); in LowerBuildVectorv4x32() local6607 unsigned InsertPSMask = EltMaskIdx << 6 | EltIdx << 4 | ZMask; in LowerBuildVectorv4x32()12559 unsigned ZMask = 0; in matchShuffleAsInsertPS() local12567 ZMask |= 1 << i; in matchShuffleAsInsertPS()12617 InsertPSMask = VBSrcIndex << 6 | VBDstIndex << 4 | ZMask; in matchShuffleAsInsertPS()