Home
last modified time | relevance | path

Searched refs:Stage (Results 1 – 25 of 51) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/Stages/
H A DStage.h28 class LLVM_ABI Stage {
29 Stage *NextInSequence = nullptr;
32 Stage(const Stage &Other) = delete;
33 Stage &operator=(const Stage &Other) = delete;
39 Stage() = default;
40 virtual ~Stage();
61 void setNextInSequence(Stage *NextStage) { in setNextInSequence()
H A DInstructionTables.h29 class LLVM_ABI InstructionTables final : public Stage {
H A DRetireStage.h28 class RetireStage final : public Stage {
H A DEntryStage.h27 class LLVM_ABI EntryStage final : public Stage {
H A DDispatchStage.h49 class DispatchStage final : public Stage {
H A DMicroOpQueueStage.h26 class MicroOpQueueStage : public Stage {
H A DExecuteStage.h28 class ExecuteStage final : public Stage {
H A DInOrderIssueStage.h54 class InOrderIssueStage final : public Stage {
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DInstruction.cpp154 Stage = IS_INVALID; in reset()
164 assert(Stage == IS_INVALID); in dispatch()
165 Stage = IS_DISPATCHED; in dispatch()
174 assert(Stage == IS_READY); in execute()
175 Stage = IS_EXECUTING; in execute()
185 Stage = IS_EXECUTED; in execute()
189 assert(Stage == IS_READY && "Invalid internal state!"); in forceExecuted()
191 Stage = IS_EXECUTED; in forceExecuted()
204 Stage = IS_READY; in updatePending()
221 Stage = IS_PENDING; in updateDispatched()
[all …]
H A DPipeline.cpp32 return any_of(Stages, [](const std::unique_ptr<Stage> &S) { in hasWorkToProcess()
56 const std::unique_ptr<Stage> &S = *I; in runCycle()
67 Stage &FirstStage = *Stages[0]; in runCycle()
77 for (const std::unique_ptr<Stage> &S : Stages) { in runCycle()
86 void Pipeline::appendStage(std::unique_ptr<Stage> S) { in appendStage()
89 Stage *Last = Stages.back().get(); in appendStage()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerImpl.cpp512 CompileUnit::Stage::Loaded); in link()
519 CompileUnit::Stage::LivenessAnalysisDone); in link()
532 CompileUnit::Stage::UpdateDependenciesCompleteness); in link()
539 CU->getStage() == CompileUnit::Stage::LivenessAnalysisDone) in link()
540 CU->setStage(CompileUnit::Stage::UpdateDependenciesCompleteness); in link()
546 CompileUnit::Stage::TypeNamesAssigned); in link()
552 CompileUnit::Stage::Cloned); in link()
558 CompileUnit::Stage::PatchesUpdated); in link()
564 CompileUnit::Stage::Cleaned); in link()
592 enum CompileUnit::Stage DoUntilStage) { in linkSingleCompileUnit()
[all …]
H A DDWARFLinkerCompileUnit.h56 enum class Stage : uint8_t { enum
98 Stage getStage() const { return Stage; } in getStage()
101 void setStage(Stage Stage) { this->Stage = Stage; } in setStage() argument
717 std::atomic<Stage> Stage; variable
H A DDWARFLinkerCompileUnit.cpp32 getUnitFromOffset(UnitFromOffset), Stage(Stage::CreatedNotLoaded), in CompileUnit()
45 Stage(Stage::CreatedNotLoaded), in CompileUnit()
76 if (getStage() < Stage::Loaded) in maybeResetToLoadedStage()
93 if (getStage() < Stage::Cloned) { in maybeResetToLoadedStage()
94 setStage(Stage::Loaded); in maybeResetToLoadedStage()
108 setStage(Stage::CreatedNotLoaded); in maybeResetToLoadedStage()
401 enum Stage ReferredCUStage = RefCU->getStage(); in resolveDIEReference()
402 if (ReferredCUStage < Stage::Loaded || ReferredCUStage > Stage::Cloned) in resolveDIEReference()
H A DDWARFLinkerImpl.h256 enum CompileUnit::Stage DoUntilStage = CompileUnit::Stage::Cleaned);
/freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DStage.cpp21 Stage::~Stage() = default;
23 void Stage::addListener(HWEventListener *Listener) { in addListener()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DModuloSchedule.h94 DenseMap<MachineInstr *, int> Stage; variable
110 DenseMap<MachineInstr *, int> Stage) in ModuloSchedule() argument
112 Stage(std::move(Stage)) { in ModuloSchedule()
114 for (auto &KV : this->Stage) in ModuloSchedule()
136 auto I = Stage.find(MI); in getStage()
137 return I == Stage.end() ? -1 : I->second; in getStage()
148 assert(Stage.count(MI) == 0); in setStage()
149 Stage[MI] = MIStage; in setStage()
344 MachineBasicBlock *SourceBB, unsigned Stage);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocGreedy.h70 LiveRangeStage Stage = RS_New; member
86 LiveRangeStage getStage(Register Reg) const { return Info[Reg].Stage; } in getStage()
92 void setStage(Register Reg, LiveRangeStage Stage) { in setStage() argument
94 Info[Reg].Stage = Stage; in setStage()
97 void setStage(const LiveInterval &VirtReg, LiveRangeStage Stage) { in setStage() argument
98 setStage(VirtReg.reg(), Stage); in setStage()
136 if (Info[Reg].Stage == RS_New) in setStage()
137 Info[Reg].Stage = NewStage; in setStage()
H A DModuloSchedule.cpp1638 int Stage = getStage(MI); in filterInstructions() local
1639 if (Stage == -1 || Stage >= MinStage) in filterInstructions()
1663 MachineBasicBlock *DestBB, MachineBasicBlock *SourceBB, unsigned Stage) { in moveStageBetweenBlocks() argument
1671 if (getStage(&MI) != Stage) { in moveStageBetweenBlocks()
1686 if (getStage(&MI) != Stage) in moveStageBetweenBlocks()
1700 if (getStage(Def) == Stage) { in moveStageBetweenBlocks()
1818 unsigned Stage = Schedule.getNumStages() - 1 + I - J; in peelPrologAndEpilogs() local
1821 moveStageBetweenBlocks(Epilogs[K - 1], Epilogs[K], Stage); in peelPrologAndEpilogs()
1822 LS[Stage] = true; in peelPrologAndEpilogs()
1951 int Stage = getStage(MI); in rewriteUsesOf() local
[all …]
H A DRegAllocGreedy.cpp407 Info[Old].Stage = RS_Assign; in LRE_DidCloneVirtReg()
425 auto Stage = ExtraInfo->getOrInitStage(Reg); in enqueue() local
426 if (Stage == RS_New) { in enqueue()
427 Stage = RS_Assign; in enqueue()
428 ExtraInfo->setStage(Reg, Stage); in enqueue()
442 LiveRangeStage Stage = RA.getExtraInfo().getStage(LI); in getPriority() local
444 if (Stage == RS_Split) { in getPriority()
458 if (Stage == RS_Assign && !ForceGlobal && !LI.empty() && in getPriority()
2584 LiveRangeStage Stage = ExtraInfo->getStage(VirtReg); in selectOrSplitImpl() local
2585 LLVM_DEBUG(dbgs() << StageName[Stage] << " Cascade " in selectOrSplitImpl()
[all …]
H A DMLRegallocPriorityAdvisor.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/
H A DInstruction.h613 enum InstrStage Stage; variable
649 : InstructionBase(D, Opcode), Stage(IS_INVALID), in Instruction()
685 bool isInvalid() const { return Stage == IS_INVALID; } in isInvalid()
686 bool isDispatched() const { return Stage == IS_DISPATCHED; } in isDispatched()
687 bool isPending() const { return Stage == IS_PENDING; } in isPending()
688 bool isReady() const { return Stage == IS_READY; } in isReady()
689 bool isExecuting() const { return Stage == IS_EXECUTING; } in isExecuting()
690 bool isExecuted() const { return Stage == IS_EXECUTED; } in isExecuted()
691 bool isRetired() const { return Stage == IS_RETIRED; } in isRetired()
700 Stage = IS_RETIRED; in retire()
H A DPipeline.h63 SmallVector<std::unique_ptr<Stage>, 8> Stages;
74 LLVM_ABI void appendStage(std::unique_ptr<Stage> S);
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDXContainer.h348 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes() argument
349 switch (Stage) { in swapBytes()
442 void swapBytes(Triple::EnvironmentType Stage) { StageInfo.swapBytes(Stage); } in swapBytes()
521 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes()
522 v0::RuntimeInfo::swapBytes(Stage); in swapBytes()
523 if (Stage == Triple::EnvironmentType::Geometry) in swapBytes()
542 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes()
543 v1::RuntimeInfo::swapBytes(Stage); in swapBytes()
569 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes()
570 v2::RuntimeInfo::swapBytes(Stage); in swapBytes()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerYAML.cpp237 uint16_t Stage) in PSVInfo() argument
242 assert(Stage < std::numeric_limits<uint8_t>::max() && in PSVInfo()
246 Info.ShaderStage = static_cast<uint8_t>(Stage); in PSVInfo()
338 Triple::EnvironmentType Stage = dxbc::getShaderStage(PSV.Info.ShaderStage); in mapping() local
343 if (Stage == Triple::EnvironmentType::Hull) in mapping()
350 if (Stage == Triple::EnvironmentType::Hull) in mapping()
353 if (Stage == Triple::EnvironmentType::Domain) in mapping()
592 Triple::EnvironmentType Stage = dxbc::getShaderStage(Info.ShaderStage); in mapInfoForVersion() local
594 switch (Stage) { in mapInfoForVersion()
646 switch (Stage) { in mapInfoForVersion()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDFAPacketizerEmitter.cpp278 for (NfaStateTy Stage : InsnClass) { in emitForItineraries() local
288 if ((ResourceMask & Stage) == 0) in emitForItineraries()

123