Lines Matching +full:libspirv +full:- +full:tools +full:- +full:opt

7 #     http://www.apache.org/licenses/LICENSE-2.0
32 core_insts_file = "${target_gen_dir}/core.insts-$version.inc"
33 operand_kinds_file = "${target_gen_dir}/operand.kinds-$version.inc"
44 "--spirv-core-grammar",
46 "--core-insts-output",
48 "--extinst-debuginfo-grammar",
50 "--operand-kinds-output",
71 "--spirv-core-grammar",
73 "--extinst-debuginfo-grammar",
75 "--extension-enum-output",
77 "--enum-string-mapping-output",
105 "--spirv-core-grammar",
107 "--extinst-glsl-grammar",
109 "--glsl-insts-output",
111 "--extinst-debuginfo-grammar",
139 "--spirv-core-grammar",
141 "--extinst-opencl-grammar",
143 "--opencl-insts-output",
145 "--extinst-debuginfo-grammar",
169 "--extinst-name",
171 "--extinst-grammar",
173 "--extinst-output-base",
196 "--extinst-vendor-grammar",
198 "--vendor-insts-output",
214 xml_file = "${spirv_headers}/include/spirv/spir-v.xml"
224 "--xml",
226 "--generator",
235 inc_file = "${target_gen_dir}/build-version.inc"
252 spvtools_glsl_tables("glsl1-0") {
255 spvtools_opencl_tables("opencl1-0") {
263 "spv-amd-shader-explicit-vertex-parameter",
264 "spv-amd-shader-trinary-minmax",
265 "spv-amd-gcn-shader",
266 "spv-amd-shader-ballot",
290 cflags = [ "-Wno-implicit-fallthrough" ]
296 "include/spirv-tools/libspirv.h",
297 "include/spirv-tools/libspirv.hpp",
298 "include/spirv-tools/linker.hpp",
299 "include/spirv-tools/optimizer.hpp",
300 "include/spirv-tools/instrument.hpp",
311 ":spvtools_glsl_tables_glsl1-0",
313 ":spvtools_opencl_tables_opencl1-0",
334 "source/libspirv.cpp",
382 configs -= [ "//build/config/compiler:chromium_code" ]
440 configs -= [ "//build/config/compiler:chromium_code" ]
449 "source/opt/aggressive_dead_code_elim_pass.cpp",
450 "source/opt/aggressive_dead_code_elim_pass.h",
451 "source/opt/basic_block.cpp",
452 "source/opt/basic_block.h",
453 "source/opt/block_merge_pass.cpp",
454 "source/opt/block_merge_pass.h",
455 "source/opt/build_module.cpp",
456 "source/opt/build_module.h",
457 "source/opt/ccp_pass.cpp",
458 "source/opt/ccp_pass.h",
459 "source/opt/cfg.cpp",
460 "source/opt/cfg.h",
461 "source/opt/cfg_cleanup_pass.cpp",
462 "source/opt/cfg_cleanup_pass.h",
463 "source/opt/combine_access_chains.cpp",
464 "source/opt/combine_access_chains.h",
465 "source/opt/common_uniform_elim_pass.cpp",
466 "source/opt/common_uniform_elim_pass.h",
467 "source/opt/compact_ids_pass.cpp",
468 "source/opt/compact_ids_pass.h",
469 "source/opt/composite.cpp",
470 "source/opt/composite.h",
471 "source/opt/const_folding_rules.cpp",
472 "source/opt/const_folding_rules.h",
473 "source/opt/constants.cpp",
474 "source/opt/constants.h",
475 "source/opt/copy_prop_arrays.cpp",
476 "source/opt/copy_prop_arrays.h",
477 "source/opt/dead_branch_elim_pass.cpp",
478 "source/opt/dead_branch_elim_pass.h",
479 "source/opt/dead_insert_elim_pass.cpp",
480 "source/opt/dead_insert_elim_pass.h",
481 "source/opt/dead_variable_elimination.cpp",
482 "source/opt/dead_variable_elimination.h",
483 "source/opt/decoration_manager.cpp",
484 "source/opt/decoration_manager.h",
485 "source/opt/def_use_manager.cpp",
486 "source/opt/def_use_manager.h",
487 "source/opt/dominator_analysis.cpp",
488 "source/opt/dominator_analysis.h",
489 "source/opt/dominator_tree.cpp",
490 "source/opt/dominator_tree.h",
491 "source/opt/eliminate_dead_constant_pass.cpp",
492 "source/opt/eliminate_dead_constant_pass.h",
493 "source/opt/eliminate_dead_functions_pass.cpp",
494 "source/opt/eliminate_dead_functions_pass.h",
495 "source/opt/feature_manager.cpp",
496 "source/opt/feature_manager.h",
497 "source/opt/flatten_decoration_pass.cpp",
498 "source/opt/flatten_decoration_pass.h",
499 "source/opt/fold.cpp",
500 "source/opt/fold.h",
501 "source/opt/fold_spec_constant_op_and_composite_pass.cpp",
502 "source/opt/fold_spec_constant_op_and_composite_pass.h",
503 "source/opt/folding_rules.cpp",
504 "source/opt/folding_rules.h",
505 "source/opt/freeze_spec_constant_value_pass.cpp",
506 "source/opt/freeze_spec_constant_value_pass.h",
507 "source/opt/function.cpp",
508 "source/opt/function.h",
509 "source/opt/if_conversion.cpp",
510 "source/opt/if_conversion.h",
511 "source/opt/inline_exhaustive_pass.cpp",
512 "source/opt/inline_exhaustive_pass.h",
513 "source/opt/inline_opaque_pass.cpp",
514 "source/opt/inline_opaque_pass.h",
515 "source/opt/inline_pass.cpp",
516 "source/opt/inline_pass.h",
517 "source/opt/inst_bindless_check_pass.cpp",
518 "source/opt/inst_bindless_check_pass.h",
519 "source/opt/instruction.cpp",
520 "source/opt/instruction.h",
521 "source/opt/instruction_list.cpp",
522 "source/opt/instruction_list.h",
523 "source/opt/instrument_pass.cpp",
524 "source/opt/instrument_pass.h",
525 "source/opt/ir_builder.h",
526 "source/opt/ir_context.cpp",
527 "source/opt/ir_context.h",
528 "source/opt/ir_loader.cpp",
529 "source/opt/ir_loader.h",
530 "source/opt/iterator.h",
531 "source/opt/licm_pass.cpp",
532 "source/opt/licm_pass.h",
533 "source/opt/local_access_chain_convert_pass.cpp",
534 "source/opt/local_access_chain_convert_pass.h",
535 "source/opt/local_redundancy_elimination.cpp",
536 "source/opt/local_redundancy_elimination.h",
537 "source/opt/local_single_block_elim_pass.cpp",
538 "source/opt/local_single_block_elim_pass.h",
539 "source/opt/local_single_store_elim_pass.cpp",
540 "source/opt/local_single_store_elim_pass.h",
541 "source/opt/local_ssa_elim_pass.cpp",
542 "source/opt/local_ssa_elim_pass.h",
543 "source/opt/log.h",
544 "source/opt/loop_dependence.cpp",
545 "source/opt/loop_dependence.h",
546 "source/opt/loop_dependence_helpers.cpp",
547 "source/opt/loop_descriptor.cpp",
548 "source/opt/loop_descriptor.h",
549 "source/opt/loop_fission.cpp",
550 "source/opt/loop_fission.h",
551 "source/opt/loop_fusion.cpp",
552 "source/opt/loop_fusion.h",
553 "source/opt/loop_fusion_pass.cpp",
554 "source/opt/loop_fusion_pass.h",
555 "source/opt/loop_peeling.cpp",
556 "source/opt/loop_peeling.h",
557 "source/opt/loop_unroller.cpp",
558 "source/opt/loop_unroller.h",
559 "source/opt/loop_unswitch_pass.cpp",
560 "source/opt/loop_unswitch_pass.h",
561 "source/opt/loop_utils.cpp",
562 "source/opt/loop_utils.h",
563 "source/opt/mem_pass.cpp",
564 "source/opt/mem_pass.h",
565 "source/opt/merge_return_pass.cpp",
566 "source/opt/merge_return_pass.h",
567 "source/opt/module.cpp",
568 "source/opt/module.h",
569 "source/opt/null_pass.h",
570 "source/opt/optimizer.cpp",
571 "source/opt/pass.cpp",
572 "source/opt/pass.h",
573 "source/opt/pass_manager.cpp",
574 "source/opt/pass_manager.h",
575 "source/opt/passes.h",
576 "source/opt/private_to_local_pass.cpp",
577 "source/opt/private_to_local_pass.h",
578 "source/opt/process_lines_pass.cpp",
579 "source/opt/process_lines_pass.h",
580 "source/opt/propagator.cpp",
581 "source/opt/propagator.h",
582 "source/opt/reduce_load_size.cpp",
583 "source/opt/reduce_load_size.h",
584 "source/opt/redundancy_elimination.cpp",
585 "source/opt/redundancy_elimination.h",
586 "source/opt/reflect.h",
587 "source/opt/register_pressure.cpp",
588 "source/opt/register_pressure.h",
589 "source/opt/remove_duplicates_pass.cpp",
590 "source/opt/remove_duplicates_pass.h",
591 "source/opt/replace_invalid_opc.cpp",
592 "source/opt/replace_invalid_opc.h",
593 "source/opt/scalar_analysis.cpp",
594 "source/opt/scalar_analysis.h",
595 "source/opt/scalar_analysis_nodes.h",
596 "source/opt/scalar_analysis_simplification.cpp",
597 "source/opt/scalar_replacement_pass.cpp",
598 "source/opt/scalar_replacement_pass.h",
599 "source/opt/set_spec_constant_default_value_pass.cpp",
600 "source/opt/set_spec_constant_default_value_pass.h",
601 "source/opt/simplification_pass.cpp",
602 "source/opt/simplification_pass.h",
603 "source/opt/ssa_rewrite_pass.cpp",
604 "source/opt/ssa_rewrite_pass.h",
605 "source/opt/strength_reduction_pass.cpp",
606 "source/opt/strength_reduction_pass.h",
607 "source/opt/strip_debug_info_pass.cpp",
608 "source/opt/strip_debug_info_pass.h",
609 "source/opt/strip_reflect_info_pass.cpp",
610 "source/opt/strip_reflect_info_pass.h",
611 "source/opt/struct_cfg_analysis.cpp",
612 "source/opt/struct_cfg_analysis.h",
613 "source/opt/tree_iterator.h",
614 "source/opt/type_manager.cpp",
615 "source/opt/type_manager.h",
616 "source/opt/types.cpp",
617 "source/opt/types.h",
618 "source/opt/unify_const_pass.cpp",
619 "source/opt/unify_const_pass.h",
620 "source/opt/upgrade_memory_model.cpp",
621 "source/opt/upgrade_memory_model.h",
622 "source/opt/value_number_table.cpp",
623 "source/opt/value_number_table.h",
624 "source/opt/vector_dce.cpp",
625 "source/opt/vector_dce.h",
626 "source/opt/workaround1209.cpp",
627 "source/opt/workaround1209.h",
637 configs -= [ "//build/config/compiler:chromium_code" ]
644 group("SPIRV-Tools") {
665 "${googletest_dir}/googletest/src/gtest-all.cc",
679 cflags = [ "-Wno-inconsistent-missing-override" ]
686 "${googletest_dir}/googlemock/src/gmock-all.cc",
774 cflags_cc = [ "-Wno-self-assign" ]
789 executable("spirv-as") {
792 "tools/as/as.cpp",