Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp314 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in FoldCmpLoadFromIndexedGlobal()
807 ConstantInt::get(CmpTy, !CmpInst::isTrueWhenEqual(ICI.getPredicate()))); in FoldAllocaCmp()
899 ICmpInst::Predicate Pred = ICI.getPredicate(); in FoldICmpDivCst()
1078 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst()
1087 return new ICmpInst(ICI.getPredicate(), Shr->getOperand(0), ShiftedCmpRHS); in FoldICmpShrCst()
1096 return new ICmpInst(ICI.getPredicate(), And, ShiftedCmpRHS); in FoldICmpShrCst()
1110 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst()
1116 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst()
1174 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst()
1180 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst()
[all …]
DInstCombineSelect.cpp339 ICmpInst::Predicate Pred = IC->getPredicate(); in foldSelectICmpAndOr()
361 ICmpInst::Predicate Pred = ICI->getPredicate(); in foldSelectCttzCtlz()
407 ICmpInst::Predicate Pred = ICI->getPredicate(); in visitSelectInstWithICmp()
816 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE; in foldSelectICmpAnd()
901 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
913 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst()
930 if (FCI->hasOneUse() && FCmpInst::isUnordered(FCI->getPredicate())) { in visitSelectInst()
944 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
956 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst()
973 if (FCI->hasOneUse() && FCmpInst::isUnordered(FCI->getPredicate())) { in visitSelectInst()
DInstCombineAndOrXor.cpp548 switch (I->getPredicate()) { in decomposeBitTestICmp()
706 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmps()
836 Cmp0->getPredicate()); in simplifyRangeCheck()
844 Cmp1->getPredicate()); in simplifyRangeCheck()
881 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps()
1126 if (LHS->getPredicate() == FCmpInst::FCMP_ORD && in FoldAndOfFCmps()
1127 RHS->getPredicate() == FCmpInst::FCMP_ORD) { in FoldAndOfFCmps()
1151 FCmpInst::Predicate Op0CC = LHS->getPredicate(), Op1CC = RHS->getPredicate(); in FoldAndOfFCmps()
1782 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldOrOfICmps()
1789 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()
592 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgOpIntoPHI()
/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/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/Analysis/
DBranchProbabilityInfo.cpp321 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
415 switch (CI->getPredicate()) { in calcZeroHeuristics()
435 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
440 switch (CI->getPredicate()) { in calcZeroHeuristics()
487 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics()
490 } else if (FCmp->getPredicate() == FCmpInst::FCMP_UNO) { in calcFloatingPointHeuristics()
/external/llvm/include/llvm/IR/
DInstrTypes.h961 Predicate getPredicate() const {
976 bool isFPPredicate() const { return isFPPredicate(getPredicate()); }
977 bool isIntPredicate() const { return isIntPredicate(getPredicate()); }
984 return getInversePredicate(getPredicate());
1000 return getSwappedPredicate(getPredicate());
1027 return isSigned(getPredicate());
1033 return isUnsigned(getPredicate());
1046 return getSignedPredicate(getPredicate());
1052 return isTrueWhenEqual(getPredicate());
1058 return isFalseWhenEqual(getPredicate());
/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 __anondb689e930211::ImmPredicateSet
112 OS << "_" << ImmPredicates.getPredicate(Code-1).getFnName(); in printManglingSuffix()
159 TreePredicateFn PredFn = ImmPredicates.getPredicate(Code-1); in emitImmediatePredicate()
/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/Transforms/Scalar/
DCorrelatedValuePropagation.cpp208 LVI->getPredicateAt(C->getPredicate(), Op0, Op1, C); in processCmp()
351 LVI->getPredicateAt(C->getPredicate(), Op0, Op1, At); in getConstantAt()
DJumpThreading.cpp560 Value *Res = SimplifyCmpInst(Cmp->getPredicate(), LHS, RHS, DL); in ComputeValueKnownInPredecessors()
566 ResT = LVI->getPredicateOnEdge(Cmp->getPredicate(), LHS, in ComputeValueKnownInPredecessors()
593 LVI->getPredicateOnEdge(Cmp->getPredicate(), Cmp->getOperand(0), in ComputeValueKnownInPredecessors()
614 Constant *Folded = ConstantExpr::getCompare(Cmp->getPredicate(), in ComputeValueKnownInPredecessors()
817 LVI->getPredicateAt(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock()
1848 LVI->getPredicateOnEdge(CondCmp->getPredicate(), SI->getOperand(1), in TryToUnfoldSelect()
1851 LVI->getPredicateOnEdge(CondCmp->getPredicate(), SI->getOperand(2), in TryToUnfoldSelect()
DLowerExpectIntrinsic.cpp93 if (CmpI->getPredicate() != CmpInst::ICMP_NE) in handleBranchExpect()
DFloat2Int.cpp143 if (mapFCmpPred(cast<CmpInst>(&I)->getPredicate()) != in findRoots()
482 CmpInst::Predicate P = mapFCmpPred(cast<CmpInst>(I)->getPredicate()); in convert()
DGVN.cpp189 CmpInst::Predicate Predicate = C->getPredicate(); in create_expression()
1830 if (CmpI->getPredicate() == CmpInst::Predicate::ICMP_EQ || in processAssumeIntrinsic()
1831 CmpI->getPredicate() == CmpInst::Predicate::FCMP_OEQ || in processAssumeIntrinsic()
1832 (CmpI->getPredicate() == CmpInst::Predicate::FCMP_UEQ && in processAssumeIntrinsic()
2237 if ((isKnownTrue && Cmp->getPredicate() == CmpInst::ICMP_EQ) || in propagateEquality()
2238 (isKnownFalse && Cmp->getPredicate() == CmpInst::ICMP_NE)) in propagateEquality()
2242 if ((isKnownTrue && Cmp->getPredicate() == CmpInst::FCMP_OEQ) || in propagateEquality()
2243 (isKnownFalse && Cmp->getPredicate() == CmpInst::FCMP_UNE)) { in propagateEquality()
/external/llvm/lib/IR/
DConstantsContext.h467 SubclassData(CE->isCompare() ? CE->getPredicate() : 0), Ops(Operands),
473 SubclassData(CE->isCompare() ? CE->getPredicate() : 0),
494 if (SubclassData != (CE->isCompare() ? CE->getPredicate() : 0))
DInstruction.cpp295 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