Home
last modified time | relevance | path

Searched refs:CmpLHS (Results 1 – 9 of 9) 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()
398 Value *CmpLHS = IC->getOperand(0); in foldSelectICmpAndOr() local
406 if (!match(CmpLHS, m_And(m_Value(X), m_Power2(C1)))) in foldSelectICmpAndOr()
[all …]
/external/llvm/lib/Target/Mips/
DMips16ISelDAGToDAG.cpp260 SDValue InFlag = Node->getOperand(2), CmpLHS; in selectNode() local
268 CmpLHS = InFlag.getValue(0); in selectNode()
271 CmpLHS = InFlag.getOperand(0); in selectNode()
275 SDValue Ops[] = { CmpLHS, InFlag.getOperand(1) }; in selectNode()
DMipsSEISelDAGToDAG.h40 SDNode *selectAddESubE(unsigned MOp, SDValue InFlag, SDValue CmpLHS,
DMipsSEISelDAGToDAG.cpp231 SDValue CmpLHS, SDLoc DL, in selectAddESubE() argument
245 SDValue Ops[] = { CmpLHS, InFlag.getOperand(1) }; in selectAddESubE()
/external/llvm/lib/Transforms/Scalar/
DAlignmentFromAssumptions.cpp222 Value *CmpLHS = ICI->getOperand(0); in extractAlignmentInfo() local
224 const SCEV *CmpLHSSCEV = SE->getSCEV(CmpLHS); in extractAlignmentInfo()
227 std::swap(CmpLHS, CmpRHS); in extractAlignmentInfo()
231 BinaryOperator *CmpBO = dyn_cast<BinaryOperator>(CmpLHS); in extractAlignmentInfo()
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1357 const Value *CmpLHS = CI->getOperand(0); in X86SelectBranch() local
1367 CmpRHS = CmpLHS; in X86SelectBranch()
1399 std::swap(CmpLHS, CmpRHS); in X86SelectBranch()
1402 if (!X86FastEmitCompare(CmpLHS, CmpRHS, VT, CI->getDebugLoc())) in X86SelectBranch()
1782 const Value *CmpLHS = CI->getOperand(0); in X86FastEmitCMoveSelect() local
1785 std::swap(CmpLHS, CmpRHS); in X86FastEmitCMoveSelect()
1787 EVT CmpVT = TLI.getValueType(CmpLHS->getType()); in X86FastEmitCMoveSelect()
1789 if (!X86FastEmitCompare(CmpLHS, CmpRHS, CmpVT, CI->getDebugLoc())) in X86FastEmitCMoveSelect()
1872 const Value *CmpLHS = CI->getOperand(0); in X86FastEmitSSESelect() local
1882 CmpRHS = CmpLHS; in X86FastEmitSSESelect()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h212 : CC(cc), CmpLHS(cmplhs), CmpMHS(cmpmiddle), CmpRHS(cmprhs), in CC()
222 const Value *CmpLHS, *CmpMHS, *CmpRHS; member
DSelectionDAGBuilder.cpp1563 if ((Cases[0].CmpLHS == Cases[1].CmpLHS && in ShouldEmitAsBranches()
1565 (Cases[0].CmpRHS == Cases[1].CmpLHS && in ShouldEmitAsBranches()
1566 Cases[0].CmpLHS == Cases[1].CmpRHS)) { in ShouldEmitAsBranches()
1641 ExportFromCurrentBlock(SwitchCases[i].CmpLHS); in visitBr()
1674 SDValue CondLHS = getValue(CB.CmpLHS); in visitSwitchCase()
1693 const APInt& Low = cast<ConstantInt>(CB.CmpLHS)->getValue(); in visitSwitchCase()
1699 if (cast<ConstantInt>(CB.CmpLHS)->isMinValue(true)) { in visitSwitchCase()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1910 Value *CmpLHS = Cmp->getOperand(0), *CmpRHS = Cmp->getOperand(1); in ExtractEquivalentCondition() local
1911 if (Pred == Cmp->getPredicate() && LHS == CmpLHS && RHS == CmpRHS) in ExtractEquivalentCondition()
1914 LHS == CmpRHS && RHS == CmpLHS) in ExtractEquivalentCondition()