/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 681 BasicBlock *Pred1 = nullptr; in GetIfCondition() local 687 Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition() 693 Pred1 = *PI++; in GetIfCondition() 703 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() 718 std::swap(Pred1, Pred2); in GetIfCondition() 733 IfTrue = Pred1; in GetIfCondition() 738 IfFalse = Pred1; in GetIfCondition() 751 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 760 if (BI->getSuccessor(0) == Pred1) { in GetIfCondition() 761 IfTrue = Pred1; in GetIfCondition() [all …]
|
/external/llvm/test/TableGen/ |
D | AsmPredicateCondsEmission.td | 15 def Pred1 : Predicate<"Condition1">; 28 let Predicates = [Pred1, Pred2];
|
/external/llvm/lib/Transforms/Scalar/ |
D | MergedLoadStoreMotion.cpp | 478 BasicBlock *Pred1 = *PI; in mergeStores() local 481 if (Pred0 == Pred1) in mergeStores() 487 int Size1 = Pred1->size(); in mergeStores() 504 if (StoreInst *S1 = canSinkFromBlock(Pred1, S0)) { in mergeStores()
|
D | GuardWidening.cpp | 412 ICmpInst::Predicate Pred0, Pred1; in widenCondCommon() local 414 match(Cond1, m_ICmp(Pred1, m_Specific(LHS), m_ConstantInt(RHS1)))) { in widenCondCommon() 419 ConstantRange::makeExactICmpRegion(Pred1, RHS1->getValue()); in widenCondCommon()
|
/external/swiftshader/third_party/LLVM/lib/Target/PTX/ |
D | PTXInstrInfo.cpp | 139 SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument 141 const MachineOperand &PredReg1 = Pred1[0]; in SubsumesPredicate() 146 const MachineOperand &PredOp1 = Pred1[1]; in SubsumesPredicate()
|
D | PTXInstrInfo.h | 67 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | R600InstrInfo.h | 97 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
|
D | AMDGPUInstrInfo.h | 117 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
|
D | AMDGPUInstrInfo.cpp | 214 AMDGPUInstrInfo::SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument
|
D | R600InstrInfo.cpp | 447 R600InstrInfo::SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1502 ICmpInst::Predicate Pred0, Pred1; in SimplifyAndOfICmps() local 1512 match(Op1, m_ICmp(Pred1, m_Specific(V), m_APInt(C1)))) { in SimplifyAndOfICmps() 1516 auto Range1 = ConstantRange::makeAllowedICmpRegion(Pred1, *C1); in SimplifyAndOfICmps() 1525 if (!match(Op1, m_ICmp(Pred1, m_Specific(V), m_Specific(CI1)))) in SimplifyAndOfICmps() 1537 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps() 1539 if (Pred0 == ICmpInst::ICMP_SLT && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps() 1543 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_SGT) in SimplifyAndOfICmps() 1545 if (Pred0 == ICmpInst::ICMP_SLE && Pred1 == ICmpInst::ICMP_SGT && isNSW) in SimplifyAndOfICmps() 1551 if (Pred0 == ICmpInst::ICMP_ULT && Pred1 == ICmpInst::ICMP_UGT) in SimplifyAndOfICmps() 1554 if (Pred0 == ICmpInst::ICMP_ULE && Pred1 == ICmpInst::ICMP_UGT) in SimplifyAndOfICmps() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 136 BasicBlock *Pred1 = SomePHI->getIncomingBlock(0); in GetIfCondition() local 141 BranchInst *Pred1Br = dyn_cast<BranchInst>(Pred1->getTerminator()); in GetIfCondition() 156 std::swap(Pred1, Pred2); in GetIfCondition() 171 IfTrue = Pred1; in GetIfCondition() 176 IfFalse = Pred1; in GetIfCondition() 189 BasicBlock *CommonPred = Pred1->getSinglePredecessor(); in GetIfCondition() 198 if (BI->getSuccessor(0) == Pred1) { in GetIfCondition() 199 IfTrue = Pred1; in GetIfCondition() 203 IfFalse = Pred1; in GetIfCondition()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCInstrInfo.h | 239 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
D | PPCInstrInfo.cpp | 1416 bool PPCInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument 1418 assert(Pred1.size() == 2 && "Invalid PPC first predicate"); in SubsumesPredicate() 1421 if (Pred1[1].getReg() == PPC::CTR8 || Pred1[1].getReg() == PPC::CTR) in SubsumesPredicate() 1427 if (Pred1[1].getReg() != Pred2[1].getReg()) in SubsumesPredicate() 1430 PPC::Predicate P1 = (PPC::Predicate) Pred1[0].getImm(); in SubsumesPredicate()
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600InstrInfo.h | 194 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonInstrInfo.h | 215 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 88 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
|
D | ARMBaseInstrInfo.cpp | 465 SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument 467 if (Pred1.size() > 2 || Pred2.size() > 2) in SubsumesPredicate() 470 ARMCC::CondCodes CC1 = (ARMCC::CondCodes)Pred1[0].getImm(); in SubsumesPredicate()
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetInstrInfo.h | 549 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.h | 147 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
|
D | ARMBaseInstrInfo.cpp | 494 bool ARMBaseInstrInfo::SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument 496 if (Pred1.size() > 2 || Pred2.size() > 2) in SubsumesPredicate() 499 ARMCC::CondCodes CC1 = (ARMCC::CondCodes)Pred1[0].getImm(); in SubsumesPredicate()
|
/external/llvm/include/llvm/IR/ |
D | InstrTypes.h | 1079 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2); 1083 static bool isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2);
|
/external/llvm/include/llvm/Target/ |
D | TargetInstrInfo.h | 1095 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 831 ICmpInst::Predicate Pred1 = (Inverted ? Cmp1->getInversePredicate() : in simplifyRangeCheck() local 842 Pred1 = ICmpInst::getSwappedPredicate(Pred1); in simplifyRangeCheck() 849 switch (Pred1) { in simplifyRangeCheck()
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 3656 bool CmpInst::isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedTrueByMatchingCmp() argument 3659 if (Pred1 == Pred2) in isImpliedTrueByMatchingCmp() 3662 switch (Pred1) { in isImpliedTrueByMatchingCmp() 3681 bool CmpInst::isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2) { in isImpliedFalseByMatchingCmp() argument 3682 return isImpliedTrueByMatchingCmp(Pred1, getInversePredicate(Pred2)); in isImpliedFalseByMatchingCmp()
|