Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCChecker.h46 using PredSet = std::multiset<PredSense>; variable
49 using DefsIterator = DenseMap<unsigned, PredSet>::iterator;
50 DenseMap<unsigned, PredSet> Defs;
DHexagonMCChecker.cpp590 PredSet &PM = Defs[R]; in checkRegisters()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp554 SmallSetVector<BasicBlock *, 16> &PredSet, in speculatePHIs() argument
562 SpecPreds.reserve(PredSet.size()); in speculatePHIs()
563 for (auto *PredBB : PredSet) { in speculatePHIs()
763 SmallSetVector<BasicBlock *, 16> PredSet; in tryToSpeculatePHIs() local
765 if (!PredSet.insert(PredBB)) in tryToSpeculatePHIs()
780 if (PredSet.size() < 2) { in tryToSpeculatePHIs()
786 PNs, CostSavingsMap, PotentialSpecSet, PredSet.size(), DT, TTI); in tryToSpeculatePHIs()
791 speculatePHIs(SpecPNs, PotentialSpecSet, PredSet, DT); in tryToSpeculatePHIs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600ExpandSpecialInstrs.cpp121 MachineInstr *PredSet = TII->buildDefaultInstruction(MBB, I, in runOnMachineFunction() local
126 TII->addFlag(*PredSet, 0, MO_FLAG_MASK); in runOnMachineFunction()
128 TII->setImmOperand(*PredSet, R600::OpName::update_exec_mask, 1); in runOnMachineFunction()
130 TII->setImmOperand(*PredSet, R600::OpName::update_pred, 1); in runOnMachineFunction()
DR600InstrInfo.cpp771 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in insertBranch() local
772 assert(PredSet && "No previous predicate !"); in insertBranch()
773 addFlag(*PredSet, 0, MO_FLAG_PUSH); in insertBranch()
774 PredSet->getOperand(2).setImm(Cond[1].getImm()); in insertBranch()
787 MachineInstr *PredSet = findFirstPredicateSetterFrom(MBB, MBB.end()); in insertBranch() local
788 assert(PredSet && "No previous predicate !"); in insertBranch()
789 addFlag(*PredSet, 0, MO_FLAG_PUSH); in insertBranch()
790 PredSet->getOperand(2).setImm(Cond[1].getImm()); in insertBranch()
/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp421 SmallPtrSet<BasicBlock *, 16> PredSet(Preds.begin(), Preds.end()); in UpdatePHINodes() local
431 if (!PredSet.count(PN->getIncomingBlock(i))) in UpdatePHINodes()
452 if (PredSet.count(PN->getIncomingBlock(i))) in UpdatePHINodes()
473 if (PredSet.count(IncomingBB)) { in UpdatePHINodes()
/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-7.0/llvm/include/llvm/Analysis/
DScalarEvolution.h1205 const SmallPtrSetImpl<const SCEVPredicate *> &PredSet);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolution.cpp6945 for (auto *PredSet : PredSetList) in ExitLimit() local
6946 for (auto *P : *PredSet) in ExitLimit()
6952 const SmallPtrSetImpl<const SCEVPredicate *> &PredSet) in ExitLimit() argument
6953 : ExitLimit(E, M, MaxOrZero, {&PredSet}) { in ExitLimit()