-
公开(公告)号:US11281441B2
公开(公告)日:2022-03-22
申请号:US17027305
申请日:2020-09-21
Applicant: Huawei Technologies Co., Ltd.
Inventor: Brice Adam Dobry , Haichuan Wang , Shiqiang Cui , Bo Qi
Abstract: Compiling source code objects to improve efficiency of compiling is described herein. The compiling includes determining, by a compiler, an object type of a to-be-compiled object in source code. A counter is set for the to-be-compiled object. When the object type of the to-be-compiled object is an object type that can be operated by only one thread at one moment, the compiler sets a counter counting rule for the counter of the to-be-compiled object.
-
公开(公告)号:US10795651B2
公开(公告)日:2020-10-06
申请号:US16396289
申请日:2019-04-26
Applicant: Huawei Technologies Co., Ltd.
Inventor: Haichuan Wang , Brice Adam Dobry , Shiqiang Cui , Bo Qi
Abstract: Compiling source code objects to improve efficiency of compiling is described herein. The compiling includes determining, by a compiler, an object type of a to-be-compiled object in source code. A counter is set for the to-be-compiled object. When the object type of the to-be-compiled object is an object type that can be operated by only one thread at one moment, the compiler sets a counter counting rule for the counter of the to-be-compiled object.
-