Lines Matching defs:EdgeMask
8166 VPValue *EdgeMask = getVPValueOrAddLiveIn(BI->getCondition());
8167 assert(EdgeMask && "No Edge Mask found for condition");
8170 EdgeMask = Builder.createNot(EdgeMask, BI->getDebugLoc());
8173 // The bitwise 'And' of SrcMask and EdgeMask introduces new UB if SrcMask
8174 // is false and EdgeMask is poison. Avoid that by using 'LogicalAnd'
8175 // instead which generates 'select i1 SrcMask, i1 EdgeMask, i1 false'.
8176 EdgeMask = Builder.createLogicalAnd(SrcMask, EdgeMask, BI->getDebugLoc());
8179 return EdgeMaskCache[Edge] = EdgeMask;
8240 VPValue *EdgeMask = createEdgeMask(Predecessor, BB);
8241 if (!EdgeMask) { // Mask of predecessor is all-one so mask of block is too.
8242 BlockMaskCache[BB] = EdgeMask;
8247 BlockMask = EdgeMask;
8251 BlockMask = Builder.createOr(BlockMask, EdgeMask, {});
8413 VPValue *EdgeMask =
8415 if (!EdgeMask) {
8421 OperandsWithMask.push_back(EdgeMask);