-
1.
公开(公告)号:US20230115334A1
公开(公告)日:2023-04-13
申请号:US17498141
申请日:2021-10-11
Applicant: International Business Machines Corporation
Inventor: Wen Ji HUANG , Xiao Ling CHEN , Wen Bin HAN , Sheng Shuang LI , Xiao Zhen ZHU
Abstract: A computer-implemented method includes preprocessing, by a compiler, a plurality of macros in a computer program. Preprocessing a macro includes identifying a compile time condition associated with the macro. Preprocessing the macro further includes determining a current value of the compile time condition at the time of compiling a computer instruction and a previous value of the compile time condition. Preprocessing the macro further includes determining a set of computer instructions enclosed by the macro. The method further includes storing a macro information record that includes the compile time condition, the current value and the previous value of the compile time condition, and an identification of the set of computer instructions enclosed by the macro.
-
公开(公告)号:US20240086791A1
公开(公告)日:2024-03-14
申请号:US17931723
申请日:2022-09-13
Applicant: INTERNATIONAL BUSINESS MACHINES CORPORATION
Inventor: Shun Xin CAO , Jing ZHANG , Zhan Peng HUO , Sheng Shuang LI
IPC: G06Q10/06
CPC classification number: G06Q10/0631
Abstract: A controller obtains data stored in one or more data structures generated based on a defined task to be performed for a selected event. The data includes a set of constraints for the defined task. One or more task solutions generated for the defined task using the provided data are obtained. A determination is made as to whether the one or more task solutions include a task solution that satisfies one or more defined criteria. Based on determining that the one or more task solutions do not include the task solution that satisfies the one or more defined criteria, the set of constraints is automatically adjusted to provide an adjusted set of constraints. The adjusted set of constraints is to be automatically provided to a solution generator to be used to obtain the task solution that satisfies the one or more defined criteria.
-