Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:Cst

4364   // fold (sext (and/or/xor (load x), cst)) ->
4365 // (and/or/xor (sextload x), (sext cst))
4588 // Fold (zext (and (trunc x), cst)) -> (and x, cst),
4638 // fold (zext (and/or/xor (load x), cst)) ->
4639 // (and/or/xor (zextload x), (zext cst))
4748 // (zext (shl (zext x), cst)) -> (shl (zext x), cst)
4819 // Fold (aext (and (trunc x), cst)) -> (and x, cst)
5457 // fold (bitconvert (fcopysign cst, x)) ->
5458 // (or (and (bitconvert x), sign), (and cst, (not sign)))
5459 // Note that we don't handle (copysign x, cst) because this can always be
5492 SDValue Cst = DAG.getNode(ISD::BITCAST, N0.getDebugLoc(),
5494 Cst = DAG.getNode(ISD::AND, Cst.getDebugLoc(), VT,
5495 Cst, DAG.getConstant(~SignBit, VT));
5496 AddToWorkList(Cst.getNode());
5498 return DAG.getNode(ISD::OR, N->getDebugLoc(), VT, X, Cst);
7288 // If this is "store (or X, Y), P" and X is "(and (load P), cst)", where cst