Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp317 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in FoldCmpLoadFromIndexedGlobal()
844 ICmpInst::Predicate Pred = ICI.getPredicate(); in FoldICmpDivCst()
1025 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst()
1034 return new ICmpInst(ICI.getPredicate(), Shr->getOperand(0), ShiftedCmpRHS); in FoldICmpShrCst()
1043 return new ICmpInst(ICI.getPredicate(), And, ShiftedCmpRHS); in FoldICmpShrCst()
1071 return new ICmpInst(ICI.getPredicate(), LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst()
1081 if ((ICI.getPredicate() == ICmpInst::ICMP_SLT && RHSV == 0) || in visitICmpInstWithInstAndIntCst()
1082 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) { in visitICmpInstWithInstAndIntCst()
1094 bool isTrueIfPositive = ICI.getPredicate() == ICmpInst::ICMP_SGT; in visitICmpInstWithInstAndIntCst()
1132 if (ICI.getPredicate() == ICmpInst::ICMP_UGT && in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineSelect.cpp38 switch (ICI->getPredicate()) { in MatchSelectPattern()
54 switch (ICI->getPredicate()) { in MatchSelectPattern()
312 return SimplifyCmpInst(C->getPredicate(), RepOp, C->getOperand(1), TD, in SimplifyWithOpReplaced()
315 return SimplifyCmpInst(C->getPredicate(), C->getOperand(0), RepOp, TD, in SimplifyWithOpReplaced()
338 return ConstantFoldCompareInstOperands(C->getPredicate(), ConstOps[0], in SimplifyWithOpReplaced()
407 ICmpInst::Predicate Pred = IC->getPredicate(); in foldSelectICmpAndOr()
421 ICmpInst::Predicate Pred = ICI->getPredicate(); in visitSelectInstWithICmp()
722 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE; in foldSelectICmpAnd()
806 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
818 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst()
[all …]
DInstCombineAndOrXor.cpp497 if (I->getPredicate() == ICmpInst::ICMP_SLT) in decomposeBitTestICmp()
509 if (I->getPredicate() == ICmpInst::ICMP_SGT) in decomposeBitTestICmp()
625 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmps()
701 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps()
932 if (LHS->getPredicate() == FCmpInst::FCMP_ORD && in FoldAndOfFCmps()
933 RHS->getPredicate() == FCmpInst::FCMP_ORD) { in FoldAndOfFCmps()
957 FCmpInst::Predicate Op0CC = LHS->getPredicate(), Op1CC = RHS->getPredicate(); in FoldAndOfFCmps()
1459 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldOrOfICmps()
1695 if (LHS->getPredicate() == FCmpInst::FCMP_UNO && in FoldOrOfFCmps()
1696 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()
/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/Target/ARM/
DARMCodeEmitter.cpp753 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi32immInstruction()
768 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi32immInstruction()
791 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi2piecesInstruction()
806 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi2piecesInstruction()
828 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitLEApcrelInstruction()
856 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitLEApcrelJTInstruction()
881 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitPseudoMoveInstruction()
936 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitPseudoInstruction()
1110 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitDataProcessingInstruction()
1223 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitLoadStoreInstruction()
[all …]
/external/llvm/include/llvm/IR/
DInstrTypes.h714 Predicate getPredicate() const {
729 bool isFPPredicate() const { return isFPPredicate(getPredicate()); }
730 bool isIntPredicate() const { return isIntPredicate(getPredicate()); }
738 return getInversePredicate(getPredicate());
754 return getSwappedPredicate(getPredicate());
781 return isSigned(getPredicate());
787 return isUnsigned(getPredicate());
793 return isTrueWhenEqual(getPredicate());
799 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.cpp295 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
377 switch (CI->getPredicate()) { in calcZeroHeuristics()
397 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
401 } else if (CV->isAllOnesValue() && CI->getPredicate() == CmpInst::ICMP_SGT) { in calcZeroHeuristics()
435 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics()
438 } 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 __anonf6ca9a5c0211::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/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.cpp493 Value *Res = SimplifyCmpInst(Cmp->getPredicate(), LHS, RHS, TD); in ComputeValueKnownInPredecessors()
499 ResT = LVI->getPredicateOnEdge(Cmp->getPredicate(), LHS, in ComputeValueKnownInPredecessors()
526 LVI->getPredicateOnEdge(Cmp->getPredicate(), Cmp->getOperand(0), in ComputeValueKnownInPredecessors()
547 Constant *Folded = ConstantExpr::getCompare(Cmp->getPredicate(), in ComputeValueKnownInPredecessors()
759 LVI->getPredicateOnEdge(CondCmp->getPredicate(), CondCmp->getOperand(0), in ProcessBlock()
765 LVI->getPredicateOnEdge(CondCmp->getPredicate(), in ProcessBlock()
1662 LVI->getPredicateOnEdge(CondCmp->getPredicate(), SI->getOperand(1), in TryToUnfoldSelect()
1665 LVI->getPredicateOnEdge(CondCmp->getPredicate(), SI->getOperand(2), in TryToUnfoldSelect()
/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.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
/external/chromium_org/third_party/mesa/src/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/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()

1234