SPIRV-Tools/source/opt
dan sinclair a5e4a53217
Remove context() method from opt::Function (#1700)
This CL removes the context() method from opt::Function. In the places
where the context() was used we can retrieve, or provide, the context in
another fashion.
2018-07-12 10:16:15 -04:00
..
aggressive_dead_code_elim_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
aggressive_dead_code_elim_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
basic_block.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
basic_block.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
block_merge_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
block_merge_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
build_module.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
build_module.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
ccp_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
ccp_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
cfg_cleanup_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
cfg_cleanup_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
cfg.cpp Remove context() method from opt::Function (#1700) 2018-07-12 10:16:15 -04:00
cfg.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
CMakeLists.txt Delete the insert-extract-elim pass. 2018-06-01 10:13:39 -04:00
common_uniform_elim_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
common_uniform_elim_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
compact_ids_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
compact_ids_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
composite.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
composite.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
const_folding_rules.cpp Pass the IRContext into the folding rules. (#1709) 2018-07-12 09:12:23 -04:00
const_folding_rules.h Pass the IRContext into the folding rules. (#1709) 2018-07-12 09:12:23 -04:00
constants.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
constants.h Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
copy_prop_arrays.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
copy_prop_arrays.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
dead_branch_elim_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
dead_branch_elim_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
dead_insert_elim_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
dead_insert_elim_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
dead_variable_elimination.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
dead_variable_elimination.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
decoration_manager.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
decoration_manager.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
def_use_manager.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
def_use_manager.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
dominator_analysis.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
dominator_analysis.h Remove context() method from opt::Function (#1700) 2018-07-12 10:16:15 -04:00
dominator_tree.cpp Remove context() method from opt::Function (#1700) 2018-07-12 10:16:15 -04:00
dominator_tree.h Remove context() method from opt::Function (#1700) 2018-07-12 10:16:15 -04:00
eliminate_dead_constant_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
eliminate_dead_constant_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
eliminate_dead_functions_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
eliminate_dead_functions_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
feature_manager.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
feature_manager.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
flatten_decoration_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
flatten_decoration_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
fold_spec_constant_op_and_composite_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
fold_spec_constant_op_and_composite_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
fold.cpp Pass the IRContext into the folding rules. (#1709) 2018-07-12 09:12:23 -04:00
fold.h Pass the IRContext into the folding rules. (#1709) 2018-07-12 09:12:23 -04:00
folding_rules.cpp Pass the IRContext into the folding rules. (#1709) 2018-07-12 09:12:23 -04:00
folding_rules.h Pass the IRContext into the folding rules. (#1709) 2018-07-12 09:12:23 -04:00
freeze_spec_constant_value_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
freeze_spec_constant_value_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
function.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
function.h Remove context() method from opt::Function (#1700) 2018-07-12 10:16:15 -04:00
if_conversion.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
if_conversion.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
inline_exhaustive_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
inline_exhaustive_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
inline_opaque_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
inline_opaque_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
inline_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
inline_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
instruction_list.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
instruction_list.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
instruction.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
instruction.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
ir_builder.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
ir_context.cpp Remove context() method from opt::Function (#1700) 2018-07-12 10:16:15 -04:00
ir_context.h Pass the IRContext into the folding rules. (#1709) 2018-07-12 09:12:23 -04:00
ir_loader.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
ir_loader.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
iterator.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
licm_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
licm_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
local_access_chain_convert_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
local_access_chain_convert_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
local_redundancy_elimination.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
local_redundancy_elimination.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
local_single_block_elim_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
local_single_block_elim_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
local_single_store_elim_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
local_single_store_elim_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
local_ssa_elim_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
local_ssa_elim_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
log.h Avoid snprintf warning in GCC 7.1 2017-05-08 15:58:24 -04:00
loop_dependence_helpers.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
loop_dependence.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
loop_dependence.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
loop_descriptor.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
loop_descriptor.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
loop_fission.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
loop_fission.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
loop_fusion_pass.cpp Remove context() method from opt::Function (#1700) 2018-07-12 10:16:15 -04:00
loop_fusion_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
loop_fusion.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
loop_fusion.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
loop_peeling.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
loop_peeling.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
loop_unroller.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
loop_unroller.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
loop_unswitch_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
loop_unswitch_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
loop_utils.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
loop_utils.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
make_unique.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
mem_pass.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
mem_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
merge_return_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
merge_return_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
module.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
module.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
null_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
optimizer.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
pass_manager.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
pass_manager.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
passes.h Delete the insert-extract-elim pass. 2018-06-01 10:13:39 -04:00
private_to_local_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
private_to_local_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
propagator.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
propagator.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
reduce_load_size.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
reduce_load_size.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
redundancy_elimination.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
redundancy_elimination.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
reflect.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
register_pressure.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
register_pressure.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
remove_duplicates_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
remove_duplicates_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
replace_invalid_opc.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
replace_invalid_opc.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
scalar_analysis_nodes.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
scalar_analysis_simplification.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
scalar_analysis.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
scalar_analysis.h Cleanup whitespace lint warnings. (#1690) 2018-07-10 13:09:46 -04:00
scalar_replacement_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
scalar_replacement_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
set_spec_constant_default_value_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
set_spec_constant_default_value_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
simplification_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
simplification_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
ssa_rewrite_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
ssa_rewrite_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
strength_reduction_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
strength_reduction_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
strip_debug_info_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
strip_debug_info_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
strip_reflect_info_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
strip_reflect_info_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
tree_iterator.h Add loop descriptors and some required dominator tree extensions. 2018-01-08 09:31:13 -05:00
type_manager.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
type_manager.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
types.cpp Handle types with self references. 2018-05-30 15:48:38 -04:00
types.h Handle types with self references. 2018-05-30 15:48:38 -04:00
unify_const_pass.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
unify_const_pass.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
value_number_table.cpp Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
value_number_table.h Move the ir namespace to opt. (#1680) 2018-07-09 11:32:29 -04:00
vector_dce.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
vector_dce.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
workaround1209.cpp use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00
workaround1209.h use Pass::Run to set the context on each pass. (#1708) 2018-07-12 09:08:45 -04:00