Home
last modified time | relevance | path

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

12345678910

/external/swiftshader/third_party/subzero/src/
DIceInstARM32.cpp113 Str << Opcode << getPredicate() << "." << Ty; in dumpOpcodePred()
171 Str << Instr->getPredicate() << "\t"; in emitUnaryopGPR()
182 Str << "\t" << Opcode << Instr->getPredicate(); in emitUnaryopFP()
208 Str << "\t" << Opcode << Instr->getPredicate() << "\t"; in emitTwoAddr()
221 Str << "\t" << Opcode << (SetFlags ? "s" : "") << Instr->getPredicate() in emitThreeAddr()
267 Str << "\t" << Opcode << Instr->getPredicate() << "\t"; in emitFourAddr()
300 Asm->mla(getDest(), getSrc(0), getSrc(1), getSrc(2), getPredicate()); in emitIAS()
308 Asm->mls(getDest(), getSrc(0), getSrc(1), getSrc(2), getPredicate()); in emitIAS()
319 Str << "\t" << Opcode << Instr->getPredicate() << "\t"; in emitCmpLike()
524 setPredicate(getOppositeCondition(getPredicate())); in optimizeBranch()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp286 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in FoldCmpLoadFromIndexedGlobal()
784 ICmpInst::Predicate Pred = ICI.getPredicate(); in FoldICmpDivCst()
965 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst()
975 return new ICmpInst(ICI.getPredicate(), Shr->getOperand(0), ShiftedCmpRHS); in FoldICmpShrCst()
984 return new ICmpInst(ICI.getPredicate(), And, ShiftedCmpRHS); in FoldICmpShrCst()
1013 return new ICmpInst(ICI.getPredicate(), LHSI->getOperand(0), in visitICmpInstWithInstAndIntCst()
1023 if ((ICI.getPredicate() == ICmpInst::ICMP_SLT && RHSV == 0) || in visitICmpInstWithInstAndIntCst()
1024 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) { in visitICmpInstWithInstAndIntCst()
1036 bool isTrueIfPositive = ICI.getPredicate() == ICmpInst::ICMP_SGT; in visitICmpInstWithInstAndIntCst()
1094 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()
307 return SimplifyCmpInst(C->getPredicate(), C->getOperand(0), RepOp, TD); in SimplifyWithOpReplaced()
346 ICmpInst::Predicate Pred = ICI->getPredicate(); in visitSelectInstWithICmp()
639 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE; in foldSelectICmpAnd()
715 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
727 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst()
742 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
754 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst()
DInstCombineAndOrXor.cpp90 switch (ICI->getPredicate()) { in getICmpCode()
569 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmpsHelper()
696 if (LHS->getPredicate() != NEWCC) in foldLogOpOfMaskedICmps()
700 if (RHS->getPredicate() != NEWCC) in foldLogOpOfMaskedICmps()
719 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps()
963 if (LHS->getPredicate() == FCmpInst::FCMP_ORD && in FoldAndOfFCmps()
964 RHS->getPredicate() == FCmpInst::FCMP_ORD) { in FoldAndOfFCmps()
985 FCmpInst::Predicate Op0CC = LHS->getPredicate(), Op1CC = RHS->getPredicate(); in FoldAndOfFCmps()
1460 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldOrOfICmps()
1668 if (LHS->getPredicate() == FCmpInst::FCMP_UNO && in FoldOrOfFCmps()
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp321 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in FoldCmpLoadFromIndexedGlobal()
1133 ConstantInt::get(CmpTy, !CmpInst::isTrueWhenEqual(ICI.getPredicate()))); in FoldAllocaCmp()
1225 ICmpInst::Predicate Pred = ICI.getPredicate(); in FoldICmpDivCst()
1404 bool IsICMP_NE = ICI.getPredicate() == ICmpInst::ICMP_NE; in FoldICmpShrCst()
1413 return new ICmpInst(ICI.getPredicate(), Shr->getOperand(0), ShiftedCmpRHS); in FoldICmpShrCst()
1422 return new ICmpInst(ICI.getPredicate(), And, ShiftedCmpRHS); in FoldICmpShrCst()
1436 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst()
1442 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShrCst()
1500 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst()
1506 if (I.getPredicate() == I.ICMP_NE) in FoldICmpCstShlCst()
[all …]
DInstCombineSelect.cpp350 ICmpInst::Predicate Pred = IC->getPredicate(); in foldSelectICmpAndOr()
372 ICmpInst::Predicate Pred = ICI->getPredicate(); in foldSelectCttzCtlz()
418 ICmpInst::Predicate Pred = ICI->getPredicate(); in visitSelectInstWithICmp()
830 ShouldNotVal ^= IC->getPredicate() == ICmpInst::ICMP_NE; in foldSelectICmpAnd()
995 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
1007 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst()
1024 if (FCI->hasOneUse() && FCmpInst::isUnordered(FCI->getPredicate())) { in visitSelectInst()
1038 if (FCI->getPredicate() == FCmpInst::FCMP_OEQ) { in visitSelectInst()
1050 if (FCI->getPredicate() == FCmpInst::FCMP_UNE) { in visitSelectInst()
1067 if (FCI->hasOneUse() && FCmpInst::isUnordered(FCI->getPredicate())) { in visitSelectInst()
DInstCombineAndOrXor.cpp536 switch (I->getPredicate()) { in decomposeBitTestICmp()
694 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in foldLogOpOfMaskedICmps()
824 Cmp0->getPredicate()); in simplifyRangeCheck()
832 Cmp1->getPredicate()); in simplifyRangeCheck()
869 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldAndOfICmps()
1101 FCmpInst::Predicate Op0CC = LHS->getPredicate(), Op1CC = RHS->getPredicate(); in FoldAndOfFCmps()
1122 if (LHS->getPredicate() == FCmpInst::FCMP_ORD && in FoldAndOfFCmps()
1123 RHS->getPredicate() == FCmpInst::FCMP_ORD) { in FoldAndOfFCmps()
1681 ICmpInst::Predicate LHSCC = LHS->getPredicate(), RHSCC = RHS->getPredicate(); in FoldOrOfICmps()
1688 if (LHS->getPredicate() == ICmpInst::ICMP_EQ && LHSCst && LHSCst->isZero() && in FoldOrOfICmps()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMCodeEmitter.cpp694 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi32immInstruction()
709 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi32immInstruction()
732 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi2piecesInstruction()
747 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMOVi2piecesInstruction()
771 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitLEApcrelJTInstruction()
796 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitPseudoMoveInstruction()
845 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitPseudoInstruction()
1008 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitDataProcessingInstruction()
1115 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitLoadStoreInstruction()
1186 Binary |= II->getPredicate(&MI) << ARMII::CondShift; in emitMiscLoadStoreInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp264 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in foldCmpLoadFromIndexedGlobal()
1079 ConstantInt::get(CmpTy, !CmpInst::isTrueWhenEqual(ICI.getPredicate()))); in foldAllocaCmp()
1138 if (I.getPredicate() == I.ICMP_NE) in foldICmpShrConstConst()
1185 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShrConstConst()
1197 if (I.getPredicate() == I.ICMP_NE) in foldICmpShlConstConst()
1224 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShlConstConst()
1320 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithZero()
1338 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithConstant()
1422 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpTruncConstant()
1463 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpXorConstant()
[all …]
DInstCombineSelect.cpp111 ICmpInst::Predicate Pred = Cmp->getPredicate(); in foldSelectICmpAnd()
455 Cmp->getPredicate() == ICmpInst::ICMP_EQ && in foldSelectICmpAndAnd()
523 IsEqualZero = IC->getPredicate() == ICmpInst::ICMP_EQ; in foldSelectICmpAndOr()
524 } else if (IC->getPredicate() == ICmpInst::ICMP_SLT || in foldSelectICmpAndOr()
525 IC->getPredicate() == ICmpInst::ICMP_SGT) { in foldSelectICmpAndOr()
528 IsEqualZero = IC->getPredicate() == ICmpInst::ICMP_SGT; in foldSelectICmpAndOr()
598 ICmpInst::Predicate Pred = ICI->getPredicate(); in canonicalizeSaturatedSubtract()
654 ICmpInst::Predicate Pred = ICI->getPredicate(); in foldSelectCttzCtlz()
698 ICmpInst::Predicate Pred = Cmp.getPredicate(); in adjustMinMax()
808 Cmp.getPredicate() == CanonicalPred) in canonicalizeMinMaxWithConstant()
[all …]
DInstCombineAndOrXor.cpp612 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate(); in foldLogOpOfMaskedICmps()
764 Cmp0->getPredicate()); in simplifyRangeCheck()
772 Cmp1->getPredicate()); in simplifyRangeCheck()
820 ICmpInst::Predicate Pred = LHS->getPredicate(); in foldAndOrOfEqualityCmpsWithConstants()
821 if (Pred != RHS->getPredicate()) in foldAndOrOfEqualityCmpsWithConstants()
866 ICmpInst::Predicate Pred = LHS->getPredicate(); in foldAndOrOfICmpsOfAndWithPow2()
867 if (Pred != RHS->getPredicate()) in foldAndOrOfICmpsOfAndWithPow2()
909 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate(); in foldAndOfICmps()
1089 FCmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate(); in foldLogicOfFCmps()
1780 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate(); in foldOrOfICmps()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DInstrTypes.h709 Predicate getPredicate() const {
724 bool isFPPredicate() const { return isFPPredicate(getPredicate()); }
725 bool isIntPredicate() const { return isIntPredicate(getPredicate()); }
733 return getInversePredicate(getPredicate());
749 return getSwappedPredicate(getPredicate());
776 return isSigned(getPredicate());
782 return isUnsigned(getPredicate());
788 return isTrueWhenEqual(getPredicate());
794 return isFalseWhenEqual(getPredicate());
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstrTypes.h959 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());
1015 return getFlippedStrictnessPredicate(getPredicate());
1026 return getNonStrictPredicate(getPredicate());
1055 return isSigned(getPredicate());
1061 return isUnsigned(getPredicate());
1074 return getSignedPredicate(getPredicate());
[all …]
/external/llvm/include/llvm/IR/
DInstrTypes.h945 Predicate getPredicate() const {
960 bool isFPPredicate() const { return isFPPredicate(getPredicate()); }
961 bool isIntPredicate() const { return isIntPredicate(getPredicate()); }
968 return getInversePredicate(getPredicate());
984 return getSwappedPredicate(getPredicate());
1011 return isSigned(getPredicate());
1017 return isUnsigned(getPredicate());
1030 return getSignedPredicate(getPredicate());
1036 return isTrueWhenEqual(getPredicate());
1042 return isFalseWhenEqual(getPredicate());
[all …]
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp332 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
428 switch (CI->getPredicate()) { in calcZeroHeuristics()
448 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
453 switch (CI->getPredicate()) { in calcZeroHeuristics()
501 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics()
504 } else if (FCmp->getPredicate() == FCmpInst::FCMP_UNO) { in calcFloatingPointHeuristics()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp416 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
554 Constant *Result = ConstantExpr::getCompare(CI->getPredicate(), in computeUnlikelySuccessors()
697 switch (CI->getPredicate()) { in calcZeroHeuristics()
708 switch (CI->getPredicate()) { in calcZeroHeuristics()
728 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
733 switch (CI->getPredicate()) { in calcZeroHeuristics()
781 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics()
784 } else if (FCmp->getPredicate() == FCmpInst::FCMP_UNO) { in calcFloatingPointHeuristics()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DBranchProbabilityInfo.cpp248 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics()
340 switch (CI->getPredicate()) { in calcZeroHeuristics()
360 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics()
364 } else if (CV->isAllOnesValue() && CI->getPredicate() == CmpInst::ICMP_SGT) { in calcZeroHeuristics()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstruction.cpp208 return CI->getPredicate() == cast<CmpInst>(I)->getPredicate(); in isIdenticalToWhenDefined()
263 return CI->getPredicate() == cast<CmpInst>(I)->getPredicate(); in isSameOperationAs()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp152 LazyValueInfo::Tristate Result = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
158 LazyValueInfo::Tristate Res = LVI->getPredicateOnEdge(C->getPredicate(), in processCmp()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DDAGISelMatcher.cpp89 TreePredicateFn CheckPredicateMatcher::getPredicate() const { in getPredicate() function in CheckPredicateMatcher
141 OS.indent(indent) << "CheckPredicate " << getPredicate().getFnName() << '\n'; in printImpl()
275 return HashString(getPredicate().getFnName()); in getHashImpl()
/external/antlr/runtime/ObjC/Framework/
DFailedPredicateException.h44 - (NSString *) getPredicate;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCPredicates.h88 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate() function
/external/swiftshader/third_party/LLVM/tools/llvm-diff/
DDifferenceEngine.cpp260 if (cast<CmpInst>(L)->getPredicate() in diff()
261 != cast<CmpInst>(R)->getPredicate()) { in diff()
405 if (L->getPredicate() != R->getPredicate()) in equivalentAsOperands()
/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()

12345678910