Home
last modified time | relevance | path

Searched refs:CTVT (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4497 EVT CTVT = CTPOP.getValueType(); in simplifySetCCWithCTPOP() local
4505 if (CTVT.isVector() && TLI.isCtpopFast(CTVT)) in simplifySetCCWithCTPOP()
4508 unsigned CostLimit = TLI.getCustomCtpopCost(CTVT, Cond); in simplifySetCCWithCTPOP()
4516 SDValue NegOne = DAG.getAllOnesConstant(dl, CTVT); in simplifySetCCWithCTPOP()
4519 SDValue Add = DAG.getNode(ISD::ADD, dl, CTVT, Result, NegOne); in simplifySetCCWithCTPOP()
4520 Result = DAG.getNode(ISD::AND, dl, CTVT, Result, Add); in simplifySetCCWithCTPOP()
4523 return DAG.getSetCC(dl, VT, Result, DAG.getConstant(0, dl, CTVT), CC); in simplifySetCCWithCTPOP()
4529 if (TLI.isCtpopFast(CTVT)) in simplifySetCCWithCTPOP()
4532 SDValue Zero = DAG.getConstant(0, dl, CTVT); in simplifySetCCWithCTPOP()
4533 SDValue NegOne = DAG.getAllOnesConstant(dl, CTVT); in simplifySetCCWithCTPOP()
[all …]