Searched refs:CondLHS (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | JumpThreading.cpp | 2856 PHINode *CondLHS = dyn_cast<PHINode>(CondCmp->getOperand(0)); in tryToUnfoldSelect() local 2859 if (!CondBr || !CondBr->isConditional() || !CondLHS || in tryToUnfoldSelect() 2860 CondLHS->getParent() != BB) in tryToUnfoldSelect() 2863 for (unsigned I = 0, E = CondLHS->getNumIncomingValues(); I != E; ++I) { in tryToUnfoldSelect() 2864 BasicBlock *Pred = CondLHS->getIncomingBlock(I); in tryToUnfoldSelect() 2865 SelectInst *SI = dyn_cast<SelectInst>(CondLHS->getIncomingValue(I)); in tryToUnfoldSelect() 2886 unfoldSelectInstr(Pred, BB, SI, CondLHS, I); in tryToUnfoldSelect()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 900 Register CondLHS = getOrCreateVReg(*CB.CmpLHS); in emitSwitchCase() local 925 if (MRI->getType(CondLHS).getSizeInBits() == 1 && CI && CI->isOne() && in emitSwitchCase() 927 Cond = CondLHS; in emitSwitchCase() 932 MIB.buildFCmp(CB.PredInfo.Pred, i1Ty, CondLHS, CondRHS).getReg(0); in emitSwitchCase() 935 MIB.buildICmp(CB.PredInfo.Pred, i1Ty, CondLHS, CondRHS).getReg(0); in emitSwitchCase() 951 auto Sub = MIB.buildSub({CmpTy}, CmpOpReg, CondLHS); in emitSwitchCase()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.cpp | 2886 SDValue CondLHS = getValue(CB.CmpLHS); in visitSwitchCase() local 2909 Cond = CondLHS; in visitSwitchCase() 2912 SDValue True = DAG.getConstant(1, dl, CondLHS.getValueType()); in visitSwitchCase() 2913 Cond = DAG.getNode(ISD::XOR, dl, CondLHS.getValueType(), CondLHS, True); in visitSwitchCase() 2920 if (CondLHS.getValueType() != MemVT) { in visitSwitchCase() 2921 CondLHS = DAG.getPtrExtOrTrunc(CondLHS, getCurSDLoc(), MemVT); in visitSwitchCase() 2924 Cond = DAG.getSetCC(dl, MVT::i1, CondLHS, CondRHS, CB.CC); in visitSwitchCase() 11951 SDValue CondLHS = getValue(Cond); in lowerWorkItem() local 11952 EVT VT = CondLHS.getValueType(); in lowerWorkItem() 11955 SDValue Or = DAG.getNode(ISD::OR, DL, VT, CondLHS, in lowerWorkItem()
|
H A D | DAGCombiner.cpp | 12441 SDValue CondLHS = LHS, CondRHS = RHS; in visitVSELECT() local 12446 std::swap(CondLHS, CondRHS); in visitVSELECT() 12454 (OpLHS == CondLHS || OpRHS == CondLHS)) in visitVSELECT() 12460 CondLHS == OpLHS) { in visitVSELECT() 18376 SDValue CondLHS = N->getOperand(2), CondRHS = N->getOperand(3); in visitBR_CC() local 18385 SDValue Simp = SimplifySetCC(getSetCCResultType(CondLHS.getValueType()), in visitBR_CC() 18386 CondLHS, CondRHS, CC->get(), SDLoc(N), in visitBR_CC() 27378 SDNode *CondLHS = TheSelect->getOperand(0).getNode(); in SimplifySelectOps() local 27380 Worklist.push_back(CondLHS); in SimplifySelectOps()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 13623 SDValue CondLHS = Cond.getOperand(0); in combineTruncSelectToSMaxUSat() local 13626 if (CondLHS != True) in combineTruncSelectToSMaxUSat()
|