Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp316 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in FoldCmpLoadFromIndexedGlobal()
829 ICmpInst::Predicate Pred = ICI.getPredicate(); in FoldICmpDivCst()
1010 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst()
1019 return new ICmpInst(ICI.getPredicate(), Shr->getOperand(0), ShiftedCmpRHS); in FoldICmpShrCst()
1028 return new ICmpInst(ICI.getPredicate(), And, ShiftedCmpRHS); in FoldICmpShrCst()
1042 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst()
1048 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst()
1102 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst()
1108 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst()
1161 return new ICmpInst(ICI.getPredicate(), LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineSelect.cpp34 ICmpInst::Predicate Pred = ICI->getPredicate(); in MatchSelectPattern()
337 return SimplifyCmpInst(C->getPredicate(), RepOp, C->getOperand(1), DL, in SimplifyWithOpReplaced()
340 return SimplifyCmpInst(C->getPredicate(), C->getOperand(0), RepOp, DL, in SimplifyWithOpReplaced()
363 return ConstantFoldCompareInstOperands(C->getPredicate(), ConstOps[0], in SimplifyWithOpReplaced()
432 ICmpInst::Predicate Pred = IC->getPredicate(); in foldSelectICmpAndOr()
454 ICmpInst::Predicate Pred = ICI->getPredicate(); in foldSelectCttzCtlz()
502 ICmpInst::Predicate Pred = ICI->getPredicate(); in visitSelectInstWithICmp()
900 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE; in foldSelectICmpAnd()
985 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
997 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst()
[all …]
DInstCombineAndOrXor.cpp549 switch (I->getPredicate()) { in decomposeBitTestICmp()
708 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmps()
838 Cmp0->getPredicate()); in simplifyRangeCheck()
846 Cmp1->getPredicate()); in simplifyRangeCheck()
883 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps()
1129 if (LHS->getPredicate() == FCmpInst::FCMP_ORD && in FoldAndOfFCmps()
1130 RHS->getPredicate() == FCmpInst::FCMP_ORD) { in FoldAndOfFCmps()
1154 FCmpInst::Predicate Op0CC = LHS->getPredicate(), Op1CC = RHS->getPredicate(); in FoldAndOfFCmps()
1693 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldOrOfICmps()
1700 if (LHS->getPredicate() == ICmpInst::ICMP_EQ && LHSCst && LHSCst->isZero() && in FoldOrOfICmps()
[all …]
DInstCombinePHI.cpp56 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate()) in FoldPHIArgBinOpIntoPHI()
115 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgBinOpIntoPHI()
500 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgOpIntoPHI()
/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/A/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/include/llvm/IR/
DInstrTypes.h756 Predicate getPredicate() const {
771 bool isFPPredicate() const { return isFPPredicate(getPredicate()); }
772 bool isIntPredicate() const { return isIntPredicate(getPredicate()); }
780 return getInversePredicate(getPredicate());
796 return getSwappedPredicate(getPredicate());
823 return isSigned(getPredicate());
829 return isUnsigned(getPredicate());
835 return isTrueWhenEqual(getPredicate());
841 return isFalseWhenEqual(getPredicate());
DInstructions.h1023 assert(getPredicate() >= CmpInst::FIRST_ICMP_PREDICATE &&
1024 getPredicate() <= CmpInst::LAST_ICMP_PREDICATE &&
1086 return getSignedPredicate(getPredicate());
1098 return getUnsignedPredicate(getPredicate());
1114 return isEquality(getPredicate());
1234 bool isEquality() const { return isEquality(getPredicate()); }
1240 getPredicate() == FCMP_FALSE ||
1241 getPredicate() == FCMP_TRUE ||
1242 getPredicate() == FCMP_ORD ||
1243 getPredicate() == FCMP_UNO;
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp299 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
392 switch (CI->getPredicate()) { in calcZeroHeuristics()
412 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
417 switch (CI->getPredicate()) { in calcZeroHeuristics()
464 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics()
467 } 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/utils/TableGen/
DDAGISelMatcher.cpp100 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()
DFastISelEmitter.cpp61 const TreePredicateFn &getPredicate(unsigned i) { in getPredicate() function in __anone694a1120211::ImmPredicateSet
112 OS << "_" << ImmPredicates.getPredicate(Code-1).getFnName(); in printManglingSuffix()
159 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp513 Value *Res = SimplifyCmpInst(Cmp->getPredicate(), LHS, RHS, DL); in ComputeValueKnownInPredecessors()
519 ResT = LVI->getPredicateOnEdge(Cmp->getPredicate(), LHS, in ComputeValueKnownInPredecessors()
546 LVI->getPredicateOnEdge(Cmp->getPredicate(), Cmp->getOperand(0), in ComputeValueKnownInPredecessors()
567 Constant *Folded = ConstantExpr::getCompare(Cmp->getPredicate(), in ComputeValueKnownInPredecessors()
775 LVI->getPredicateOnEdge(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock()
781 LVI->getPredicateOnEdge(CondCmp->getPredicate(), in ProcessBlock()
803 LVI->getPredicateAt(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock()
1711 LVI->getPredicateOnEdge(CondCmp->getPredicate(), SI->getOperand(1), in TryToUnfoldSelect()
1714 LVI->getPredicateOnEdge(CondCmp->getPredicate(), SI->getOperand(2), in TryToUnfoldSelect()
DCorrelatedValuePropagation.cpp178 LazyValueInfo::Tristate Result = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
185 LazyValueInfo::Tristate Res = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
DLowerExpectIntrinsic.cpp93 if (CmpI->getPredicate() != CmpInst::ICMP_NE) in handleBranchExpect()
DFloat2Int.cpp136 if (mapFCmpPred(cast<CmpInst>(&I)->getPredicate()) != in findRoots()
475 CmpInst::Predicate P = mapFCmpPred(cast<CmpInst>(I)->getPredicate()); in convert()
/external/llvm/lib/Transforms/Utils/
DCmpInstAnalysis.cpp46 : ICI->getPredicate(); in getICmpCode()
/external/llvm/tools/llvm-diff/
DDifferenceEngine.cpp256 if (cast<CmpInst>(L)->getPredicate() in diff()
257 != cast<CmpInst>(R)->getPredicate()) { in diff()
405 if (L->getPredicate() != R->getPredicate()) in equivalentAsOperands()
/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/IR/
DConstantsContext.h433 SubclassData(CE->isCompare() ? CE->getPredicate() : 0), Ops(Operands),
439 SubclassData(CE->isCompare() ? CE->getPredicate() : 0),
460 if (SubclassData != (CE->isCompare() ? CE->getPredicate() : 0))
DInstruction.cpp279 return CI->getPredicate() == cast<CmpInst>(I2)->getPredicate(); in haveSameSpecialState()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_peephole.cpp101 if (mov->getPredicate()) in visit()
1149 if (set0->getPredicate() || set1->getPredicate()) in handleLOGOP()
1741 if (ldst->getPredicate()) // TODO: handle predicated ld/st in runOpt()
1849 Value *pred = term->getPredicate(); in removeFlow()
1867 assert(!i->getPredicate()); in predicateInstructions()
1912 if (rep->getPredicate()) in tryPropagateBranch()
1934 if (insn && insn->op == OP_JOIN && !insn->getPredicate()) { in visit()
1936 if (insn && !insn->getPredicate() && in visit()
1969 Value *pred = bb->getExit()->getPredicate(); in tryPredicateConditional()
/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

1234