Home
last modified time | relevance | path

Searched refs:Cand (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp135 const StoreToLoadForwardingCandidate &Cand) { in operator <<() argument
136 OS << *Cand.Store << " -->\n"; in operator <<()
137 OS.indent(2) << *Cand.Load << "\n"; in operator <<()
266 for (const auto &Cand : Candidates) { in removeDependencesFromMultipleStores() local
271 LoadToSingleCand.insert(std::make_pair(Cand.Load, &Cand)); in removeDependencesFromMultipleStores()
281 if (Cand.Store->getParent() == OtherCand->Store->getParent() && in removeDependencesFromMultipleStores()
282 Cand.isDependenceDistanceOfOne(PSE, L) && in removeDependencesFromMultipleStores()
285 if (getInstrIndex(OtherCand->Store) < getInstrIndex(Cand.Store)) in removeDependencesFromMultipleStores()
286 OtherCand = &Cand; in removeDependencesFromMultipleStores()
292 Candidates.remove_if([&](const StoreToLoadForwardingCandidate &Cand) { in removeDependencesFromMultipleStores() argument
[all …]
DGVNSink.cpp751 SinkingInstructionCandidate Cand; in analyzeInstructionForSinking() local
752 Cand.NumInstructions = ++InstNum; in analyzeInstructionForSinking()
753 Cand.NumMemoryInsts = MemoryInstNum; in analyzeInstructionForSinking()
754 Cand.NumBlocks = ActivePreds.size(); in analyzeInstructionForSinking()
755 Cand.NumPHIs = NeededPHIs.size(); in analyzeInstructionForSinking()
757 Cand.Blocks.push_back(C); in analyzeInstructionForSinking()
759 return Cand; in analyzeInstructionForSinking()
795 auto Cand = analyzeInstructionForSinking(LRI, InstNum, MemoryInstNum, in sinkBB() local
797 if (!Cand) in sinkBB()
799 Cand->calculateCost(NumOrigPHIs, Preds.size()); in sinkBB()
[all …]
DConstantHoisting.cpp375 ConstPtrUnionType Cand = ConstInt; in collectConstantCandidates() local
376 std::tie(Itr, Inserted) = ConstCandMap.insert(std::make_pair(Cand, 0)); in collectConstantCandidates()
423 ConstPtrUnionType Cand = ConstExpr; in collectConstantCandidates() local
424 std::tie(Itr, Inserted) = ConstCandMap.insert(std::make_pair(Cand, 0)); in collectConstantCandidates()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DGCNSchedStrategy.cpp62 void GCNMaxOccupancySchedStrategy::initCandidate(SchedCandidate &Cand, SUnit *SU, in initCandidate() argument
68 Cand.SU = SU; in initCandidate()
69 Cand.AtTop = AtTop; in initCandidate()
112 Cand.RPDelta.Excess = PressureChange(SRI->getVGPRPressureSet()); in initCandidate()
113 Cand.RPDelta.Excess.setUnitInc(NewVGPRPressure - VGPRExcessLimit); in initCandidate()
117 Cand.RPDelta.Excess = PressureChange(SRI->getSGPRPressureSet()); in initCandidate()
118 Cand.RPDelta.Excess.setUnitInc(NewSGPRPressure - SGPRExcessLimit); in initCandidate()
131 Cand.RPDelta.CriticalMax = PressureChange(SRI->getSGPRPressureSet()); in initCandidate()
132 Cand.RPDelta.CriticalMax.setUnitInc(SGPRDelta); in initCandidate()
134 Cand.RPDelta.CriticalMax = PressureChange(SRI->getVGPRPressureSet()); in initCandidate()
[all …]
DSIMachineScheduler.cpp161 SISchedulerCandidate &Cand, in tryLess() argument
168 if (Cand.Reason > Reason) in tryLess()
169 Cand.Reason = Reason; in tryLess()
172 Cand.setRepeat(Reason); in tryLess()
178 SISchedulerCandidate &Cand, in tryGreater() argument
185 if (Cand.Reason > Reason) in tryGreater()
186 Cand.Reason = Reason; in tryGreater()
189 Cand.setRepeat(Reason); in tryGreater()
203 void SIScheduleBlock::traceCandidate(const SISchedCandidate &Cand) { in traceCandidate() argument
205 dbgs() << " SU(" << Cand.SU->NodeNum << ") " << getReasonStr(Cand.Reason); in traceCandidate()
[all …]
DSIMachineScheduler.h205 void tryCandidateTopDown(SISchedCandidate &Cand, SISchedCandidate &TryCand);
206 void tryCandidateBottomUp(SISchedCandidate &Cand, SISchedCandidate &TryCand);
208 void traceCandidate(const SISchedCandidate &Cand);
389 bool tryCandidateLatency(SIBlockSchedCandidate &Cand,
391 bool tryCandidateRegUsage(SIBlockSchedCandidate &Cand,
DGCNSchedStrategy.h36 SchedCandidate &Cand);
38 void initCandidate(SchedCandidate &Cand, SUnit *SU,
DGCNMinRegStrategy.cpp129 auto &Cand = *I++; in findMax() local
130 RQ.remove(Cand); in findMax()
131 RQ.push_front(Cand); in findMax()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineScheduler.cpp2594 void GenericSchedulerBase::traceCandidate(const SchedCandidate &Cand) { in traceCandidate() argument
2598 switch (Cand.Reason) { in traceCandidate()
2602 P = Cand.RPDelta.Excess; in traceCandidate()
2605 P = Cand.RPDelta.CriticalMax; in traceCandidate()
2608 P = Cand.RPDelta.CurrentMax; in traceCandidate()
2611 ResIdx = Cand.Policy.ReduceResIdx; in traceCandidate()
2614 ResIdx = Cand.Policy.DemandResIdx; in traceCandidate()
2617 Latency = Cand.SU->getDepth(); in traceCandidate()
2620 Latency = Cand.SU->getHeight(); in traceCandidate()
2623 Latency = Cand.SU->getHeight(); in traceCandidate()
[all …]
DRegAllocGreedy.cpp452 bool growRegion(GlobalSplitCandidate &Cand);
453 bool splitCanCauseEvictionChain(unsigned Evictee, GlobalSplitCandidate &Cand,
457 GlobalSplitCandidate &Cand, unsigned BBNumber,
1312 bool RAGreedy::growRegion(GlobalSplitCandidate &Cand) { in growRegion() argument
1315 SmallVectorImpl<unsigned> &ActiveBlocks = Cand.ActiveBlocks; in growRegion()
1348 if (Cand.PhysReg) { in growRegion()
1349 if (!addThroughConstraints(Cand.Intf, NewBlocks)) in growRegion()
1371 bool RAGreedy::calcCompactRegion(GlobalSplitCandidate &Cand) { in calcCompactRegion() argument
1377 Cand.reset(IntfCache, 0); in calcCompactRegion()
1383 SpillPlacer->prepare(Cand.LiveBundles); in calcCompactRegion()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchCoalescing.cpp155 bool canCoalesceBranch(CoalescingCandidateInfo &Cand);
234 bool PPCBranchCoalescing::canCoalesceBranch(CoalescingCandidateInfo &Cand) { in canCoalesceBranch() argument
236 << Cand.BranchBlock->getNumber() << " can be coalesced:"); in canCoalesceBranch()
239 if (TII->analyzeBranch(*Cand.BranchBlock, Cand.BranchTargetBlock, FalseMBB, in canCoalesceBranch()
240 Cand.Cond)) { in canCoalesceBranch()
245 for (auto &I : Cand.BranchBlock->terminators()) { in canCoalesceBranch()
270 if (Cand.BranchBlock->isEHPad() || Cand.BranchBlock->hasEHPadSuccessor()) { in canCoalesceBranch()
277 if (!Cand.BranchTargetBlock || FalseMBB || in canCoalesceBranch()
278 !Cand.BranchBlock->isSuccessor(Cand.BranchTargetBlock)) { in canCoalesceBranch()
284 if (Cand.BranchBlock->succ_size() != 2) { in canCoalesceBranch()
[all …]
DPPCMachineScheduler.cpp19 bool PPCPreRASchedStrategy::biasAddiLoadCandidate(SchedCandidate &Cand, in biasAddiLoadCandidate() argument
29 SchedCandidate &FirstCand = Zone.isTop() ? TryCand : Cand; in biasAddiLoadCandidate()
30 SchedCandidate &SecondCand = Zone.isTop() ? Cand : TryCand; in biasAddiLoadCandidate()
45 void PPCPreRASchedStrategy::tryCandidate(SchedCandidate &Cand, in tryCandidate() argument
48 GenericScheduler::tryCandidate(Cand, TryCand, Zone); in tryCandidate()
50 if (!Cand.isValid() || !Zone) in tryCandidate()
60 if (biasAddiLoadCandidate(Cand, TryCand, *Zone)) in tryCandidate()
DPPCMachineScheduler.h26 void tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand,
29 bool biasAddiLoadCandidate(SchedCandidate &Cand,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineScheduler.h905 void traceCandidate(const SchedCandidate &Cand);
916 GenericSchedulerBase::SchedCandidate &Cand,
920 GenericSchedulerBase::SchedCandidate &Cand,
923 GenericSchedulerBase::SchedCandidate &Cand,
928 GenericSchedulerBase::SchedCandidate &Cand,
997 void initCandidate(SchedCandidate &Cand, SUnit *SU, bool AtTop,
1001 virtual void tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand,
1064 void tryCandidate(SchedCandidate &Cand, SchedCandidate &TryCand);
1066 void pickNodeFromQueue(SchedCandidate &Cand);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DSampleProf.h509 StringRef Cand(F.getName());
512 auto It = Cand.rfind(Suffix);
514 return Cand;
515 auto Dit = Cand.rfind('.');
517 Cand = Cand.substr(0, It);
519 return Cand;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp677 BasicBlock *Cand = OutliningInfo->NonReturnBlock; in computeOutliningInfo() local
678 if (succ_size(Cand) != 2) in computeOutliningInfo()
681 if (HasNonEntryPred(Cand)) in computeOutliningInfo()
684 BasicBlock *Succ1 = *succ_begin(Cand); in computeOutliningInfo()
685 BasicBlock *Succ2 = *(succ_begin(Cand) + 1); in computeOutliningInfo()
692 if (NonReturnBlock->getSinglePredecessor() != Cand) in computeOutliningInfo()
696 OutliningInfo->Entries.push_back(Cand); in computeOutliningInfo()
698 OutliningInfo->ReturnBlockPreds.push_back(Cand); in computeOutliningInfo()
699 Entries.insert(Cand); in computeOutliningInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp266 for (auto &Cand : LoopToCandidates[&L]) { in run() local
270 Value *InitVal = ConstantInt::get(Cand.first->getType(), 0); in run()
274 auto *BB = Cand.first->getParent(); in run()
286 PGOCounterPromoterHelper Promoter(Cand.first, Cand.second, SSA, InitVal, in run()
289 Promoter.run(SmallVector<Instruction *, 2>({Cand.first, Cand.second})); in run()
DPGOInstrumentation.cpp848 for (VPCandidateInfo Cand : FuncInfo.ValueSites[Kind]) { in instrumentOneFunc() local
852 IRBuilder<> Builder(Cand.InsertPt); in instrumentOneFunc()
853 assert(Builder.GetInsertPoint() != Cand.InsertPt->getParent()->end() && in instrumentOneFunc()
857 if (Cand.V->getType()->isIntegerTy()) in instrumentOneFunc()
858 ToProfile = Builder.CreateZExtOrTrunc(Cand.V, Builder.getInt64Ty()); in instrumentOneFunc()
859 else if (Cand.V->getType()->isPointerTy()) in instrumentOneFunc()
860 ToProfile = Builder.CreatePtrToInt(Cand.V, Builder.getInt64Ty()); in instrumentOneFunc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLoadStoreOptimizer.cpp185 MachineInstr *MergeOpsUpdate(const MergeCandidate &Cand);
856 MachineInstr *ARMLoadStoreOpt::MergeOpsUpdate(const MergeCandidate &Cand) { in MergeOpsUpdate() argument
857 const MachineInstr *First = Cand.Instrs.front(); in MergeOpsUpdate()
865 for (const MachineInstr *MI : Cand.Instrs) { in MergeOpsUpdate()
897 MachineInstr *LatestMI = Cand.Instrs[Cand.LatestMIIdx]; in MergeOpsUpdate()
907 if (Cand.CanMergeToLSDouble) in MergeOpsUpdate()
910 Cand.Instrs); in MergeOpsUpdate()
911 if (!Merged && Cand.CanMergeToLSMulti) in MergeOpsUpdate()
913 Opcode, Pred, PredReg, DL, Regs, Cand.Instrs); in MergeOpsUpdate()
919 iterator EarliestI(Cand.Instrs[Cand.EarliestMIIdx]); in MergeOpsUpdate()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonBitSimplify.cpp3324 std::vector<LoopCand> Cand; in runOnMachineFunction() local
3351 Cand.push_back(LoopCand(&B, PB, EB)); in runOnMachineFunction()
3355 for (auto &C : Cand) in runOnMachineFunction()
/third_party/libphonenumber/resources/geocoding/pt/
D55.txt5105 55423638|Candói - PR
/third_party/libphonenumber/resources/geocoding/en/
D55.txt5107 55423638|Candói - PR