Home
last modified time | relevance | path

Searched refs:PredCond (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTailDuplicator.cpp573 SmallVector<MachineOperand, 4> PredCond; in shouldTailDuplicate() local
574 if (TII->analyzeBranch(TailBB, PredTBB, PredFBB, PredCond) && in shouldTailDuplicate()
689 SmallVector<MachineOperand, 4> PredCond; in canCompletelyDuplicateBB() local
690 if (TII->analyzeBranch(*PredBB, PredTBB, PredFBB, PredCond)) in canCompletelyDuplicateBB()
693 if (!PredCond.empty()) in canCompletelyDuplicateBB()
716 SmallVector<MachineOperand, 4> PredCond; in duplicateSimpleBB() local
717 if (TII->analyzeBranch(*PredBB, PredTBB, PredFBB, PredCond)) in duplicateSimpleBB()
728 if (PredCond.empty()) in duplicateSimpleBB()
745 PredCond.clear(); in duplicateSimpleBB()
766 TII->insertBranch(*PredBB, PredTBB, PredFBB, PredCond, DL); in duplicateSimpleBB()
[all …]
DBranchFolding.cpp1609 SmallVector<MachineOperand, 4> PredCond; in OptimizeBlock() local
1611 !TII->analyzeBranch(*Pred, PredTBB, PredFBB, PredCond, true); in OptimizeBlock()
1613 if (PredAnalyzable && !PredCond.empty() && PredTBB == MBB && in OptimizeBlock()
1618 if (TII->canMakeTailCallConditional(PredCond, TailCall)) { in OptimizeBlock()
1622 TII->replaceBranchWithTailCall(*Pred, PredCond, TailCall); in OptimizeBlock()
1769 SmallVector<MachineOperand, 4> PredCond; in OptimizeBlock() local
1771 !TII->analyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true) && in OptimizeBlock()
/external/llvm/lib/CodeGen/
DTailDuplicator.cpp633 SmallVector<MachineOperand, 4> PredCond; in canCompletelyDuplicateBB() local
634 if (TII->analyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true)) in canCompletelyDuplicateBB()
637 if (!PredCond.empty()) in canCompletelyDuplicateBB()
664 SmallVector<MachineOperand, 4> PredCond; in duplicateSimpleBB() local
665 if (TII->analyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true)) in duplicateSimpleBB()
676 if (PredCond.empty()) in duplicateSimpleBB()
693 PredCond.clear(); in duplicateSimpleBB()
713 TII->InsertBranch(*PredBB, PredTBB, PredFBB, PredCond, DebugLoc()); in duplicateSimpleBB()
752 SmallVector<MachineOperand, 4> PredCond; in tailDuplicate() local
753 if (TII->analyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true)) in tailDuplicate()
[all …]
DBranchFolding.cpp1547 SmallVector<MachineOperand, 4> PredCond; in OptimizeBlock() local
1549 !TII->analyzeBranch(*PredBB, PredTBB, PredFBB, PredCond, true) && in OptimizeBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp783 unsigned PredCond = PPC::getPredicateCondition(Pred); in isEqOrNe() local
784 return (PredCond == PPC::PRED_EQ || PredCond == PPC::PRED_NE); in isEqOrNe()
821 unsigned PredCond = PPC::getPredicateCondition(Pred); in getPredicateToDecImm() local
823 if (PredCond == PPC::PRED_GE) in getPredicateToDecImm()
825 if (PredCond == PPC::PRED_LT) in getPredicateToDecImm()
840 unsigned PredCond = PPC::getPredicateCondition(Pred); in getPredicateToIncImm() local
842 if (PredCond == PPC::PRED_GT) in getPredicateToIncImm()
844 if (PredCond == PPC::PRED_LE) in getPredicateToIncImm()
DPPCInstrInfo.cpp1687 unsigned PredCond = PPC::getPredicateCondition(Pred); in optimizeCompareInstr() local
1689 if (PredCond != PPC::PRED_EQ && PredCond != PPC::PRED_NE) in optimizeCompareInstr()
1753 unsigned PredCond = PPC::getPredicateCondition(Pred); in optimizeCompareInstr() local
1759 if (Immed == -1 && PredCond == PPC::PRED_GT) in optimizeCompareInstr()
1763 else if (Immed == -1 && PredCond == PPC::PRED_LE) in optimizeCompareInstr()
1766 else if (Immed == 1 && PredCond == PPC::PRED_LT) in optimizeCompareInstr()
1769 else if (Immed == 1 && PredCond == PPC::PRED_GE) in optimizeCompareInstr()
1865 unsigned PredCond = PPC::getPredicateCondition(Pred); in optimizeCompareInstr() local
1867 PredCond == PPC::PRED_EQ || PredCond == PPC::PRED_NE) && in optimizeCompareInstr()
1869 (void)PredCond; // To suppress warning in release build. in optimizeCompareInstr()