Home
last modified time | relevance | path

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

123

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp291 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in FoldCmpLoadFromIndexedGlobal()
811 ICmpInst::Predicate Pred = ICI.getPredicate(); in FoldICmpDivCst()
992 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst()
1002 return new ICmpInst(ICI.getPredicate(), Shr->getOperand(0), ShiftedCmpRHS); in FoldICmpShrCst()
1011 return new ICmpInst(ICI.getPredicate(), And, ShiftedCmpRHS); in FoldICmpShrCst()
1039 return new ICmpInst(ICI.getPredicate(), LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst()
1049 if ((ICI.getPredicate() == ICmpInst::ICMP_SLT && RHSV == 0) || in visitICmpInstWithInstAndIntCst()
1050 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) { in visitICmpInstWithInstAndIntCst()
1062 bool isTrueIfPositive = ICI.getPredicate() == ICmpInst::ICMP_SGT; in visitICmpInstWithInstAndIntCst()
1120 return new ICmpInst(ICI.getPredicate(), NewAnd, in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineSelect.cpp38 switch (ICI->getPredicate()) { in MatchSelectPattern()
54 switch (ICI->getPredicate()) { in MatchSelectPattern()
305 return SimplifyCmpInst(C->getPredicate(), RepOp, C->getOperand(1), TD, in SimplifyWithOpReplaced()
308 return SimplifyCmpInst(C->getPredicate(), C->getOperand(0), RepOp, TD, in SimplifyWithOpReplaced()
348 ICmpInst::Predicate Pred = ICI->getPredicate(); in visitSelectInstWithICmp()
641 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE; in foldSelectICmpAnd()
724 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
736 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst()
751 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
763 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst()
DInstCombineAndOrXor.cpp504 if (I->getPredicate() == ICmpInst::ICMP_SLT) in decomposeBitTestICmp()
516 if (I->getPredicate() == ICmpInst::ICMP_SGT) in decomposeBitTestICmp()
635 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmps()
711 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps()
943 if (LHS->getPredicate() == FCmpInst::FCMP_ORD && in FoldAndOfFCmps()
944 RHS->getPredicate() == FCmpInst::FCMP_ORD) { in FoldAndOfFCmps()
965 FCmpInst::Predicate Op0CC = LHS->getPredicate(), Op1CC = RHS->getPredicate(); in FoldAndOfFCmps()
1435 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldOrOfICmps()
1630 if (LHS->getPredicate() == FCmpInst::FCMP_UNO && in FoldOrOfFCmps()
1631 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.cpp511 if ((ICI->getPredicate() == ICmpInst::ICMP_SLT && Op1CV == 0) || in transformZExtICmp()
512 (ICI->getPredicate() == ICmpInst::ICMP_SGT &&Op1CV.isAllOnesValue())) { in transformZExtICmp()
522 if (ICI->getPredicate() == ICmpInst::ICMP_SGT) { in transformZExtICmp()
550 bool isNE = ICI->getPredicate() == ICmpInst::ICMP_NE; in transformZExtICmp()
612 if (ICI->getPredicate() == ICmpInst::ICMP_EQ) in transformZExtICmp()
886 ICmpInst::Predicate Pred = ICI->getPredicate(); in transformSExtICmp()
/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/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/llvm/lib/Target/ARM/
DARMCodeEmitter.cpp740 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi32immInstruction()
755 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi32immInstruction()
778 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi2piecesInstruction()
793 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi2piecesInstruction()
815 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitLEApcrelInstruction()
843 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitLEApcrelJTInstruction()
868 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitPseudoMoveInstruction()
923 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitPseudoInstruction()
1097 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitDataProcessingInstruction()
1210 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitLoadStoreInstruction()
[all …]
/external/llvm/include/llvm/
DInstrTypes.h710 Predicate getPredicate() const {
725 bool isFPPredicate() const { return isFPPredicate(getPredicate()); }
726 bool isIntPredicate() const { return isIntPredicate(getPredicate()); }
734 return getInversePredicate(getPredicate());
750 return getSwappedPredicate(getPredicate());
777 return isSigned(getPredicate());
783 return isUnsigned(getPredicate());
789 return isTrueWhenEqual(getPredicate());
795 return isFalseWhenEqual(getPredicate());
DInstructions.h970 return getSignedPredicate(getPredicate());
982 return getUnsignedPredicate(getPredicate());
998 return isEquality(getPredicate());
1113 return getPredicate() == FCMP_OEQ || getPredicate() == FCMP_ONE ||
1114 getPredicate() == FCMP_UEQ || getPredicate() == FCMP_UNE;
1121 getPredicate() == FCMP_FALSE ||
1122 getPredicate() == FCMP_TRUE ||
1123 getPredicate() == FCMP_ORD ||
1124 getPredicate() == FCMP_UNO;
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp208 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
293 switch (CI->getPredicate()) { in calcZeroHeuristics()
313 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
317 } else if (CV->isAllOnesValue() && CI->getPredicate() == CmpInst::ICMP_SGT) { in calcZeroHeuristics()
352 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics()
355 } else if (FCmp->getPredicate() == FCmpInst::FCMP_UNO) { in calcFloatingPointHeuristics()
DInlineCost.cpp495 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitICmp()
512 if (Constant *C = ConstantExpr::getICmp(I.getPredicate(), CLHS, CRHS)) { in visitICmp()
527 bool IsNotEqual = I.getPredicate() == CmpInst::ICMP_NE; in visitICmp()
/external/llvm/lib/VMCore/
DInstruction.cpp205 return CI->getPredicate() == cast<CmpInst>(I)->getPredicate(); in isIdenticalToWhenDefined()
260 return CI->getPredicate() == cast<CmpInst>(I)->getPredicate(); in isSameOperationAs()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRFailedPredicateException.h44 - (NSString *) getPredicate;
DANTLRFailedPredicateException.m67 - (NSString *) getPredicate
/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.cpp56 const TreePredicateFn &getPredicate(unsigned i) { in getPredicate() function in __anonc57536960111::ImmPredicateSet
105 OS << "_" << ImmPredicates.getPredicate(Code-1).getFnName(); in printManglingSuffix()
152 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate()
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp46 : ICI->getPredicate(); in getICmpCode()
DLowerExpectIntrinsic.cpp107 if (!CmpI || CmpI->getPredicate() != CmpInst::ICMP_NE) in HandleIfExpect()
/external/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp155 LazyValueInfo::Tristate Result = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
161 LazyValueInfo::Tristate Res = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
DJumpThreading.cpp482 Value *Res = SimplifyCmpInst(Cmp->getPredicate(), LHS, RHS, TD); in ComputeValueKnownInPredecessors()
488 ResT = LVI->getPredicateOnEdge(Cmp->getPredicate(), LHS, in ComputeValueKnownInPredecessors()
515 LVI->getPredicateOnEdge(Cmp->getPredicate(), Cmp->getOperand(0), in ComputeValueKnownInPredecessors()
536 Constant *Folded = ConstantExpr::getCompare(Cmp->getPredicate(), in ComputeValueKnownInPredecessors()
746 LVI->getPredicateOnEdge(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock()
752 LVI->getPredicateOnEdge(CondCmp->getPredicate(), in ProcessBlock()
/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/tools/llvm-diff/
DDifferenceEngine.cpp260 if (cast<CmpInst>(L)->getPredicate() in diff()
261 != cast<CmpInst>(R)->getPredicate()) { in diff()
409 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