Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp751 BasicBlock *Pred2 = nullptr; in GetIfCondition() local
757 Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition()
765 Pred2 = *PI++; in GetIfCondition()
773 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator()); in GetIfCondition()
787 std::swap(Pred1, Pred2); in GetIfCondition()
795 if (!Pred2->getSinglePredecessor()) in GetIfCondition()
801 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
803 IfFalse = Pred2; in GetIfCondition()
804 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
806 IfTrue = Pred2; in GetIfCondition()
[all …]
/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/test/TableGen/
DAsmPredicateCondsEmission.td16 def Pred2 : Predicate<"Condition2">,
28 let Predicates = [Pred1, Pred2];
/external/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/
DAsmPredicateCondsEmission.td16 def Pred2 : Predicate<"Condition2">,
28 let Predicates = [Pred1, Pred2];
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXInstrInfo.cpp140 const SmallVectorImpl<MachineOperand> &Pred2) const { in SubsumesPredicate()
142 const MachineOperand &PredReg2 = Pred2[0]; in SubsumesPredicate()
147 const MachineOperand &PredOp2 = Pred2[1]; in SubsumesPredicate()
DPTXInstrInfo.h68 const SmallVectorImpl<MachineOperand> &Pred2) const;
/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/lib/Transforms/Utils/
DSimplifyCFG.cpp137 BasicBlock *Pred2 = SomePHI->getIncomingBlock(1); in GetIfCondition() local
142 BranchInst *Pred2Br = dyn_cast<BranchInst>(Pred2->getTerminator()); in GetIfCondition()
156 std::swap(Pred1, Pred2); in GetIfCondition()
164 if (Pred2->getSinglePredecessor() == 0) in GetIfCondition()
170 Pred1Br->getSuccessor(1) == Pred2) { in GetIfCondition()
172 IfFalse = Pred2; in GetIfCondition()
173 } else if (Pred1Br->getSuccessor(0) == Pred2 && in GetIfCondition()
175 IfTrue = Pred2; in GetIfCondition()
190 if (CommonPred == 0 || CommonPred != Pred2->getSinglePredecessor()) in GetIfCondition()
200 IfFalse = Pred2; in GetIfCondition()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp3472 bool CmpInst::isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedTrueByMatchingCmp() argument
3475 if (Pred1 == Pred2) in isImpliedTrueByMatchingCmp()
3483 return Pred2 == ICMP_UGE || Pred2 == ICMP_ULE || Pred2 == ICMP_SGE || in isImpliedTrueByMatchingCmp()
3484 Pred2 == ICMP_SLE; in isImpliedTrueByMatchingCmp()
3486 return Pred2 == ICMP_NE || Pred2 == ICMP_UGE; in isImpliedTrueByMatchingCmp()
3488 return Pred2 == ICMP_NE || Pred2 == ICMP_ULE; in isImpliedTrueByMatchingCmp()
3490 return Pred2 == ICMP_NE || Pred2 == ICMP_SGE; in isImpliedTrueByMatchingCmp()
3492 return Pred2 == ICMP_NE || Pred2 == ICMP_SLE; in isImpliedTrueByMatchingCmp()
3497 bool CmpInst::isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedFalseByMatchingCmp() argument
3498 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;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCInstrInfo.h305 ArrayRef<MachineOperand> Pred2) const override;
DPPCInstrInfo.cpp1513 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate()
1515 assert(Pred2.size() == 2 && "Invalid PPC second predicate"); in SubsumesPredicate()
1519 if (Pred2[1].getReg() == PPC::CTR8 || Pred2[1].getReg() == PPC::CTR) in SubsumesPredicate()
1523 if (Pred1[1].getReg() != Pred2[1].getReg()) in SubsumesPredicate()
1527 PPC::Predicate P2 = (PPC::Predicate) Pred2[0].getImm(); in SubsumesPredicate()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h216 ArrayRef<MachineOperand> Pred2) const override;
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.h89 const SmallVectorImpl<MachineOperand> &Pred2) const;
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetInstrInfo.h550 const SmallVectorImpl<MachineOperand> &Pred2) const { in SubsumesPredicate() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h246 ArrayRef<MachineOperand> Pred2) const override;
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h148 ArrayRef<MachineOperand> Pred2) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp2585 BasicBlock *Pred1, *Pred2; in ProcessGuards() local
2592 Pred2 = *PI++; in ProcessGuards()
2595 if (Pred1 == Pred2) in ProcessGuards()
2601 if (!Parent || Parent != Pred2->getSinglePredecessor()) in ProcessGuards()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h155 ArrayRef<MachineOperand> Pred2) const override;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstrTypes.h1111 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2);
1115 static bool isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2);
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h1096 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate() argument
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetInstrInfo.h1205 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate() argument

12