Home
last modified time | relevance | path

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

12

/freebsd/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 DRetireStage.h28 class RetireStage final : public Stage {
H A DEntryStage.h26 class 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 {
/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.cpp513 CompileUnit::Stage::Loaded); in link()
520 CompileUnit::Stage::LivenessAnalysisDone); in link()
533 CompileUnit::Stage::UpdateDependenciesCompleteness); in link()
540 CU->getStage() == CompileUnit::Stage::LivenessAnalysisDone) in link()
541 CU->setStage(CompileUnit::Stage::UpdateDependenciesCompleteness); in link()
547 CompileUnit::Stage::TypeNamesAssigned); in link()
553 CompileUnit::Stage::Cloned); in link()
559 CompileUnit::Stage::PatchesUpdated); in link()
565 CompileUnit::Stage::Cleaned); in link()
593 enum CompileUnit::Stage DoUntilStage) { in linkSingleCompileUnit()
[all …]
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()
404 enum Stage ReferredCUStage = RefCU->getStage(); in resolveDIEReference()
405 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/include/llvm/BinaryFormat/
H A DDXContainer.h247 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes() argument
248 switch (Stage) { in swapBytes()
314 void swapBytes(Triple::EnvironmentType Stage) { StageInfo.swapBytes(Stage); } in swapBytes()
393 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes()
394 v0::RuntimeInfo::swapBytes(Stage); in swapBytes()
395 if (Stage == Triple::EnvironmentType::Geometry) in swapBytes()
414 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes()
415 v1::RuntimeInfo::swapBytes(Stage); in swapBytes()
441 void swapBytes(Triple::EnvironmentType Stage) { in swapBytes()
442 v2::RuntimeInfo::swapBytes(Stage); in swapBytes()
/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/MCA/Stages/
H A DStage.cpp21 Stage::~Stage() = default;
23 void Stage::addListener(HWEventListener *Listener) { in addListener()
/freebsd/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 DRegAllocGreedy.cpp272 Info[Old].Stage = RS_Assign; in LRE_DidCloneVirtReg()
290 auto Stage = ExtraInfo->getOrInitStage(Reg); in enqueue() local
291 if (Stage == RS_New) { in enqueue()
292 Stage = RS_Assign; in enqueue()
293 ExtraInfo->setStage(Reg, Stage); in enqueue()
307 LiveRangeStage Stage = RA.getExtraInfo().getStage(LI); in getPriority() local
309 if (Stage == RS_Split) { in getPriority()
313 } else if (Stage == RS_Memory) { in getPriority()
330 if (Stage == RS_Assign && !ForceGlobal && !LI.empty() && in getPriority()
2437 LiveRangeStage Stage = ExtraInfo->getStage(VirtReg); in selectOrSplitImpl() local
[all …]
H A DModuloSchedule.cpp1619 int Stage = getStage(MI); in filterInstructions() local
1620 if (Stage == -1 || Stage >= MinStage) in filterInstructions()
1644 MachineBasicBlock *DestBB, MachineBasicBlock *SourceBB, unsigned Stage) { in moveStageBetweenBlocks() argument
1652 if (getStage(&MI) != Stage) { in moveStageBetweenBlocks()
1667 if (getStage(&MI) != Stage) in moveStageBetweenBlocks()
1681 if (getStage(Def) == Stage) { in moveStageBetweenBlocks()
1799 unsigned Stage = Schedule.getNumStages() - 1 + I - J; in peelPrologAndEpilogs() local
1802 moveStageBetweenBlocks(Epilogs[K - 1], Epilogs[K], Stage); in peelPrologAndEpilogs()
1803 LS[Stage] = true; in peelPrologAndEpilogs()
1932 int Stage = getStage(MI); in rewriteUsesOf() local
[all …]
H A DMLRegallocPriorityAdvisor.cpp
H A DMLRegAllocPriorityAdvisor.cpp299 LiveRangeStage Stage = RA.getExtraInfo().getStage(LI); in getPriorityImpl() local
302 *Runner->getTensor<int64_t>(1) = static_cast<int64_t>(Stage); in getPriorityImpl()
/freebsd/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/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()
154 Triple::EnvironmentType Stage = dxbc::getShaderStage(PSV.Info.ShaderStage); in mapping() local
159 if (Stage == Triple::EnvironmentType::Hull) in mapping()
166 if (Stage == Triple::EnvironmentType::Hull) in mapping()
169 if (Stage == Triple::EnvironmentType::Domain) in mapping()
279 Triple::EnvironmentType Stage = dxbc::getShaderStage(Info.ShaderStage); in mapInfoForVersion() local
281 switch (Stage) { in mapInfoForVersion()
333 switch (Stage) { in mapInfoForVersion()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaHLSL.h51 const Attr *A, llvm::Triple::EnvironmentType Stage,
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DDXContainerPSVInfo.cpp150 void PSVRuntimeInfo::finalize(Triple::EnvironmentType Stage) { in finalize() argument
185 BaseData.swapBytes(Stage); in finalize()

12