Searched refs:CmpLHS (Results 1 – 5 of 5) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 355 Value *CmpLHS = ICI->getOperand(0); in visitSelectInstWithICmp() local 392 if ((CmpLHS == TrueVal && AdjustedRHS == FalseVal) || in visitSelectInstWithICmp() 393 (CmpLHS == FalseVal && AdjustedRHS == TrueVal)) in visitSelectInstWithICmp() 407 if (match(TrueVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp() 409 CmpLHS = TrueVal; in visitSelectInstWithICmp() 411 } else if (match(FalseVal, m_SExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp() 413 CmpLHS = FalseVal; in visitSelectInstWithICmp() 421 if (match(TrueVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp() 423 CmpLHS = TrueVal; in visitSelectInstWithICmp() 425 } else if (match(FalseVal, m_ZExt(m_Specific(CmpLHS))) && in visitSelectInstWithICmp() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelDAGToDAG.cpp | 414 SDValue InFlag = Node->getOperand(2), CmpLHS; in Select() local 422 CmpLHS = InFlag.getValue(0); in Select() 425 CmpLHS = InFlag.getOperand(0); in Select() 429 SDValue Ops[] = { CmpLHS, InFlag.getOperand(1) }; in Select()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 202 : CC(cc), CmpLHS(cmplhs), CmpMHS(cmpmiddle), CmpRHS(cmprhs), in CC() 212 const Value *CmpLHS, *CmpMHS, *CmpRHS; member
|
D | SelectionDAGBuilder.cpp | 1451 if ((Cases[0].CmpLHS == Cases[1].CmpLHS && in ShouldEmitAsBranches() 1453 (Cases[0].CmpRHS == Cases[1].CmpLHS && in ShouldEmitAsBranches() 1454 Cases[0].CmpLHS == Cases[1].CmpRHS)) { in ShouldEmitAsBranches() 1534 ExportFromCurrentBlock(SwitchCases[i].CmpLHS); in visitBr() 1567 SDValue CondLHS = getValue(CB.CmpLHS); in visitSwitchCase() 1587 const APInt& Low = cast<ConstantInt>(CB.CmpLHS)->getValue(); in visitSwitchCase() 1593 if (cast<ConstantInt>(CB.CmpLHS)->isMinValue(false)) { in visitSwitchCase()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1585 Value *CmpLHS = Cmp->getOperand(0), *CmpRHS = Cmp->getOperand(1); in ExtractEquivalentCondition() local 1586 if (Pred == Cmp->getPredicate() && LHS == CmpLHS && RHS == CmpRHS) in ExtractEquivalentCondition() 1589 LHS == CmpRHS && RHS == CmpLHS) in ExtractEquivalentCondition()
|