/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 1051 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst() 1057 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst() 1111 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst() 2221 switch (I.getPredicate()) { in ProcessUMulZExtIdiom() 2352 switch (I.getPredicate()) { in ProcessUMulZExtIdiom() 2393 switch (I.getPredicate()) { in DemandedBitsLHSMask() 2617 switch (I.getPredicate()) { in visitICmpInst() 2722 switch (I.getPredicate()) { in visitICmpInst() 2807 switch (I.getPredicate()) { in visitICmpInst() 3681 switch (I.getPredicate()) { in FoldFCmp_IntToFP_Cst() [all …]
|
H A D | InstCombineSelect.cpp | 34 ICmpInst::Predicate Pred = ICI->getPredicate(); in MatchSelectPattern() 337 return SimplifyCmpInst(C->getPredicate(), RepOp, C->getOperand(1), TD, in SimplifyWithOpReplaced() 340 return SimplifyCmpInst(C->getPredicate(), C->getOperand(0), RepOp, TD, in SimplifyWithOpReplaced() 432 ICmpInst::Predicate Pred = IC->getPredicate(); in foldSelectICmpAndOr() 446 ICmpInst::Predicate Pred = ICI->getPredicate(); in visitSelectInstWithICmp() 841 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE; in foldSelectICmpAnd() 926 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst() 938 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst() 955 if (FCI->hasOneUse() && FCmpInst::isUnordered(FCI->getPredicate())) { in visitSelectInst() 967 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst() [all …]
|
H A D | InstCombineAndOrXor.cpp | 567 switch (I->getPredicate()) { in decomposeBitTestICmp() 726 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmps() 901 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps() 1147 if (LHS->getPredicate() == FCmpInst::FCMP_ORD && in FoldAndOfFCmps() 1148 RHS->getPredicate() == FCmpInst::FCMP_ORD) { in FoldAndOfFCmps() 1172 FCmpInst::Predicate Op0CC = LHS->getPredicate(), Op1CC = RHS->getPredicate(); in FoldAndOfFCmps() 1711 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldOrOfICmps() 2042 if (LHS->getPredicate() == FCmpInst::FCMP_UNO && in FoldOrOfFCmps() 2043 RHS->getPredicate() == FCmpInst::FCMP_UNO && in FoldOrOfFCmps() 2068 FCmpInst::Predicate Op0CC = LHS->getPredicate(), Op1CC = RHS->getPredicate(); in FoldOrOfFCmps() [all …]
|
H A D | InstCombinePHI.cpp | 57 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate()) in FoldPHIArgBinOpIntoPHI() 116 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgBinOpIntoPHI() 500 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgOpIntoPHI()
|
H A D | InstCombineCasts.cpp | 524 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) || in transformZExtICmp() 525 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) { in transformZExtICmp() 535 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) { in transformZExtICmp() 563 bool isNE = ICI->getPredicate() == ICmpInst::ICMP_NE; in transformZExtICmp() 625 if (ICI->getPredicate() == ICmpInst::ICMP_EQ) in transformZExtICmp() 901 ICmpInst::Predicate Pred = ICI->getPredicate(); in transformSExtICmp()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
H A D | InstrTypes.h | 757 Predicate getPredicate() const { 772 bool isFPPredicate() const { return isFPPredicate(getPredicate()); } 773 bool isIntPredicate() const { return isIntPredicate(getPredicate()); } 781 return getInversePredicate(getPredicate()); 797 return getSwappedPredicate(getPredicate()); 824 return isSigned(getPredicate()); 830 return isUnsigned(getPredicate()); 836 return isTrueWhenEqual(getPredicate()); 842 return isFalseWhenEqual(getPredicate());
|
H A D | Instructions.h | 993 assert(getPredicate() >= CmpInst::FIRST_ICMP_PREDICATE && 994 getPredicate() <= CmpInst::LAST_ICMP_PREDICATE && 1056 return getSignedPredicate(getPredicate()); 1068 return getUnsignedPredicate(getPredicate()); 1084 return isEquality(getPredicate()); 1198 return getPredicate() == FCMP_OEQ || getPredicate() == FCMP_ONE || 1199 getPredicate() == FCMP_UEQ || getPredicate() == FCMP_UNE; 1206 getPredicate() == FCMP_FALSE || 1207 getPredicate() == FCMP_TRUE || 1208 getPredicate() == FCMP_ORD || [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/ |
H A D | BranchProbabilityInfo.cpp | 298 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics() 383 switch (CI->getPredicate()) { in calcZeroHeuristics() 403 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics() 408 switch (CI->getPredicate()) { in calcZeroHeuristics() 455 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics() 458 } else if (FCmp->getPredicate() == FCmpInst::FCMP_UNO) { in calcFloatingPointHeuristics()
|
H A D | LazyValueInfo.cpp | 844 if (isTrueDest == (ICI->getPredicate() == ICmpInst::ICMP_EQ)) in getValueFromFromCondition() 854 if (ICI->getPredicate() == ICmpInst::ICMP_ULT) in getValueFromFromCondition() 863 ConstantRange::makeICmpRegion(ICI->getPredicate(), CmpRange); in getValueFromFromCondition()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | CmpInstAnalysis.cpp | 46 : ICI->getPredicate(); in getICmpCode()
|
H A D | LowerExpectIntrinsic.cpp | 112 if (CmpI->getPredicate() != CmpInst::ICMP_NE) in HandleIfExpect()
|
H A D | FlattenCFG.cpp | 248 CmpInst::Predicate Predicate = CI->getPredicate(); in FlattenParallelAndOr()
|
H A D | SimplifyCFG.cpp | 424 if (ICI->getPredicate() == (isEQ ? ICmpInst::ICMP_EQ:ICmpInst::ICMP_NE)) { in matchInstruction() 451 ConstantRange Span = ConstantRange::makeICmpRegion(ICI->getPredicate(), in matchInstruction() 592 BasicBlock *Succ = BI->getSuccessor(ICI->getPredicate() == ICmpInst::ICMP_NE); in GetValueEqualityComparisonCases() 596 return BI->getSuccessor(ICI->getPredicate() == ICmpInst::ICMP_EQ); in GetValueEqualityComparisonCases() 831 if (ICI->getPredicate() == ICmpInst::ICMP_EQ) in GetBranchWeights() 2764 if (ICI->getPredicate() == ICmpInst::ICMP_EQ) in TryToSimplifyUncondBranchWithICmpInIt() 2788 if (ICI->getPredicate() == ICmpInst::ICMP_EQ) in TryToSimplifyUncondBranchWithICmpInIt() 3452 return ConstantFoldCompareInstOperands(Cmp->getPredicate(), COps[0], in ConstantFold() 4038 Constant *DefaultConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare() 4046 Constant *CaseConst = ConstantExpr::getICmp(CmpInst->getPredicate(), in reuseTableCompare()
|
/minix/external/bsd/llvm/dist/llvm/utils/TableGen/ |
H A D | DAGISelMatcher.cpp | 100 TreePredicateFn CheckPredicateMatcher::getPredicate() const { in getPredicate() function in CheckPredicateMatcher 156 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n'; in printImpl() 295 return HashString(getPredicate().getFnName()); in getHashImpl()
|
H A D | FastISelEmitter.cpp | 61 const TreePredicateFn &getPredicate(unsigned i) { in getPredicate() function in __anon9cf8169b0211::ImmPredicateSet 112 OS << "_" << ImmPredicates.getPredicate(Code-1).getFnName(); in printManglingSuffix() 159 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate()
|
H A D | DAGISelMatcher.h | 437 StringRef getPredicate() const { return Predicate; } in getPredicate() function 448 return cast<CheckPatternPredicateMatcher>(M)->getPredicate() == Predicate; in isEqualImpl() 460 TreePredicateFn getPredicate() const;
|
H A D | DAGISelMatcherEmitter.cpp | 252 StringRef Pred =cast<CheckPatternPredicateMatcher>(N)->getPredicate(); in EmitMatcher() 260 TreePredicateFn Pred = cast<CheckPredicateMatcher>(N)->getPredicate(); in EmitMatcher()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 176 LazyValueInfo::Tristate Result = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp() 183 LazyValueInfo::Tristate Res = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
|
H A D | JumpThreading.cpp | 515 Value *Res = SimplifyCmpInst(Cmp->getPredicate(), LHS, RHS, DL); in ComputeValueKnownInPredecessors() 521 ResT = LVI->getPredicateOnEdge(Cmp->getPredicate(), LHS, in ComputeValueKnownInPredecessors() 548 LVI->getPredicateOnEdge(Cmp->getPredicate(), Cmp->getOperand(0), in ComputeValueKnownInPredecessors() 569 Constant *Folded = ConstantExpr::getCompare(Cmp->getPredicate(), in ComputeValueKnownInPredecessors() 776 LVI->getPredicateOnEdge(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock() 782 LVI->getPredicateOnEdge(CondCmp->getPredicate(), in ProcessBlock() 804 LVI->getPredicateAt(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock() 1712 LVI->getPredicateOnEdge(CondCmp->getPredicate(), SI->getOperand(1), in TryToUnfoldSelect() 1715 LVI->getPredicateOnEdge(CondCmp->getPredicate(), SI->getOperand(2), in TryToUnfoldSelect()
|
H A D | EarlyCSE.cpp | 115 CmpInst::Predicate Pred = CI->getPredicate(); in getHashValue() 184 LHSCmp->getSwappedPredicate() == RHSCmp->getPredicate(); in isEqual()
|
H A D | Scalarizer.cpp | 76 return Builder.CreateFCmp(FCI.getPredicate(), Op0, Op1, Name); in operator ()() 87 return Builder.CreateICmp(ICI.getPredicate(), Op0, Op1, Name); in operator ()()
|
/minix/external/bsd/llvm/dist/llvm/tools/llvm-diff/ |
H A D | DifferenceEngine.cpp | 256 if (cast<CmpInst>(L)->getPredicate() in diff() 257 != cast<CmpInst>(R)->getPredicate()) { in diff() 405 if (L->getPredicate() != R->getPredicate()) in equivalentAsOperands()
|
/minix/external/bsd/llvm/dist/llvm/lib/IR/ |
H A D | ConstantsContext.h | 433 SubclassData(CE->isCompare() ? CE->getPredicate() : 0), Ops(Operands), 439 SubclassData(CE->isCompare() ? CE->getPredicate() : 0), 460 if (SubclassData != (CE->isCompare() ? CE->getPredicate() : 0))
|
H A D | Instruction.cpp | 279 return CI->getPredicate() == cast<CmpInst>(I2)->getPredicate(); in haveSameSpecialState()
|
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/IPA/ |
H A D | InlineCost.cpp | 512 if (Constant *C = ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst() 533 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst() 548 bool IsNotEqual = I.getPredicate() == CmpInst::ICMP_NE; in visitCmpInst()
|