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

  /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/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/Analysis/
ValueTracking.cpp 5512 Value *CmpLHS, Value *CmpRHS,
5521 if (CmpRHS == FalseVal) {
5531 if (CmpRHS != TrueVal || !match(CmpRHS, m_APFloat(FC1)) || !FC1->isFinite())
5566 Value *CmpLHS, Value *CmpRHS,
5569 if (CmpRHS != TrueVal) {
5574 if (CmpRHS == TrueVal && match(CmpRHS, m_APInt(C1))) {
5602 Value *CmpLHS, Value *CmpRHS,
5625 std::swap(CmpLHS, CmpRHS);
    [all...]
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/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...]
GuardWidening.cpp 600 const Value *CmpLHS = IC->getOperand(0), *CmpRHS = IC->getOperand(1);
602 std::swap(CmpLHS, CmpRHS);
607 CmpLHS, cast<ConstantInt>(ConstantInt::getNullValue(CmpRHS->getType())),
608 CmpRHS, IC);
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...]
X86ISelLowering.cpp     [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
IRTranslator.cpp 535 Cases[0].CmpRHS == Cases[1].CmpRHS) ||
536 (Cases[0].CmpRHS == Cases[1].CmpLHS &&
537 Cases[0].CmpLHS == Cases[1].CmpRHS)) {
543 if (Cases[0].CmpRHS == Cases[1].CmpRHS &&
545 isa<Constant>(Cases[0].CmpRHS) &&
546 cast<Constant>(Cases[0].CmpRHS)->isNullValue()) {
829 const auto *CI = dyn_cast<ConstantInt>(CB.CmpRHS);
837 Register CondRHS = getOrCreateVReg(*CB.CmpRHS);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 1995 Value *CmpRHS;
1997 m_Value(CmpRHS))))
2003 auto CmpRHSRange = SE->getSignedRange(SE->getSCEV(CmpRHS));
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp 2317 Cases[0].CmpRHS == Cases[1].CmpRHS) ||
2318 (Cases[0].CmpRHS == Cases[1].CmpLHS &&
2319 Cases[0].CmpLHS == Cases[1].CmpRHS)) {
2325 if (Cases[0].CmpRHS == Cases[1].CmpRHS &&
2327 isa<Constant>(Cases[0].CmpRHS) &&
2328 cast<Constant>(Cases[0].CmpRHS)->isNullValue()) {
2406 ExportFromCurrentBlock(SL->SwitchCases[i].CmpRHS);
2459 if (CB.CmpRHS == ConstantInt::getTrue(*DAG.getContext()) &
    [all...]
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/PowerPC/
PPCISelDAGToDAG.cpp 4667 SDValue CmpRHS = N->getOperand(3);
4668 if (!isa<ConstantSDNode>(CmpRHS) ||
4669 cast<ConstantSDNode>(CmpRHS)->getSExtValue() != 0)
  /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 123 milliseconds