Searched refs:CTVT (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 4287 EVT CTVT = CTPOP.getValueType(); in simplifySetCCWithCTPOP() local 4295 if (CTVT.isVector() && TLI.isCtpopFast(CTVT)) in simplifySetCCWithCTPOP() 4298 unsigned CostLimit = TLI.getCustomCtpopCost(CTVT, Cond); in simplifySetCCWithCTPOP() 4306 SDValue NegOne = DAG.getAllOnesConstant(dl, CTVT); in simplifySetCCWithCTPOP() 4309 SDValue Add = DAG.getNode(ISD::ADD, dl, CTVT, Result, NegOne); in simplifySetCCWithCTPOP() 4310 Result = DAG.getNode(ISD::AND, dl, CTVT, Result, Add); in simplifySetCCWithCTPOP() 4313 return DAG.getSetCC(dl, VT, Result, DAG.getConstant(0, dl, CTVT), CC); in simplifySetCCWithCTPOP() 4319 if (TLI.isCtpopFast(CTVT)) in simplifySetCCWithCTPOP() 4322 SDValue Zero = DAG.getConstant(0, dl, CTVT); in simplifySetCCWithCTPOP() 4323 SDValue NegOne = DAG.getAllOnesConstant(dl, CTVT); in simplifySetCCWithCTPOP() [all …]
|