Home
last modified time | relevance | path

Searched refs:getPredicate (Results 1 – 25 of 62) sorted by relevance

123

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp292 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in FoldCmpLoadFromIndexedGlobal()
812 ICmpInst::Predicate Pred = ICI.getPredicate(); in FoldICmpDivCst()
993 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst()
1003 return new ICmpInst(ICI.getPredicate(), Shr->getOperand(0), ShiftedCmpRHS); in FoldICmpShrCst()
1012 return new ICmpInst(ICI.getPredicate(), And, ShiftedCmpRHS); in FoldICmpShrCst()
1040 return new ICmpInst(ICI.getPredicate(), LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst()
1050 if ((ICI.getPredicate() == ICmpInst::ICMP_SLT && RHSV == 0) || in visitICmpInstWithInstAndIntCst()
1051 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) { in visitICmpInstWithInstAndIntCst()
1063 bool isTrueIfPositive = ICI.getPredicate() == ICmpInst::ICMP_SGT; in visitICmpInstWithInstAndIntCst()
1121 return new ICmpInst(ICI.getPredicate(), NewAnd, in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineSelect.cpp38 switch (ICI->getPredicate()) { in MatchSelectPattern()
54 switch (ICI->getPredicate()) { in MatchSelectPattern()
311 return SimplifyCmpInst(C->getPredicate(), RepOp, C->getOperand(1), TD, in SimplifyWithOpReplaced()
314 return SimplifyCmpInst(C->getPredicate(), C->getOperand(0), RepOp, TD, in SimplifyWithOpReplaced()
337 return ConstantFoldCompareInstOperands(C->getPredicate(), ConstOps[0], in SimplifyWithOpReplaced()
358 ICmpInst::Predicate Pred = ICI->getPredicate(); in visitSelectInstWithICmp()
651 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE; in foldSelectICmpAnd()
734 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
746 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst()
761 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
[all …]
DInstCombineAndOrXor.cpp501 if (I->getPredicate() == ICmpInst::ICMP_SLT) in decomposeBitTestICmp()
513 if (I->getPredicate() == ICmpInst::ICMP_SGT) in decomposeBitTestICmp()
629 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmps()
705 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps()
936 if (LHS->getPredicate() == FCmpInst::FCMP_ORD && in FoldAndOfFCmps()
937 RHS->getPredicate() == FCmpInst::FCMP_ORD) { in FoldAndOfFCmps()
958 FCmpInst::Predicate Op0CC = LHS->getPredicate(), Op1CC = RHS->getPredicate(); in FoldAndOfFCmps()
1460 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldOrOfICmps()
1669 if (LHS->getPredicate() == FCmpInst::FCMP_UNO && in FoldOrOfFCmps()
1670 RHS->getPredicate() == FCmpInst::FCMP_UNO && in FoldOrOfFCmps()
[all …]
DInstCombinePHI.cpp55 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate()) in FoldPHIArgBinOpIntoPHI()
114 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgBinOpIntoPHI()
500 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgOpIntoPHI()
DInstCombineCasts.cpp520 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) || in transformZExtICmp()
521 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) { in transformZExtICmp()
531 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) { in transformZExtICmp()
559 bool isNE = ICI->getPredicate() == ICmpInst::ICMP_NE; in transformZExtICmp()
621 if (ICI->getPredicate() == ICmpInst::ICMP_EQ) in transformZExtICmp()
893 ICmpInst::Predicate Pred = ICI->getPredicate(); in transformSExtICmp()
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRFailedPredicateException.h37 @property (retain, getter=getPredicate, setter=setPredicate:) NSString *predicate;
44 - (NSString *) getPredicate;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRFailedPredicateException.h37 @property (retain, getter=getPredicate, setter=setPredicate:) NSString *predicate;
44 - (NSString *) getPredicate;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRFailedPredicateException.h37 @property (retain, getter=getPredicate, setter=setPredicate:) NSString *predicate;
44 - (NSString *) getPredicate;
/external/llvm/lib/Target/ARM/
DARMCodeEmitter.cpp751 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi32immInstruction()
766 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi32immInstruction()
789 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi2piecesInstruction()
804 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi2piecesInstruction()
826 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitLEApcrelInstruction()
854 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitLEApcrelJTInstruction()
879 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitPseudoMoveInstruction()
934 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitPseudoInstruction()
1108 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitDataProcessingInstruction()
1221 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitLoadStoreInstruction()
[all …]
/external/llvm/include/llvm/IR/
DInstrTypes.h708 Predicate getPredicate() const {
723 bool isFPPredicate() const { return isFPPredicate(getPredicate()); }
724 bool isIntPredicate() const { return isIntPredicate(getPredicate()); }
732 return getInversePredicate(getPredicate());
748 return getSwappedPredicate(getPredicate());
775 return isSigned(getPredicate());
781 return isUnsigned(getPredicate());
787 return isTrueWhenEqual(getPredicate());
793 return isFalseWhenEqual(getPredicate());
DInstructions.h984 return getSignedPredicate(getPredicate());
996 return getUnsignedPredicate(getPredicate());
1012 return isEquality(getPredicate());
1126 return getPredicate() == FCMP_OEQ || getPredicate() == FCMP_ONE ||
1127 getPredicate() == FCMP_UEQ || getPredicate() == FCMP_UNE;
1134 getPredicate() == FCMP_FALSE ||
1135 getPredicate() == FCMP_TRUE ||
1136 getPredicate() == FCMP_ORD ||
1137 getPredicate() == FCMP_UNO;
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp220 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
302 switch (CI->getPredicate()) { in calcZeroHeuristics()
322 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
326 } else if (CV->isAllOnesValue() && CI->getPredicate() == CmpInst::ICMP_SGT) { in calcZeroHeuristics()
360 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics()
363 } else if (FCmp->getPredicate() == FCmpInst::FCMP_UNO) { in calcFloatingPointHeuristics()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRFailedPredicateException.h44 - (NSString *) getPredicate;
DANTLRFailedPredicateException.m67 - (NSString *) getPredicate
/external/llvm/lib/IR/
DInstruction.cpp295 return CI->getPredicate() == cast<CmpInst>(I)->getPredicate(); in isIdenticalToWhenDefined()
368 return CI->getPredicate() == cast<CmpInst>(I)->getPredicate(); in isSameOperationAs()
/external/llvm/utils/TableGen/
DDAGISelMatcher.cpp91 TreePredicateFn CheckPredicateMatcher::getPredicate() const { in getPredicate() function in CheckPredicateMatcher
143 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n'; in printImpl()
277 return HashString(getPredicate().getFnName()); in getHashImpl()
DFastISelEmitter.cpp59 const TreePredicateFn &getPredicate(unsigned i) { in getPredicate() function in __anone179e0f80211::ImmPredicateSet
110 OS << "_" << ImmPredicates.getPredicate(Code-1).getFnName(); in printManglingSuffix()
157 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate()
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp46 : ICI->getPredicate(); in getICmpCode()
DLowerExpectIntrinsic.cpp102 if (!CmpI || CmpI->getPredicate() != CmpInst::ICMP_NE) in HandleIfExpect()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DPredicatedNodeTest.java186 public Expression getPredicate(int index) in getPredicate() method in PredicatedNodeTest
535 if(getPredicate(i).canTraverseOutsideSubtree()) in canTraverseOutsideSubtree()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp174 LazyValueInfo::Tristate Result = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
180 LazyValueInfo::Tristate Res = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
DJumpThreading.cpp491 Value *Res = SimplifyCmpInst(Cmp->getPredicate(), LHS, RHS, TD); in ComputeValueKnownInPredecessors()
497 ResT = LVI->getPredicateOnEdge(Cmp->getPredicate(), LHS, in ComputeValueKnownInPredecessors()
524 LVI->getPredicateOnEdge(Cmp->getPredicate(), Cmp->getOperand(0), in ComputeValueKnownInPredecessors()
545 Constant *Folded = ConstantExpr::getCompare(Cmp->getPredicate(), in ComputeValueKnownInPredecessors()
757 LVI->getPredicateOnEdge(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock()
763 LVI->getPredicateOnEdge(CondCmp->getPredicate(), in ProcessBlock()
DEarlyCSE.cpp115 CmpInst::Predicate Pred = CI->getPredicate(); in getHashValue()
184 LHSCmp->getSwappedPredicate() == RHSCmp->getPredicate(); in isEqual()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp258 if (cast<CmpInst>(L)->getPredicate() in diff()
259 != cast<CmpInst>(R)->getPredicate()) { in diff()
407 if (L->getPredicate() != R->getPredicate()) in equivalentAsOperands()
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
DStepPattern.java245 if (getPredicate(i).canTraverseOutsideSubtree()) in canTraverseOutsideSubtree()
260 public Expression getPredicate(int i) in getPredicate() method in StepPattern

123