Home
last modified time | relevance | path

Searched refs:Pred2 (Results 1 – 25 of 27) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp682 BasicBlock *Pred2 = nullptr; in GetIfCondition() local
688 Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
696 Pred2 = *PI++; in GetIfCondition()
704 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator()); in GetIfCondition()
718 std::swap(Pred1, Pred2); in GetIfCondition()
726 if (!Pred2->getSinglePredecessor()) in GetIfCondition()
732 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
734 IfFalse = Pred2; in GetIfCondition()
735 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
737 IfTrue = Pred2; in GetIfCondition()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp1001 BasicBlock *Pred2 = nullptr; in GetIfCondition() local
1007 Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
1015 Pred2 = *PI++; in GetIfCondition()
1023 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator()); in GetIfCondition()
1037 std::swap(Pred1, Pred2); in GetIfCondition()
1045 if (!Pred2->getSinglePredecessor()) in GetIfCondition()
1051 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
1053 IfFalse = Pred2; in GetIfCondition()
1054 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
1056 IfTrue = Pred2; in GetIfCondition()
[all …]
/external/llvm/test/TableGen/
DAsmPredicateCondsEmission.td16 def Pred2 : Predicate<"Condition2">,
28 let Predicates = [Pred1, Pred2];
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.take.while/
Dadaptor.pass.cpp100 struct Pred2 { in test() struct
103 auto const partial = std::views::take_while(Pred{}) | std::views::take_while(Pred2{}); in test()
104 …sult = std::ranges::take_while_view<std::ranges::take_while_view<MoveOnlyView, Pred>, Pred2>; in test()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.drop.while/
Dadaptor.pass.cpp109 struct Pred2 { in test() struct
112 auto const partial = std::views::drop_while(Pred{}) | std::views::drop_while(Pred2{}); in test()
113 …sult = std::ranges::drop_while_view<std::ranges::drop_while_view<MoveOnlyView, Pred>, Pred2>; in test()
/external/llvm/include/llvm/IR/
DInstrTypes.h1047 bool isImpliedTrueByMatchingCmp(Predicate Pred2) {
1048 return isImpliedTrueByMatchingCmp(getPredicate(), Pred2);
1053 bool isImpliedFalseByMatchingCmp(Predicate Pred2) {
1054 return isImpliedFalseByMatchingCmp(getPredicate(), Pred2);
1079 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2);
1083 static bool isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2);
/external/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()
3766 return Pred2 == ICMP_UGE || Pred2 == ICMP_ULE || Pred2 == ICMP_SGE || in isImpliedTrueByMatchingCmp()
3767 Pred2 == ICMP_SLE; in isImpliedTrueByMatchingCmp()
3769 return Pred2 == ICMP_NE || Pred2 == ICMP_UGE; in isImpliedTrueByMatchingCmp()
3771 return Pred2 == ICMP_NE || Pred2 == ICMP_ULE; in isImpliedTrueByMatchingCmp()
3773 return Pred2 == ICMP_NE || Pred2 == ICMP_SGE; in isImpliedTrueByMatchingCmp()
3775 return Pred2 == ICMP_NE || Pred2 == ICMP_SLE; in isImpliedTrueByMatchingCmp()
3780 bool CmpInst::isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedFalseByMatchingCmp() argument
3781 return isImpliedTrueByMatchingCmp(Pred1, getInversePredicate(Pred2)); in isImpliedFalseByMatchingCmp()
/external/llvm/lib/IR/
DInstructions.cpp3656 bool CmpInst::isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedTrueByMatchingCmp() argument
3659 if (Pred1 == Pred2) in isImpliedTrueByMatchingCmp()
3667 return Pred2 == ICMP_UGE || Pred2 == ICMP_ULE || Pred2 == ICMP_SGE || in isImpliedTrueByMatchingCmp()
3668 Pred2 == ICMP_SLE; in isImpliedTrueByMatchingCmp()
3670 return Pred2 == ICMP_NE || Pred2 == ICMP_UGE; in isImpliedTrueByMatchingCmp()
3672 return Pred2 == ICMP_NE || Pred2 == ICMP_ULE; in isImpliedTrueByMatchingCmp()
3674 return Pred2 == ICMP_NE || Pred2 == ICMP_SGE; in isImpliedTrueByMatchingCmp()
3676 return Pred2 == ICMP_NE || Pred2 == ICMP_SLE; in isImpliedTrueByMatchingCmp()
3681 bool CmpInst::isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedFalseByMatchingCmp() argument
3682 return isImpliedTrueByMatchingCmp(Pred1, getInversePredicate(Pred2)); in isImpliedFalseByMatchingCmp()
/external/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h240 ArrayRef<MachineOperand> Pred2) const override;
DPPCInstrInfo.cpp1417 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate()
1419 assert(Pred2.size() == 2 && "Invalid PPC second predicate"); in SubsumesPredicate()
1423 if (Pred2[1].getReg() == PPC::CTR8 || Pred2[1].getReg() == PPC::CTR) in SubsumesPredicate()
1427 if (Pred1[1].getReg() != Pred2[1].getReg()) in SubsumesPredicate()
1431 PPC::Predicate P2 = (PPC::Predicate) Pred2[0].getImm(); in SubsumesPredicate()
/external/llvm/lib/Target/AMDGPU/
DR600InstrInfo.h195 ArrayRef<MachineOperand> Pred2) const override;
DR600InstrInfo.cpp986 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h216 ArrayRef<MachineOperand> Pred2) const override;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h344 ArrayRef<MachineOperand> Pred2) const override;
DPPCInstrInfo.cpp1524 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate()
1526 assert(Pred2.size() == 2 && "Invalid PPC second predicate"); in SubsumesPredicate()
1530 if (Pred2[1].getReg() == PPC::CTR8 || Pred2[1].getReg() == PPC::CTR) in SubsumesPredicate()
1534 if (Pred1[1].getReg() != Pred2[1].getReg()) in SubsumesPredicate()
1538 PPC::Predicate P2 = (PPC::Predicate) Pred2[0].getImm(); in SubsumesPredicate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h235 ArrayRef<MachineOperand> Pred2) const override;
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h148 ArrayRef<MachineOperand> Pred2) const override;
DARMBaseInstrInfo.cpp495 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate()
496 if (Pred1.size() > 2 || Pred2.size() > 2) in SubsumesPredicate()
500 ARMCC::CondCodes CC2 = (ARMCC::CondCodes)Pred2[0].getImm(); in SubsumesPredicate()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp2661 BasicBlock *Pred1, *Pred2; in ProcessGuards() local
2668 Pred2 = *PI++; in ProcessGuards()
2671 if (Pred1 == Pred2) in ProcessGuards()
2677 if (!Parent || Parent != Pred2->getSinglePredecessor()) in ProcessGuards()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h159 ArrayRef<MachineOperand> Pred2) const override;
DARMBaseInstrInfo.cpp520 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate()
521 if (Pred1.size() > 2 || Pred2.size() > 2) in SubsumesPredicate()
525 ARMCC::CondCodes CC2 = (ARMCC::CondCodes)Pred2[0].getImm(); in SubsumesPredicate()
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h1096 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate() argument
/external/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);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h1327 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp80 CmpInst::Predicate ExpectedPred, Pred1, Pred2; in foldSelectWithBinaryOp() local
104 m_ICmp(Pred2, m_Value(X), m_Value(Y)))) || in foldSelectWithBinaryOp()
105 Pred1 != Pred2 || Pred1 != ExpectedPred) in foldSelectWithBinaryOp()

12