/external/swiftshader/third_party/subzero/src/ |
D | IceInstARM32.cpp | 108 Str << Opcode << getPredicate() << "." << Ty; in dumpOpcodePred() 166 Str << Instr->getPredicate() << "\t"; in emitUnaryopGPR() 177 Str << "\t" << Opcode << Instr->getPredicate(); in emitUnaryopFP() 203 Str << "\t" << Opcode << Instr->getPredicate() << "\t"; in emitTwoAddr() 216 Str << "\t" << Opcode << (SetFlags ? "s" : "") << Instr->getPredicate() in emitThreeAddr() 262 Str << "\t" << Opcode << Instr->getPredicate() << "\t"; in emitFourAddr() 295 Asm->mla(getDest(), getSrc(0), getSrc(1), getSrc(2), getPredicate()); in emitIAS() 303 Asm->mls(getDest(), getSrc(0), getSrc(1), getSrc(2), getPredicate()); in emitIAS() 314 Str << "\t" << Opcode << Instr->getPredicate() << "\t"; in emitCmpLike() 519 setPredicate(getOppositeCondition(getPredicate())); in optimizeBranch() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 321 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 …]
|
D | InstCombineSelect.cpp | 350 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()
|
D | InstCombineAndOrXor.cpp | 536 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/llvm-project/llvm/unittests/Transforms/Vectorize/ |
D | VPlanPredicatorTest.cpp | 86 VPValue *OuterIfPred = OuterIf->getPredicate(); in TEST_F() 89 VPValue *InnerIfPred = InnerIf->getPredicate(); in TEST_F() 215 EXPECT_EQ(InnerIfTSucc->getPredicate(), And); in TEST_F() 216 EXPECT_EQ(InnerIfFSucc->getPredicate(), NotAnd); in TEST_F() 220 EXPECT_EQ(TSuccSucc->getPredicate(), Or); in TEST_F()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 236 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in foldCmpLoadFromIndexedGlobal() 1100 ConstantInt::get(CmpTy, !CmpInst::isTrueWhenEqual(ICI.getPredicate()))); in foldAllocaCmp() 1160 if (I.getPredicate() == I.ICMP_NE) in foldICmpShrConstConst() 1207 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShrConstConst() 1219 if (I.getPredicate() == I.ICMP_NE) in foldICmpShlConstConst() 1246 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShlConstConst() 1396 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithZero() 1448 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithConstant() 1507 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithDominatingICmp() 1555 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpTruncConstant() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 235 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in foldCmpLoadFromIndexedGlobal() 1098 ConstantInt::get(CmpTy, !CmpInst::isTrueWhenEqual(ICI.getPredicate()))); in foldAllocaCmp() 1158 if (I.getPredicate() == I.ICMP_NE) in foldICmpShrConstConst() 1205 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShrConstConst() 1217 if (I.getPredicate() == I.ICMP_NE) in foldICmpShlConstConst() 1244 auto *TorF = ConstantInt::get(I.getType(), I.getPredicate() == I.ICMP_NE); in foldICmpShlConstConst() 1393 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithZero() 1445 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithConstant() 1483 CmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpWithDominatingICmp() 1531 ICmpInst::Predicate Pred = Cmp.getPredicate(); in foldICmpTruncConstant() [all …]
|
/external/llvm-project/mlir/lib/TableGen/ |
D | Constraint.cpp | 43 Pred Constraint::getPredicate() const { in getPredicate() function in Constraint 56 return getPredicate().getCondition(); in getConditionTemplate()
|
D | Argument.cpp | 16 return !constraint.getPredicate().isNull(); in hasPredicate()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | VPlanPredicator.cpp | 58 VPValue *BP = PredBB->getPredicate(); in getOrCreateNotPredicate() 138 VPValue *RegionBP = Region->getPredicate(); in createOrPropagatePredicates() 166 IncomingPredicate = PredBlock->getPredicate(); in createOrPropagatePredicates()
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | VPlanPredicator.cpp | 58 VPValue *BP = PredBB->getPredicate(); in getOrCreateNotPredicate() 138 VPValue *RegionBP = Region->getPredicate(); in createOrPropagatePredicates() 166 IncomingPredicate = PredBlock->getPredicate(); in createOrPropagatePredicates()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | InstrTypes.h | 799 Predicate getPredicate() const { return getSubclassData<PredicateField>(); } 816 bool isFPPredicate() const { return isFPPredicate(getPredicate()); } 817 bool isIntPredicate() const { return isIntPredicate(getPredicate()); } 824 return getInversePredicate(getPredicate()); 840 return getSwappedPredicate(getPredicate()); 855 bool isStrictPredicate() const { return isStrictPredicate(getPredicate()); } 865 return isNonStrictPredicate(getPredicate()); 871 return getStrictPredicate(getPredicate()); 884 return getNonStrictPredicate(getPredicate()); 906 return getFlippedStrictnessPredicate(getPredicate()); [all …]
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 332 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/llvm/include/llvm/IR/ |
D | InstrTypes.h | 945 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/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 445 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics() 583 Constant *Result = ConstantExpr::getCompare(CI->getPredicate(), in computeUnlikelySuccessors() 732 switch (CI->getPredicate()) { in calcZeroHeuristics() 743 switch (CI->getPredicate()) { in calcZeroHeuristics() 763 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics() 768 switch (CI->getPredicate()) { in calcZeroHeuristics() 818 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics() 823 } else if (FCmp->getPredicate() == FCmpInst::FCMP_UNO) { in calcFloatingPointHeuristics()
|
/external/llvm-project/llvm/utils/TableGen/GlobalISel/ |
D | GIMatchDagPredicateDependencyEdge.cpp | 23 OS << " ==> " << getPredicate()->getName() << "[" in print()
|
D | GIMatchTree.cpp | 104 unsigned ID = PredicateIDs.lookup(Dep.value()->getPredicate()); in GIMatchTreeBuilderLeafInfo() 305 TreeLeaf.addUntestedPredicate(BuilderLeaf.getPredicate(PredicateIdx)); in runStep() 416 const auto &P = Leaf.value().getPredicate(PIdx); in repartition() 424 PDep->getRequiredMO() == nullptr && PDep->getPredicate() == P) { in repartition() 447 PDep->getRequiredMO() == nullptr && PDep->getPredicate() == P) { in repartition() 553 << " " << *Leaf.getPredicate(PredIdx) << "\n"); in applyForPartition()
|
D | GIMatchDagPredicateDependencyEdge.h | 46 const GIMatchDagPredicate *getPredicate() const { return Predicate; } in getPredicate() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | InstrTypes.h | 807 Predicate getPredicate() const { 824 bool isFPPredicate() const { return isFPPredicate(getPredicate()); } 825 bool isIntPredicate() const { return isIntPredicate(getPredicate()); } 832 return getInversePredicate(getPredicate()); 848 return getSwappedPredicate(getPredicate()); 863 return getFlippedStrictnessPredicate(getPredicate()); 874 return getNonStrictPredicate(getPredicate()); 903 return isSigned(getPredicate()); 909 return isUnsigned(getPredicate()); 922 return getSignedPredicate(getPredicate()); [all …]
|
/external/antlr/runtime/ObjC/Framework/ |
D | FailedPredicateException.h | 44 - (NSString *) getPredicate;
|
/external/llvm-project/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 663 bool isProb = CI->getPredicate() == ICmpInst::ICMP_NE; in calcPointerHeuristics() 766 Constant *Result = ConstantExpr::getCompare(CI->getPredicate(), in computeUnlikelySuccessors() 909 switch (CI->getPredicate()) { in calcZeroHeuristics() 920 switch (CI->getPredicate()) { in calcZeroHeuristics() 940 } else if (CV->isOne() && CI->getPredicate() == CmpInst::ICMP_SLT) { in calcZeroHeuristics() 945 switch (CI->getPredicate()) { in calcZeroHeuristics() 995 } else if (FCmp->getPredicate() == FCmpInst::FCMP_ORD) { in calcFloatingPointHeuristics() 1000 } else if (FCmp->getPredicate() == FCmpInst::FCMP_UNO) { in calcFloatingPointHeuristics()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCPredicates.h | 87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate() function
|
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCPredicates.h | 87 inline Predicate getPredicate(unsigned Condition, unsigned Hint) { in getPredicate() function
|
/external/llvm-project/mlir/include/mlir/TableGen/ |
D | Constraint.h | 38 Pred getPredicate() const;
|
/external/llvm-project/llvm/lib/Target/BPF/ |
D | BPFAdjustOpt.cpp | 182 auto Cond2Op = Cond->getPredicate(); in serializeICMPCrossBB() 192 auto Cond1Op = Cond->getPredicate(); in serializeICMPCrossBB()
|