Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp35 Value *CmpLHS = ICI->getOperand(0); in MatchSelectPattern() local
40 LHS = CmpLHS; in MatchSelectPattern()
44 if (TrueVal == CmpLHS && FalseVal == CmpRHS) { in MatchSelectPattern()
59 if (TrueVal == CmpRHS && FalseVal == CmpLHS) { in MatchSelectPattern()
74 if ((CmpLHS == TrueVal && match(FalseVal, m_Neg(m_Specific(CmpLHS)))) || in MatchSelectPattern()
75 (CmpLHS == FalseVal && match(TrueVal, m_Neg(m_Specific(CmpLHS))))) { in MatchSelectPattern()
80 return (CmpLHS == TrueVal) ? SPF_ABS : SPF_NABS; in MatchSelectPattern()
86 return (CmpLHS == FalseVal) ? SPF_ABS : SPF_NABS; in MatchSelectPattern()
405 Value *CmpLHS = IC->getOperand(0); in foldSelectICmpAndOr() local
413 if (!match(CmpLHS, m_And(m_Value(X), m_Power2(C1)))) in foldSelectICmpAndOr()
[all …]
/external/llvm/lib/Target/Mips/
DMips16ISelDAGToDAG.cpp258 SDValue InFlag = Node->getOperand(2), CmpLHS; in selectNode() local
266 CmpLHS = InFlag.getValue(0); in selectNode()
269 CmpLHS = InFlag.getOperand(0); in selectNode()
273 SDValue Ops[] = { CmpLHS, InFlag.getOperand(1) }; in selectNode()
DMipsSEISelDAGToDAG.h40 SDNode *selectAddESubE(unsigned MOp, SDValue InFlag, SDValue CmpLHS,
DMipsSEISelDAGToDAG.cpp233 SDValue CmpLHS, SDLoc DL, in selectAddESubE() argument
241 SDValue Ops[] = { CmpLHS, InFlag.getOperand(1) }; in selectAddESubE()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1352 const Value *CmpLHS = CI->getOperand(0); in X86SelectBranch() local
1362 CmpRHS = CmpLHS; in X86SelectBranch()
1394 std::swap(CmpLHS, CmpRHS); in X86SelectBranch()
1397 if (!X86FastEmitCompare(CmpLHS, CmpRHS, VT)) in X86SelectBranch()
1777 const Value *CmpLHS = CI->getOperand(0); in X86FastEmitCMoveSelect() local
1780 std::swap(CmpLHS, CmpRHS); in X86FastEmitCMoveSelect()
1782 EVT CmpVT = TLI.getValueType(CmpLHS->getType()); in X86FastEmitCMoveSelect()
1784 if (!X86FastEmitCompare(CmpLHS, CmpRHS, CmpVT)) in X86FastEmitCMoveSelect()
1867 const Value *CmpLHS = CI->getOperand(0); in X86FastEmitSSESelect() local
1877 CmpRHS = CmpLHS; in X86FastEmitSSESelect()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h214 : CC(cc), CmpLHS(cmplhs), CmpMHS(cmpmiddle), CmpRHS(cmprhs), in CC()
224 const Value *CmpLHS, *CmpMHS, *CmpRHS; member
DSelectionDAGBuilder.cpp1534 if ((Cases[0].CmpLHS == Cases[1].CmpLHS && in ShouldEmitAsBranches()
1536 (Cases[0].CmpRHS == Cases[1].CmpLHS && in ShouldEmitAsBranches()
1537 Cases[0].CmpLHS == Cases[1].CmpRHS)) { in ShouldEmitAsBranches()
1619 ExportFromCurrentBlock(SwitchCases[i].CmpLHS); in visitBr()
1652 SDValue CondLHS = getValue(CB.CmpLHS); in visitSwitchCase()
1671 const APInt& Low = cast<ConstantInt>(CB.CmpLHS)->getValue(); in visitSwitchCase()
1677 if (cast<ConstantInt>(CB.CmpLHS)->isMinValue(true)) { in visitSwitchCase()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1645 Value *CmpLHS = Cmp->getOperand(0), *CmpRHS = Cmp->getOperand(1); in ExtractEquivalentCondition() local
1646 if (Pred == Cmp->getPredicate() && LHS == CmpLHS && RHS == CmpRHS) in ExtractEquivalentCondition()
1649 LHS == CmpRHS && RHS == CmpLHS) in ExtractEquivalentCondition()