/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 751 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/ |
D | BasicBlockUtils.cpp | 682 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/ |
D | AsmPredicateCondsEmission.td | 16 def Pred2 : Predicate<"Condition2">, 28 let Predicates = [Pred1, Pred2];
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/ |
D | AsmPredicateCondsEmission.td | 16 def Pred2 : Predicate<"Condition2">, 28 let Predicates = [Pred1, Pred2];
|
/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
D | PTXInstrInfo.cpp | 140 const SmallVectorImpl<MachineOperand> &Pred2) const { in SubsumesPredicate() 142 const MachineOperand &PredReg2 = Pred2[0]; in SubsumesPredicate() 147 const MachineOperand &PredOp2 = Pred2[1]; in SubsumesPredicate()
|
D | PTXInstrInfo.h | 68 const SmallVectorImpl<MachineOperand> &Pred2) const;
|
/external/llvm/include/llvm/IR/ |
D | InstrTypes.h | 1047 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/ |
D | SimplifyCFG.cpp | 137 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/ |
D | Instructions.cpp | 3472 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/ |
D | Instructions.cpp | 3656 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/ |
D | PPCInstrInfo.h | 240 ArrayRef<MachineOperand> Pred2) const override;
|
D | PPCInstrInfo.cpp | 1417 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/ |
D | R600InstrInfo.h | 195 ArrayRef<MachineOperand> Pred2) const override;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.h | 305 ArrayRef<MachineOperand> Pred2) const override;
|
D | PPCInstrInfo.cpp | 1513 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/ |
D | HexagonInstrInfo.h | 216 ArrayRef<MachineOperand> Pred2) const override;
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 89 const SmallVectorImpl<MachineOperand> &Pred2) const;
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetInstrInfo.h | 550 const SmallVectorImpl<MachineOperand> &Pred2) const { in SubsumesPredicate() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.h | 246 ArrayRef<MachineOperand> Pred2) const override;
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 148 ArrayRef<MachineOperand> Pred2) const override;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 2585 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/ |
D | ARMBaseInstrInfo.h | 155 ArrayRef<MachineOperand> Pred2) const override;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | InstrTypes.h | 1111 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2); 1115 static bool isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2);
|
/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 1096 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetInstrInfo.h | 1205 ArrayRef<MachineOperand> Pred2) const { in SubsumesPredicate() argument
|