Home
last modified time | relevance | path

Searched refs:Pred2 (Results 1 – 25 of 42) 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/llvm-project/llvm/test/Transforms/FixIrreducible/
Dnested.ll4 define void @nested_irr_top_level(i1 %Pred0, i1 %Pred1, i1 %Pred2, i1 %Pred3, i1 %Pred4, i1 %Pred5)…
34 br i1 %Pred2, label %B2, label %A3
49 define void @nested_irr_in_loop(i1 %Pred0, i1 %Pred1, i1 %Pred2, i1 %Pred3, i1 %Pred4, i1 %Pred5, i…
86 br i1 %Pred2, label %B2, label %A3
104 define void @loop_in_irr(i1 %Pred0, i1 %Pred1, i1 %Pred2) {
137 br i1 %Pred2, label %A2, label %exit
146 define void @loop_in_irr_shared_header(i1 %Pred0, i1 %Pred1, i1 %Pred2) {
174 br i1 %Pred2, label %A2, label %exit
183 define void @siblings_top_level(i1 %Pred0, i1 %Pred1, i1 %Pred2, i1 %Pred3, i1 %Pred4, i1 %Pred5, i…
224 br i1 %Pred2, label %A1, label %L1
[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/llvm-project/llvm/test/TableGen/
DAsmPredicateCondsEmission.td17 def Pred2 : Predicate<"Condition2">,
29 let Predicates = [Pred1, Pred2];
DAsmPredicateCombiningRISCV.td53 def AsmPred2 : Predicate<"Pred2">, AssemblerPredicate<(all_of AsmCond2a, AsmCond2b)>;
DAsmPredicateCombining.td52 def AsmPred2 : Predicate<"Pred2">, AssemblerPredicate<(all_of AsmCond2a, AsmCond2b)>;
/external/llvm-project/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp1057 BasicBlock *Pred2 = nullptr; in GetIfCondition() local
1063 Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
1071 Pred2 = *PI++; in GetIfCondition()
1079 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator()); in GetIfCondition()
1093 std::swap(Pred1, Pred2); in GetIfCondition()
1101 if (!Pred2->getSinglePredecessor()) in GetIfCondition()
1107 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
1109 IfFalse = Pred2; in GetIfCondition()
1110 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
1112 IfTrue = Pred2; in GetIfCondition()
[all …]
/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-project/llvm/test/Transforms/StructurizeCFG/workarounds/
Dneeds-fr-ule.ll3 define void @irreducible_mountain_bug(i1 %Pred0, i1 %Pred1, i1 %Pred2, i1 %Pred3, i1 %Pred4, i1 %Pr…
137 br i1 %Pred2, label %while.cond.preheader, label %if.then39
/external/llvm-project/llvm/lib/IR/
DInstructions.cpp3953 bool CmpInst::isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedTrueByMatchingCmp() argument
3956 if (Pred1 == Pred2) in isImpliedTrueByMatchingCmp()
3964 return Pred2 == ICMP_UGE || Pred2 == ICMP_ULE || Pred2 == ICMP_SGE || in isImpliedTrueByMatchingCmp()
3965 Pred2 == ICMP_SLE; in isImpliedTrueByMatchingCmp()
3967 return Pred2 == ICMP_NE || Pred2 == ICMP_UGE; in isImpliedTrueByMatchingCmp()
3969 return Pred2 == ICMP_NE || Pred2 == ICMP_ULE; in isImpliedTrueByMatchingCmp()
3971 return Pred2 == ICMP_NE || Pred2 == ICMP_SGE; in isImpliedTrueByMatchingCmp()
3973 return Pred2 == ICMP_NE || Pred2 == ICMP_SLE; in isImpliedTrueByMatchingCmp()
3978 bool CmpInst::isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedFalseByMatchingCmp() argument
3979 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;
/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;
/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;
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h236 ArrayRef<MachineOperand> Pred2) const override;
/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/llvm-project/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp2938 BasicBlock *Pred1, *Pred2; in processGuards() local
2945 Pred2 = *PI++; in processGuards()
2948 if (Pred1 == Pred2) in processGuards()
2954 if (!Parent || Parent != Pred2->getSinglePredecessor()) in processGuards()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h494 ArrayRef<MachineOperand> Pred2) const override;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h159 ArrayRef<MachineOperand> Pred2) const override;

12