Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MCA/Stages/
H A DStage.h27 class Stage {
28 Stage *NextInSequence = nullptr;
31 Stage(const Stage &Other) = delete;
32 Stage &operator=(const Stage &Other) = delete;
38 Stage() = default;
39 virtual ~Stage();
60 void setNextInSequence(Stage *NextStage) { in setNextInSequence()
H A DInstructionTables.h28 class InstructionTables final : public Stage {
H A DEntryStage.h26 class EntryStage final : public Stage {
H A DRetireStage.h28 class RetireStage 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-14.2/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-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerImpl.cpp595 enum CompileUnit::Stage DoUntilStage) { in linkSingleCompileUnit()
604 case CompileUnit::Stage::CreatedNotLoaded: { in linkSingleCompileUnit()
628 case CompileUnit::Stage::Loaded: { in linkSingleCompileUnit()
669 case CompileUnit::Stage::TypeNamesAssigned: in linkSingleCompileUnit()
679 CU.setStage(CompileUnit::Stage::Cloned); in linkSingleCompileUnit()
682 case CompileUnit::Stage::Cloned: in linkSingleCompileUnit()
688 case CompileUnit::Stage::PatchesUpdated: in linkSingleCompileUnit()
691 CU.setStage(CompileUnit::Stage::Cleaned); in linkSingleCompileUnit()
694 case CompileUnit::Stage::Cleaned: in linkSingleCompileUnit()
698 case CompileUnit::Stage::Skipped: 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 DDWARFLinkerImpl.h257 enum CompileUnit::Stage DoUntilStage = CompileUnit::Stage::Cleaned);
H A DDWARFLinkerCompileUnit.cpp33 getUnitFromOffset(UnitFromOffset), Stage(Stage::CreatedNotLoaded), in CompileUnit()
46 Stage(Stage::CreatedNotLoaded), in CompileUnit()
77 if (getStage() < Stage::Loaded) in maybeResetToLoadedStage()
94 if (getStage() < Stage::Cloned) { in maybeResetToLoadedStage()
95 setStage(Stage::Loaded); in maybeResetToLoadedStage()
111 setStage(Stage::CreatedNotLoaded); in maybeResetToLoadedStage()
402 enum Stage ReferredCUStage = RefCU->getStage(); in resolveDIEReference()
403 if (ReferredCUStage < Stage::Loaded || ReferredCUStage > Stage::Cloned) in resolveDIEReference()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DStage.cpp21 Stage::~Stage() = default;
23 void Stage::addListener(HWEventListener *Listener) { in addListener()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DDXContainer.h243 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes() argument
244 switch (Stage) { in swapBytes()
310 void swapBytes(Triple::EnvironmentType Stage) { StageInfo.swapBytes(Stage); } in swapBytes()
389 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes()
390 v0::RuntimeInfo::swapBytes(Stage); in swapBytes()
391 if (Stage == Triple::EnvironmentType::Geometry) in swapBytes()
410 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes()
411 v1::RuntimeInfo::swapBytes(Stage); in swapBytes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocGreedy.h68 LiveRangeStage Stage = RS_New; member
84 LiveRangeStage getStage(Register Reg) const { return Info[Reg].Stage; } in getStage()
90 void setStage(Register Reg, LiveRangeStage Stage) { in setStage() argument
92 Info[Reg].Stage = Stage; in setStage()
95 void setStage(const LiveInterval &VirtReg, LiveRangeStage Stage) { in setStage() argument
96 setStage(VirtReg.reg(), Stage); in setStage()
134 if (Info[Reg].Stage == RS_New) in setStage()
135 Info[Reg].Stage = NewStage; in setStage()
H A DModuloSchedule.cpp1612 int Stage = getStage(MI); in filterInstructions() local
1613 if (Stage == -1 || Stage >= MinStage) in filterInstructions()
1645 if (getStage(&MI) != Stage) { in moveStageBetweenBlocks()
1660 if (getStage(&MI) != Stage) in moveStageBetweenBlocks()
1674 if (getStage(Def) == Stage) { in moveStageBetweenBlocks()
1791 unsigned Stage = Schedule.getNumStages() - 1 + I - J; in peelPrologAndEpilogs() local
1795 LS[Stage] = true; in peelPrologAndEpilogs()
1924 int Stage = getStage(MI); in rewriteUsesOf() local
1926 LiveStages[MI->getParent()].test(Stage)) in rewriteUsesOf()
2176 DenseMap<MachineInstr *, int> Cycle, Stage; in runOnLoop() local
[all …]
H A DRegAllocGreedy.cpp274 Info[Old].Stage = RS_Assign; in LRE_DidCloneVirtReg()
292 auto Stage = ExtraInfo->getOrInitStage(Reg); in enqueue() local
293 if (Stage == RS_New) { in enqueue()
294 Stage = RS_Assign; in enqueue()
295 ExtraInfo->setStage(Reg, Stage); in enqueue()
311 if (Stage == RS_Split) { in getPriority()
315 } else if (Stage == RS_Memory) { in getPriority()
2446 if (Stage != RS_Split) in selectOrSplitImpl()
2466 if (Stage < RS_Split) { in selectOrSplitImpl()
2473 if (Stage < RS_Spill) { in selectOrSplitImpl()
[all …]
H A DMLRegAllocPriorityAdvisor.cpp297 LiveRangeStage Stage = RA.getExtraInfo().getStage(LI); in getPriorityImpl() local
300 *Runner->getTensor<int64_t>(1) = static_cast<int64_t>(Stage); in getPriorityImpl()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MCA/
H A DInstruction.h612 enum InstrStage Stage; variable
648 : InstructionBase(D, Opcode), Stage(IS_INVALID), in Instruction()
684 bool isInvalid() const { return Stage == IS_INVALID; } in isInvalid()
685 bool isDispatched() const { return Stage == IS_DISPATCHED; } in isDispatched()
686 bool isPending() const { return Stage == IS_PENDING; } in isPending()
687 bool isReady() const { return Stage == IS_READY; } in isReady()
688 bool isExecuting() const { return Stage == IS_EXECUTING; } in isExecuting()
689 bool isExecuted() const { return Stage == IS_EXECUTED; } in isExecuted()
690 bool isRetired() const { return Stage == IS_RETIRED; } in isRetired()
699 Stage = IS_RETIRED; in retire()
H A DPipeline.h62 SmallVector<std::unique_ptr<Stage>, 8> Stages;
73 void appendStage(std::unique_ptr<Stage> S);
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDXContainerYAML.cpp53 uint16_t Stage) in PSVInfo() argument
58 assert(Stage < std::numeric_limits<uint8_t>::max() && in PSVInfo()
62 Info.ShaderStage = static_cast<uint8_t>(Stage); in PSVInfo()
143 Triple::EnvironmentType Stage = dxbc::getShaderStage(PSV.Info.ShaderStage); in mapping() local
148 if (Stage == Triple::EnvironmentType::Hull) in mapping()
155 if (Stage == Triple::EnvironmentType::Hull) in mapping()
158 if (Stage == Triple::EnvironmentType::Domain) in mapping()
268 Triple::EnvironmentType Stage = dxbc::getShaderStage(Info.ShaderStage); in mapInfoForVersion() local
270 switch (Stage) { in mapInfoForVersion()
322 switch (Stage) { in mapInfoForVersion()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DDXContainerPSVInfo.h74 void finalize(Triple::EnvironmentType Stage) { in finalize()
83 BaseData.swapBytes(Stage); in finalize()

12