Home
last modified time | relevance | path

Searched refs:PredSet (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCChecker.h45 using PredSet = std::multiset<PredSense>; variable
48 using DefsIterator = DenseMap<unsigned, PredSet>::iterator;
49 DenseMap<unsigned, PredSet> Defs;
DHexagonMCChecker.cpp598 PredSet &PM = Defs[R]; in checkRegisters()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCChecker.h45 using PredSet = std::multiset<PredSense>; variable
48 using DefsIterator = DenseMap<unsigned, PredSet>::iterator;
49 DenseMap<unsigned, PredSet> Defs;
DHexagonMCChecker.cpp588 PredSet &PM = Defs[R]; in checkRegisters()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp565 SmallSetVector<BasicBlock *, 16> &PredSet, in speculatePHIs() argument
573 SpecPreds.reserve(PredSet.size()); in speculatePHIs()
574 for (auto *PredBB : PredSet) { in speculatePHIs()
774 SmallSetVector<BasicBlock *, 16> PredSet; in tryToSpeculatePHIs() local
776 if (!PredSet.insert(PredBB)) in tryToSpeculatePHIs()
793 if (PredSet.size() < 2) { in tryToSpeculatePHIs()
799 PNs, CostSavingsMap, PotentialSpecSet, PredSet.size(), DT, TTI); in tryToSpeculatePHIs()
804 speculatePHIs(SpecPNs, PotentialSpecSet, PredSet, DT); in tryToSpeculatePHIs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp561 SmallSetVector<BasicBlock *, 16> &PredSet, in speculatePHIs() argument
569 SpecPreds.reserve(PredSet.size()); in speculatePHIs()
570 for (auto *PredBB : PredSet) { in speculatePHIs()
770 SmallSetVector<BasicBlock *, 16> PredSet; in tryToSpeculatePHIs() local
772 if (!PredSet.insert(PredBB)) in tryToSpeculatePHIs()
789 if (PredSet.size() < 2) { in tryToSpeculatePHIs()
795 PNs, CostSavingsMap, PotentialSpecSet, PredSet.size(), DT, TTI); in tryToSpeculatePHIs()
800 speculatePHIs(SpecPNs, PotentialSpecSet, PredSet, DT); in tryToSpeculatePHIs()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCChecker.h84 typedef std::multiset<PredSense> PredSet; typedef
87 typedef llvm::DenseMap<unsigned, PredSet>::iterator DefsIterator;
88 llvm::DenseMap<unsigned, PredSet> Defs;
DHexagonMCChecker.cpp411 PredSet &PM = Defs[R]; in checkRegisters()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600ExpandSpecialInstrs.cpp120 MachineInstr *PredSet = TII->buildDefaultInstruction(MBB, I, in runOnMachineFunction() local
125 TII->addFlag(*PredSet, 0, MO_FLAG_MASK); in runOnMachineFunction()
127 TII->setImmOperand(*PredSet, R600::OpName::update_exec_mask, 1); in runOnMachineFunction()
129 TII->setImmOperand(*PredSet, R600::OpName::update_pred, 1); in runOnMachineFunction()
DR600InstrInfo.cpp770 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in insertBranch() local
771 assert(PredSet && "No previous predicate !"); in insertBranch()
772 addFlag(*PredSet, 0, MO_FLAG_PUSH); in insertBranch()
773 PredSet->getOperand(2).setImm(Cond[1].getImm()); in insertBranch()
786 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in insertBranch() local
787 assert(PredSet && "No previous predicate !"); in insertBranch()
788 addFlag(*PredSet, 0, MO_FLAG_PUSH); in insertBranch()
789 PredSet->getOperand(2).setImm(Cond[1].getImm()); in insertBranch()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DR600ExpandSpecialInstrs.cpp120 MachineInstr *PredSet = TII->buildDefaultInstruction(MBB, I, in runOnMachineFunction() local
125 TII->addFlag(*PredSet, 0, MO_FLAG_MASK); in runOnMachineFunction()
127 TII->setImmOperand(*PredSet, R600::OpName::update_exec_mask, 1); in runOnMachineFunction()
129 TII->setImmOperand(*PredSet, R600::OpName::update_pred, 1); in runOnMachineFunction()
DR600InstrInfo.cpp770 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in insertBranch() local
771 assert(PredSet && "No previous predicate !"); in insertBranch()
772 addFlag(*PredSet, 0, MO_FLAG_PUSH); in insertBranch()
773 PredSet->getOperand(2).setImm(Cond[1].getImm()); in insertBranch()
786 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in insertBranch() local
787 assert(PredSet && "No previous predicate !"); in insertBranch()
788 addFlag(*PredSet, 0, MO_FLAG_PUSH); in insertBranch()
789 PredSet->getOperand(2).setImm(Cond[1].getImm()); in insertBranch()
/external/llvm/lib/Target/AMDGPU/
DR600ExpandSpecialInstrs.cpp105 MachineInstr *PredSet = TII->buildDefaultInstruction(MBB, I, in runOnMachineFunction() local
110 TII->addFlag(*PredSet, 0, MO_FLAG_MASK); in runOnMachineFunction()
112 TII->setImmOperand(*PredSet, AMDGPU::OpName::update_exec_mask, 1); in runOnMachineFunction()
114 TII->setImmOperand(*PredSet, AMDGPU::OpName::update_pred, 1); in runOnMachineFunction()
DR600InstrInfo.cpp781 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in InsertBranch() local
782 assert(PredSet && "No previous predicate !"); in InsertBranch()
783 addFlag(*PredSet, 0, MO_FLAG_PUSH); in InsertBranch()
784 PredSet->getOperand(2).setImm(Cond[1].getImm()); in InsertBranch()
797 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in InsertBranch() local
798 assert(PredSet && "No previous predicate !"); in InsertBranch()
799 addFlag(*PredSet, 0, MO_FLAG_PUSH); in InsertBranch()
800 PredSet->getOperand(2).setImm(Cond[1].getImm()); in InsertBranch()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp354 SmallPtrSet<BasicBlock *, 16> PredSet(Preds.begin(), Preds.end()); in UpdatePHINodes() local
364 if (!PredSet.count(PN->getIncomingBlock(i))) in UpdatePHINodes()
385 if (PredSet.count(PN->getIncomingBlock(i))) in UpdatePHINodes()
406 if (PredSet.count(IncomingBB)) { in UpdatePHINodes()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp647 SmallPtrSet<BasicBlock *, 16> PredSet(Preds.begin(), Preds.end()); in UpdatePHINodes() local
657 if (!PredSet.count(PN->getIncomingBlock(i))) in UpdatePHINodes()
678 if (PredSet.count(PN->getIncomingBlock(i))) in UpdatePHINodes()
699 if (PredSet.count(IncomingBB)) { in UpdatePHINodes()
/external/llvm-project/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp668 SmallPtrSet<BasicBlock *, 16> PredSet(Preds.begin(), Preds.end()); in UpdatePHINodes() local
678 if (!PredSet.count(PN->getIncomingBlock(i))) in UpdatePHINodes()
699 if (PredSet.count(PN->getIncomingBlock(i))) in UpdatePHINodes()
720 if (PredSet.count(IncomingBB)) { in UpdatePHINodes()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolution.h1226 const SmallPtrSetImpl<const SCEVPredicate *> &PredSet);
/external/llvm-project/llvm/include/llvm/Analysis/
DScalarEvolution.h1307 const SmallPtrSetImpl<const SCEVPredicate *> &PredSet);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp7041 for (auto *PredSet : PredSetList) in ExitLimit() local
7042 for (auto *P : *PredSet) in ExitLimit()
7048 const SmallPtrSetImpl<const SCEVPredicate *> &PredSet) in ExitLimit() argument
7049 : ExitLimit(E, M, MaxOrZero, {&PredSet}) { in ExitLimit()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp7301 for (auto *PredSet : PredSetList) in ExitLimit() local
7302 for (auto *P : *PredSet) in ExitLimit()
7308 const SmallPtrSetImpl<const SCEVPredicate *> &PredSet) in ExitLimit() argument
7309 : ExitLimit(E, M, MaxOrZero, {&PredSet}) { in ExitLimit()