Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1824 PHINode *CondLHS = dyn_cast<PHINode>(CondCmp->getOperand(0)); in TryToUnfoldSelect() local
1827 if (!CondBr || !CondBr->isConditional() || !CondLHS || in TryToUnfoldSelect()
1828 CondLHS->getParent() != BB) in TryToUnfoldSelect()
1831 for (unsigned I = 0, E = CondLHS->getNumIncomingValues(); I != E; ++I) { in TryToUnfoldSelect()
1832 BasicBlock *Pred = CondLHS->getIncomingBlock(I); in TryToUnfoldSelect()
1833 SelectInst *SI = dyn_cast<SelectInst>(CondLHS->getIncomingValue(I)); in TryToUnfoldSelect()
1872 CondLHS->setIncomingValue(I, SI->getFalseValue()); in TryToUnfoldSelect()
1873 CondLHS->addIncoming(SI->getTrueValue(), NewBB); in TryToUnfoldSelect()
1880 if (Phi != CondLHS) in TryToUnfoldSelect()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp1770 SDValue CondLHS = getValue(CB.CmpLHS); in visitSwitchCase() local
1779 Cond = CondLHS; in visitSwitchCase()
1782 SDValue True = DAG.getConstant(1, dl, CondLHS.getValueType()); in visitSwitchCase()
1783 Cond = DAG.getNode(ISD::XOR, dl, CondLHS.getValueType(), CondLHS, True); in visitSwitchCase()
1785 Cond = DAG.getSetCC(dl, MVT::i1, CondLHS, getValue(CB.CmpRHS), CB.CC); in visitSwitchCase()
8142 SDValue CondLHS = getValue(Cond); in lowerWorkItem() local
8143 EVT VT = CondLHS.getValueType(); in lowerWorkItem()
8146 SDValue Or = DAG.getNode(ISD::OR, DL, VT, CondLHS, in lowerWorkItem()
DDAGCombiner.cpp9468 SDValue CondLHS = N->getOperand(2), CondRHS = N->getOperand(3); in visitBR_CC() local
9477 SDValue Simp = SimplifySetCC(getSetCCResultType(CondLHS.getValueType()), in visitBR_CC()
9478 CondLHS, CondRHS, CC->get(), SDLoc(N), in visitBR_CC()
13920 SDNode *CondLHS = TheSelect->getOperand(0).getNode(); in SimplifySelectOps() local
13924 (LLD->isPredecessorOf(CondLHS) || LLD->isPredecessorOf(CondRHS))) || in SimplifySelectOps()
13926 (RLD->isPredecessorOf(CondLHS) || RLD->isPredecessorOf(CondRHS)))) in SimplifySelectOps()