Searched refs:IsAnd (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp442 ICmpInst *LHS, ICmpInst *RHS, bool IsAnd,
450 // If IsAnd is false, we get it in negated form:
469 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE;
543 return ConstantInt::get(LHS->getType(), !IsAnd);
565 return ConstantInt::get(LHS->getType(), !IsAnd);
572 ICmpInst *LHS, ICmpInst *RHS, bool IsAnd,
584 if (!IsAnd) {
590 LHS, RHS, IsAnd, A, B, C, D, E,
596 RHS, LHS, IsAnd, A, D, E, B, C,
606 static Value *foldLogOpOfMaskedICmps(ICmpInst *LHS, ICmpInst *RHS, bool IsAnd, argument
441 foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed( ICmpInst *LHS, ICmpInst *RHS, bool IsAnd, Value *A, Value *B, Value *C, Value *D, Value *E, ICmpInst::Predicate PredL, ICmpInst::Predicate PredR, llvm::InstCombiner::BuilderTy &Builder) argument
571 foldLogOpOfMaskedICmpsAsymmetric( ICmpInst *LHS, ICmpInst *RHS, bool IsAnd, Value *A, Value *B, Value *C, Value *D, Value *E, ICmpInst::Predicate PredL, ICmpInst::Predicate PredR, unsigned LHSMask, unsigned RHSMask, llvm::InstCombiner::BuilderTy &Builder) argument
1054 foldUnsignedUnderflowCheck(ICmpInst *ZeroICmp, ICmpInst *UnsignedICmp, bool IsAnd, const SimplifyQuery &Q, InstCombiner::BuilderTy &Builder) argument
1360 foldLogicOfFCmps(FCmpInst *LHS, FCmpInst *RHS, bool IsAnd) argument
[all...]
H A DInstCombineInternal.h631 Value *foldLogicOfFCmps(FCmpInst *LHS, FCmpInst *RHS, bool IsAnd);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1415 ICmpInst *UnsignedICmp, bool IsAnd,
1438 EqPred == ICmpInst::ICMP_NE && !IsAnd)
1443 EqPred == ICmpInst::ICMP_EQ && IsAnd)
1450 return IsAnd ? UnsignedICmp : ZeroICmp;
1456 return IsAnd ? ZeroICmp : UnsignedICmp;
1467 if (UnsignedPred == ICmpInst::ICMP_UGE && IsAnd &&
1471 if (UnsignedPred == ICmpInst::ICMP_ULT && !IsAnd &&
1491 return IsAnd ? UnsignedICmp : ZeroICmp;
1497 return IsAnd ? UnsignedICmp : ZeroICmp;
1502 return IsAnd
1414 simplifyUnsignedRangeCheck(ICmpInst *ZeroICmp, ICmpInst *UnsignedICmp, bool IsAnd, const SimplifyQuery &Q) argument
1577 simplifyAndOrOfICmpsWithConstants(ICmpInst *Cmp0, ICmpInst *Cmp1, bool IsAnd) argument
1614 simplifyAndOrOfICmpsWithZero(ICmpInst *Cmp0, ICmpInst *Cmp1, bool IsAnd) argument
1797 simplifyAndOrOfFCmps(const TargetLibraryInfo *TLI, FCmpInst *LHS, FCmpInst *RHS, bool IsAnd) argument
1835 simplifyAndOrOfCmps(const SimplifyQuery &Q, Value *Op0, Value *Op1, bool IsAnd) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp516 SDValue foldLogicOfSetCCs(bool IsAnd, SDValue N0, SDValue N1,
4530 SDValue DAGCombiner::foldLogicOfSetCCs(bool IsAnd, SDValue N0, SDValue N1, argument
4562 bool AndEqZero = IsAnd && CC1 == ISD::SETEQ && IsZero;
4564 bool AndGtNeg1 = IsAnd && CC1 == ISD::SETGT && IsNeg1;
4566 bool OrNeZero = !IsAnd && CC1 == ISD::SETNE && IsZero;
4568 bool OrLtZero = !IsAnd && CC1 == ISD::SETLT && IsZero;
4581 bool AndEqNeg1 = IsAnd && CC1 == ISD::SETEQ && IsNeg1;
4583 bool AndLtZero = IsAnd && CC1 == ISD::SETLT && IsZero;
4585 bool OrNeNeg1 = !IsAnd && CC1 == ISD::SETNE && IsNeg1;
4587 bool OrGtNeg1 = !IsAnd
[all...]

Completed in 244 milliseconds