Home
last modified time | relevance | path

Searched refs:Pred1 (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMergedLoadStoreMotion.cpp295 BasicBlock *Pred1 = *SI; in mergeStores() local
297 if (Pred0 == Pred1) in mergeStores()
303 auto InstsNoDbg = Pred1->instructionsWithoutDebug(); in mergeStores()
321 if (StoreInst *S1 = canSinkFromBlock(Pred1, S0)) { in mergeStores()
332 SinkBB = SplitBlockPredecessors(TailBB, {Pred0, Pred1}, ".sink.split"); in mergeStores()
DGuardWidening.cpp507 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local
509 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon()
511 Pred1 = ICmpInst::getInversePredicate(Pred1); in widenCondCommon()
516 ConstantRange::makeExactICmpRegion(Pred1, RHS1->getValue()); in widenCondCommon()
DJumpThreading.cpp2661 BasicBlock *Pred1, *Pred2; in ProcessGuards() local
2665 Pred1 = *PI++; in ProcessGuards()
2671 if (Pred1 == Pred2) in ProcessGuards()
2676 auto *Parent = Pred1->getSinglePredecessor(); in ProcessGuards()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp1000 BasicBlock *Pred1 = nullptr; in GetIfCondition() local
1006 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition()
1012 Pred1 = *PI++; in GetIfCondition()
1022 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition()
1037 std::swap(Pred1, Pred2); in GetIfCondition()
1052 IfTrue = Pred1; in GetIfCondition()
1057 IfFalse = Pred1; in GetIfCondition()
1070 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition()
1079 if (BI->getSuccessor(0) == Pred1) { in GetIfCondition()
1080 IfTrue = Pred1; in GetIfCondition()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp80 CmpInst::Predicate ExpectedPred, Pred1, Pred2; in foldSelectWithBinaryOp() local
102 if (!match(Cond, m_c_BinOp(m_c_ICmp(Pred1, m_Specific(TrueVal), in foldSelectWithBinaryOp()
105 Pred1 != Pred2 || Pred1 != ExpectedPred) in foldSelectWithBinaryOp()
1526 ICmpInst::Predicate Pred0, Pred1; in simplifyAndOfICmpsWithSameOperands() local
1529 !match(Op1, m_ICmp(Pred1, m_Specific(A), m_Specific(B)))) in simplifyAndOfICmpsWithSameOperands()
1535 if (ICmpInst::isImpliedTrueByMatchingCmp(Pred0, Pred1)) in simplifyAndOfICmpsWithSameOperands()
1539 if ((Pred0 == ICmpInst::getInversePredicate(Pred1)) || in simplifyAndOfICmpsWithSameOperands()
1540 (Pred0 == ICmpInst::ICMP_EQ && ICmpInst::isFalseWhenEqual(Pred1)) || in simplifyAndOfICmpsWithSameOperands()
1541 (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT) || in simplifyAndOfICmpsWithSameOperands()
1542 (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT)) in simplifyAndOfICmpsWithSameOperands()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp768 ICmpInst::Predicate Pred1 = (Inverted ? Cmp1->getInversePredicate() : in simplifyRangeCheck() local
779 Pred1 = ICmpInst::getSwappedPredicate(Pred1); in simplifyRangeCheck()
786 switch (Pred1) { in simplifyRangeCheck()
1032 CmpInst::Predicate Pred0, Pred1; in foldIsPowerOf2() local
1035 match(Cmp1, m_ICmp(Pred1, m_Intrinsic<Intrinsic::ctpop>(m_Specific(X)), in foldIsPowerOf2()
1037 Pred0 == ICmpInst::ICMP_NE && Pred1 == ICmpInst::ICMP_ULT) { in foldIsPowerOf2()
1043 match(Cmp1, m_ICmp(Pred1, m_Intrinsic<Intrinsic::ctpop>(m_Specific(X)), in foldIsPowerOf2()
1045 Pred0 == ICmpInst::ICMP_EQ && Pred1 == ICmpInst::ICMP_UGT) { in foldIsPowerOf2()
DInstCombineSelect.cpp1251 ICmpInst::Predicate Pred1; in canonicalizeClampLike() local
1257 m_ICmp(Pred1, m_Specific(X), in canonicalizeClampLike()
1268 switch (Pred1) { in canonicalizeClampLike()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h343 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
DPPCInstrInfo.cpp1523 bool PPCInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument
1525 assert(Pred1.size() == 2 && "Invalid PPC first predicate"); in SubsumesPredicate()
1528 if (Pred1[1].getReg() == PPC::CTR8 || Pred1[1].getReg() == PPC::CTR) in SubsumesPredicate()
1534 if (Pred1[1].getReg() != Pred2[1].getReg()) in SubsumesPredicate()
1537 PPC::Predicate P1 = (PPC::Predicate) Pred1[0].getImm(); in SubsumesPredicate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h234 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
DHexagonInstrInfo.cpp1613 bool HexagonInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h158 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
DARMBaseInstrInfo.cpp519 bool ARMBaseInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument
521 if (Pred1.size() > 2 || Pred2.size() > 2) in SubsumesPredicate()
524 ARMCC::CondCodes CC1 = (ARMCC::CondCodes)Pred1[0].getImm(); in SubsumesPredicate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstrTypes.h959 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2);
963 static bool isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp3755 bool CmpInst::isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedTrueByMatchingCmp() argument
3758 if (Pred1 == Pred2) in isImpliedTrueByMatchingCmp()
3761 switch (Pred1) { in isImpliedTrueByMatchingCmp()
3780 bool CmpInst::isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedFalseByMatchingCmp() argument
3781 return isImpliedTrueByMatchingCmp(Pred1, getInversePredicate(Pred2)); in isImpliedFalseByMatchingCmp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h1326 virtual bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument