HomeSort by: relevance | last modified time | path
    Searched defs:CmpRHS (Results 1 - 9 of 9) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
SwitchLoweringUtils.h 127 const Value *CmpLHS, *CmpMHS, *CmpRHS;
144 CaseBlock(ISD::CondCode cc, const Value *cmplhs, const Value *cmprhs,
149 : CC(cc), CmpLHS(cmplhs), CmpMHS(cmpmiddle), CmpRHS(cmprhs),
155 const Value *cmprhs, const Value *cmpmiddle,
161 CmpRHS(cmprhs), TrueBB(truebb), FalseBB(falsebb), ThisBB(me),
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp 553 Value *CmpRHS = IC->getOperand(1);
554 if (!CmpRHS->getType()->isIntOrIntVectorTy())
558 unsigned Bitwidth = CmpRHS->getType()->getScalarSizeInBits();
560 !match(CmpRHS,
563 !match(CmpRHS,
606 Value *CmpRHS = IC->getOperand(1);
613 if (!match(CmpRHS, m_Zero()))
628 if ((IsEqualZero && !match(CmpRHS, m_AllOnes())) ||
629 (!IsEqualZero && !match(CmpRHS, m_Zero())))
897 Value *CmpRHS = ICI->getOperand(1)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
GVN.cpp 1835 Value *CmpRHS = CmpI->getOperand(1);
1841 if (isa<Constant>(CmpLHS) && !isa<Constant>(CmpRHS))
1842 std::swap(CmpLHS, CmpRHS);
1843 if (!isa<Instruction>(CmpLHS) && isa<Instruction>(CmpRHS))
1844 std::swap(CmpLHS, CmpRHS);
1845 if ((isa<Argument>(CmpLHS) && isa<Argument>(CmpRHS)) ||
1846 (isa<Instruction>(CmpLHS) && isa<Instruction>(CmpRHS))) {
1850 uint32_t RVN = VN.lookupOrAdd(CmpRHS);
1852 std::swap(CmpLHS, CmpRHS);
1857 if (isa<Constant>(CmpLHS) && isa<Constant>(CmpRHS))
    [all...]
JumpThreading.cpp 824 Value *CmpRHS = Cmp->getOperand(1);
829 PN = dyn_cast<PHINode>(CmpRHS);
839 RHS = CmpRHS->DoPHITranslation(BB, PredBB);
872 if (isa<Constant>(CmpRHS) && !CmpType->isVectorTy()) {
873 Constant *CmpConst = cast<Constant>(CmpRHS);
LoopIdiomRecognize.cpp 2118 Value *CmpLHS, *CmpRHS;
2121 m_Br(m_ICmp(Pred, m_Value(CmpLHS), m_Value(CmpRHS)),
2130 return ICmpInst::isEquality(Pred) && match(CmpRHS, m_Zero()) &&
2139 return ICmpInst::isEquality(Pred) && match(CmpRHS, m_Zero()) &&
2146 return llvm::decomposeBitTestICmp(CmpLHS, CmpRHS, Pred, CurrX, Mask) &&
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86FastISel.cpp 1668 const Value *CmpRHS = CI->getOperand(1);
1675 const auto *CmpRHSC = dyn_cast<ConstantFP>(CmpRHS);
1677 CmpRHS = CmpLHS;
1708 std::swap(CmpLHS, CmpRHS);
1711 if (!X86FastEmitCompare(CmpLHS, CmpRHS, VT, CI->getDebugLoc()))
2077 const Value *CmpRHS = CI->getOperand(1);
2079 std::swap(CmpLHS, CmpRHS);
2083 if (!X86FastEmitCompare(CmpLHS, CmpRHS, CmpVT, CI->getDebugLoc()))
2172 const Value *CmpRHS = CI->getOperand(1);
2179 const auto *CmpRHSC = dyn_cast<ConstantFP>(CmpRHS);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
InstructionSimplify.cpp 2383 Value *CmpLHS = Cmp->getOperand(0), *CmpRHS = Cmp->getOperand(1);
2384 if (Pred == Cmp->getPredicate() && LHS == CmpLHS && RHS == CmpRHS)
2387 LHS == CmpRHS && RHS == CmpLHS)
4008 static Value *simplifySelectWithFakeICmpEq(Value *CmpLHS, Value *CmpRHS,
4013 if (!decomposeBitTestICmp(CmpLHS, CmpRHS, Pred, X, Mask))
4026 Value *CmpLHS, *CmpRHS;
4027 if (!match(CondVal, m_ICmp(Pred, m_Value(CmpLHS), m_Value(CmpRHS))))
4036 if (Pred == ICmpInst::ICMP_EQ && match(CmpRHS, m_Zero())) {
4079 if (Value *V = simplifySelectWithFakeICmpEq(CmpLHS, CmpRHS, Pred,
4089 if (SimplifyWithOpReplaced(FalseVal, CmpLHS, CmpRHS, Q
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp 4124 SDValue CmpRHS = DAG.getConstant(C1.lshr(ShiftBits), dl, ShValTy);
4125 return DAG.getSetCC(dl, VT, Shift, CmpRHS, Cond);
4152 SDValue CmpRHS = DAG.getConstant(NewC, dl, ShValTy);
4153 return DAG.getSetCC(dl, VT, Shift, CmpRHS, NewCond);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64ISelLowering.cpp 15402 SDNode *CmpRHS = SetCC.getOperand(1).getNode();
15413 SplatLHSVal.isOneValue() && ISD::isConstantSplatVectorAllOnes(CmpRHS) &&

Completed in 67 milliseconds