forked from OSchip/llvm-project
cd0dd8ece8
This work provides four flags to disable four different sets of OpenMP optimizations. These flags take effect in llvm/lib/Transforms/IPO/OpenMPOpt.cpp and include the following: - openmp-opt-disable-deglobalization: Defaults to false, adding this flag sets the variable DisableOpenMPOptDeglobalization to true. This prevents AA registration for HeapToStack and HeapToShared. - openmp-opt-disable-spmdization: Defaults to false, adding this flag sets the variable DisableOpenMPOptSPMDization to true. This indicates a pessimistic fixpoint in changeToSPMDMode. - openmp-opt-disable-folding: Defaults to false, adding this flag sets the variable DisableOpenMPOptFolding to true. This indicates a pessimistic fixpoint in the attributor init for AAFoldRuntimeCall. - openmp-opt-disable-state-machine-rewrite: Defaults to false, adding this flag sets the variable DisableOpenMPOptStateMachineRewrite to true. This first prevents changes to the state machine in rewriteDeviceCodeStateMachine by returning before changes are made, and if a custom state machine is built in buildCustomStateMachine, stops by returning a pessimistic fixpoint. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D106802 |
||
---|---|---|
.. | ||
add_attributes.ll | ||
add_attributes_amdgcn.ll | ||
attributor_module_slice_reproducer.ll | ||
custom_state_machines.ll | ||
custom_state_machines_remarks.ll | ||
dead_use.ll | ||
deduplication.ll | ||
deduplication_remarks.ll | ||
deduplication_target.ll | ||
fold_generic_main_thread.ll | ||
get_hardware_num_threads_in_block_fold.ll | ||
globalization_remarks.ll | ||
gpu_kernel_detection_remarks.ll | ||
gpu_state_machine_function_ptr_replacement.ll | ||
hide_mem_transfer_latency.ll | ||
icv_remarks.ll | ||
icv_tracking.ll | ||
is_spmd_exec_mode_fold.ll | ||
parallel_deletion.ll | ||
parallel_deletion_cg_update.ll | ||
parallel_deletion_remarks.ll | ||
parallel_level_fold.ll | ||
parallel_region_merging.ll | ||
remove_globalization.ll | ||
replace_globalization.ll | ||
rtf_type_checking.ll | ||
single_threaded_execution.ll | ||
spmdization.ll | ||
spmdization_remarks.ll | ||
values_in_offload_arrays.ll |