Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:Cst

4067   // fold (sext (and/or/xor (load x), cst)) ->
4068 // (and/or/xor (sextload x), (sext cst))
4220 // Fold (zext (and (trunc x), cst)) -> (and x, cst),
4270 // fold (zext (and/or/xor (load x), cst)) ->
4271 // (and/or/xor (zextload x), (zext cst))
4380 // (zext (shl (zext x), cst)) -> (shl (zext x), cst)
4451 // Fold (aext (and (trunc x), cst)) -> (and x, cst)
5035 // fold (bitconvert (fcopysign cst, x)) ->
5036 // (or (and (bitconvert x), sign), (and cst, (not sign)))
5037 // Note that we don't handle (copysign x, cst) because this can always be
5070 SDValue Cst = DAG.getNode(ISD::BITCAST, N0.getDebugLoc(),
5072 Cst = DAG.getNode(ISD::AND, Cst.getDebugLoc(), VT,
5073 Cst, DAG.getConstant(~SignBit, VT));
5074 AddToWorkList(Cst.getNode());
5076 return DAG.getNode(ISD::OR, N->getDebugLoc(), VT, X, Cst);
6407 // If this is "store (or X, Y), P" and X is "(and (load P), cst)", where cst