Files
intel-graphics-compiler/IGC/Compiler/CISACodeGen/PassTimer.cpp
Paige, Alexander 420b632df9 Update IGC code format
Update IGC code format
2025-07-20 06:20:11 +02:00

22 lines
497 B
C++

/*========================== begin_copyright_notice ============================
Copyright (C) 2017-2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
#include "Compiler/CISACodeGen/PassTimer.hpp"
char PassTimer::ID = 0;
bool PassTimer::runOnModule(llvm::Module &M) {
if (m_isStart) {
COMPILER_TIME_START(m_context, m_index);
} else {
COMPILER_TIME_END(m_context, m_index);
}
return false;
}