/third_party/skia/third_party/externals/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 …]
|
/third_party/skia/third_party/externals/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 …]
|
D | InstCombineSelect.cpp | 138 ICmpInst::Predicate Pred = Cmp->getPredicate(); in foldSelectICmpAnd() 505 Cmp->getPredicate() == ICmpInst::ICMP_EQ && in foldSelectICmpAndAnd() 542 ICmpInst::Predicate Pred = IC->getPredicate(); in foldSelectICmpLshrAshr() 613 IsEqualZero = IC->getPredicate() == ICmpInst::ICMP_EQ; in foldSelectICmpAndOr() 614 } else if (IC->getPredicate() == ICmpInst::ICMP_SLT || in foldSelectICmpAndOr() 615 IC->getPredicate() == ICmpInst::ICMP_SGT) { in foldSelectICmpAndOr() 618 IsEqualZero = IC->getPredicate() == ICmpInst::ICMP_SGT; in foldSelectICmpAndOr() 684 ICmpInst::Predicate Pred = ICI->getPredicate(); in canonicalizeSaturatedSubtract() 743 ICmpInst::Predicate Pred = Cmp->getPredicate(); in canonicalizeSaturatedAdd() 818 if (ICI->getPredicate() == ICmpInst::ICMP_NE) in foldSelectCtlzToCttz() [all …]
|
D | InstCombineAndOrXor.cpp | 609 ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate(); in foldLogOpOfMaskedICmps() 761 Cmp0->getPredicate()); in simplifyRangeCheck() 769 Cmp1->getPredicate()); in simplifyRangeCheck() 817 ICmpInst::Predicate Pred = LHS->getPredicate(); in foldAndOrOfEqualityCmpsWithConstants() 818 if (Pred != RHS->getPredicate()) in foldAndOrOfEqualityCmpsWithConstants() 863 ICmpInst::Predicate Pred = LHS->getPredicate(); in foldAndOrOfICmpsOfAndWithPow2() 864 if (Pred != RHS->getPredicate()) in foldAndOrOfICmpsOfAndWithPow2() 964 CmpInst::Predicate Pred = ICmp->getPredicate(); in foldSignedTruncationCheck() 1026 if (JoinedByAnd && Cmp1->getPredicate() == ICmpInst::ICMP_NE) in foldIsPowerOf2() 1028 else if (!JoinedByAnd && Cmp1->getPredicate() == ICmpInst::ICMP_EQ) in foldIsPowerOf2() [all …]
|
D | InstCombinePHI.cpp | 317 if (CI->getPredicate() != cast<CmpInst>(FirstInst)->getPredicate()) in FoldPHIArgBinOpIntoPHI() 369 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgBinOpIntoPHI() 837 CmpInst *NewCI = CmpInst::Create(CIOp->getOpcode(), CIOp->getPredicate(), in FoldPHIArgOpIntoPHI()
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/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()
|
D | CmpInstAnalysis.cpp | 23 : ICI->getPredicate(); in getICmpCode()
|
D | LoopUnrollAnalyzer.cpp | 195 if (Constant *C = ConstantExpr::getCompare(I.getPredicate(), CLHS, CRHS)) { in visitCmpInst()
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/skia/third_party/externals/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
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 125 auto Pred = I.getPredicate(); in convertFCmp() 235 auto Pred = I.getPredicate(); in convertICmp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 178 ICmpInst::Predicate Pred = ICmp->getPredicate(); in makeIVComparisonInvariant() 247 ICmpInst::Predicate Pred = ICmp->getPredicate(); in eliminateIVComparison() 281 assert(ICmp->getPredicate() == OriginalPred && "Predicate changed?"); in eliminateIVComparison() 588 ICmpInst::Predicate Pred = ICI->getPredicate(); in eliminateTrunc()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ConstantsContext.h | 482 SubclassData(CE->isCompare() ? CE->getPredicate() : 0), Ops(Operands), 490 SubclassData(CE->isCompare() ? CE->getPredicate() : 0), 512 if (SubclassData != (CE->isCompare() ? CE->getPredicate() : 0))
|
D | IntrinsicInst.cpp | 125 ConstrainedFPCmpIntrinsic::getPredicate() const { in getPredicate() function in ConstrainedFPCmpIntrinsic
|
D | Instruction.cpp | 402 return CI->getPredicate() == cast<CmpInst>(I2)->getPredicate(); in haveSameSpecialState()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | GuardWidening.cpp | 597 (IC->getPredicate() != ICmpInst::ICMP_ULT && in parseRangeChecks() 598 IC->getPredicate() != ICmpInst::ICMP_UGT)) in parseRangeChecks() 602 if (IC->getPredicate() == ICmpInst::ICMP_UGT) in parseRangeChecks()
|
D | Float2Int.cpp | 141 if (mapFCmpPred(cast<CmpInst>(&I)->getPredicate()) != in findRoots() 477 CmpInst::Predicate P = mapFCmpPred(cast<CmpInst>(I)->getPredicate()); in convert()
|
D | GVN.cpp | 293 CmpInst::Predicate Predicate = C->getPredicate(); in createExpr() 1393 if (Cmp->getPredicate() == CmpInst::Predicate::ICMP_EQ) in impliesEquivalanceIfTrue() 1399 if (Cmp->getPredicate() == CmpInst::Predicate::FCMP_OEQ || in impliesEquivalanceIfTrue() 1400 (Cmp->getPredicate() == CmpInst::Predicate::FCMP_UEQ && in impliesEquivalanceIfTrue() 1419 if (Cmp->getPredicate() == CmpInst::Predicate::ICMP_NE) in impliesEquivalanceIfFalse() 1425 if ((Cmp->getPredicate() == CmpInst::Predicate::FCMP_ONE && in impliesEquivalanceIfFalse() 1427 Cmp->getPredicate() == CmpInst::Predicate::FCMP_UNE) { in impliesEquivalanceIfFalse()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineOperand.cpp | 336 return getPredicate() == Other.getPredicate(); in isIdenticalTo() 386 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getPredicate()); in hash_value() 926 auto Pred = static_cast<CmpInst::Predicate>(getPredicate()); in print()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_peephole.cpp | 105 if (mov->getPredicate()) in visit() 2066 if (set0->getPredicate() || set1->getPredicate()) in handleLOGOP() 2528 insn->setPredicate(i->cc, i->getPredicate()); in handleMULMAD() 2531 insn->setPredicate(i->cc, i->getPredicate()); in handleMULMAD() 2534 Value *pred = i->getPredicate(); in handleMULMAD() 3226 if (ldst->getPredicate()) // TODO: handle predicated ld/st in runOpt() 3348 Value *pred = term->getPredicate(); in removeFlow() 3366 assert(!i->getPredicate()); in predicateInstructions() 3411 if (!rep || rep->getPredicate()) in tryPropagateBranch() 3446 if (insn && insn->op == OP_JOIN && !insn->getPredicate()) { in visit() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Vectorize/ |
D | LoopVectorizationLegality.h | 104 unsigned getPredicate() const { return Predicate.Value; } in getPredicate() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | CSEMIRBuilder.cpp | 74 B.addNodeIDImmediate(static_cast<int64_t>(Op.getPredicate())); in profileSrcOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCMIPeephole.cpp | 1037 return PPC::getPredicate(PPC::PRED_GT, PredHint); in getPredicateToDecImm() 1039 return PPC::getPredicate(PPC::PRED_LE, PredHint); in getPredicateToDecImm() 1056 return PPC::getPredicate(PPC::PRED_GE, PredHint); in getPredicateToIncImm() 1058 return PPC::getPredicate(PPC::PRED_LT, PredHint); in getPredicateToIncImm()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXGenericToNVVM.cpp | 260 return Builder.CreateICmp(CmpInst::Predicate(C->getPredicate()), in remapConstantExpr()
|