Home
last modified time | relevance | path

Searched refs:Pred1 (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp681 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/
DAsmPredicateCondsEmission.td15 def Pred1 : Predicate<"Condition1">;
28 let Predicates = [Pred1, Pred2];
/external/llvm/lib/Transforms/Scalar/
DMergedLoadStoreMotion.cpp478 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()
DGuardWidening.cpp412 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/
DPTXInstrInfo.cpp139 SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument
141 const MachineOperand &PredReg1 = Pred1[0]; in SubsumesPredicate()
146 const MachineOperand &PredOp1 = Pred1[1]; in SubsumesPredicate()
DPTXInstrInfo.h67 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
/external/mesa3d/src/gallium/drivers/radeon/
DR600InstrInfo.h97 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
DAMDGPUInstrInfo.h117 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
DAMDGPUInstrInfo.cpp214 AMDGPUInstrInfo::SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument
DR600InstrInfo.cpp447 R600InstrInfo::SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1502 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/
DSimplifyCFG.cpp136 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/
DPPCInstrInfo.h239 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
DPPCInstrInfo.cpp1416 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/
DR600InstrInfo.h194 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.h215 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.h88 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1,
DARMBaseInstrInfo.cpp465 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/
DTargetInstrInfo.h549 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() argument
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h147 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1,
DARMBaseInstrInfo.cpp494 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/
DInstrTypes.h1079 static bool isImpliedTrueByMatchingCmp(Predicate Pred1, Predicate Pred2);
1083 static bool isImpliedFalseByMatchingCmp(Predicate Pred1, Predicate Pred2);
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h1095 bool SubsumesPredicate(ArrayRef<MachineOperand> Pred1, in SubsumesPredicate() argument
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp831 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/
DInstructions.cpp3656 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()

12