Home
last modified time | relevance | path

Searched defs:compiler (Results 1 – 25 of 493) sorted by relevance

12345678910>>...20

/third_party/boost/libs/spirit/example/qi/compiler_tutorial/mini_c/
Dcompiler.hpp60 struct compiler struct
62 typedef bool result_type;
65 compiler(ErrorHandler& error_handler_) in compiler() argument
76 bool operator()(ast::nil) { BOOST_ASSERT(0); return false; } in operator ()()
99 std::vector<int>& get_code() { return code; } in get_code()
100 std::vector<int> const& get_code() const { return code; } in get_code()
104 typedef std::map<std::string, boost::shared_ptr<code_gen::function> > function_table;
106 std::vector<int> code;
107 code_gen::function* current;
108 std::string current_function_name;
[all …]
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure2/
Dcompiler.hpp60 struct compiler struct
62 typedef bool result_type;
65 compiler(ErrorHandler& error_handler_) in compiler() argument
76 bool operator()(ast::nil) { BOOST_ASSERT(0); return false; } in operator ()()
99 std::vector<int>& get_code() { return code; } in get_code()
100 std::vector<int> const& get_code() const { return code; } in get_code()
109 typedef std::map<std::string, boost::shared_ptr<code_gen::function> > function_table;
111 std::vector<int> code;
112 code_gen::function* current;
113 std::string current_function_name;
[all …]
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure1/
Dcompiler.hpp60 struct compiler struct
62 typedef bool result_type;
65 compiler(ErrorHandler& error_handler_) in compiler() function
76 bool operator()(ast::nil) { BOOST_ASSERT(0); return false; } in operator ()()
99 std::vector<int>& get_code() { return code; } in get_code()
100 std::vector<int> const& get_code() const { return code; } in get_code()
109 typedef std::map<std::string, boost::shared_ptr<code_gen::function> > function_table;
111 std::vector<int> code;
112 code_gen::function* current;
113 std::string current_function_name;
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DShaderLang.cpp52 const std::vector<InterfaceBlock> *GetVariableList(const TCompiler *compiler) in GetVariableList()
71 TCompiler *compiler = GetCompilerFromHandle(handle); in GetShaderVariables() local
359 TCompiler *compiler = base->getAsCompiler(); in ConstructCompiler() local
388 TCompiler *compiler = GetCompilerFromHandle(handle); in GetBuiltInResourcesString() local
405 TCompiler *compiler = GetCompilerFromHandle(handle); in Compile() local
413 TCompiler *compiler = GetCompilerFromHandle(handle); in ClearResults() local
420 TCompiler *compiler = GetCompilerFromHandle(handle); in GetShaderVersion() local
427 TCompiler *compiler = GetCompilerFromHandle(handle); in GetShaderOutputType() local
437 TCompiler *compiler = GetCompilerFromHandle(handle); in GetInfoLog() local
449 TCompiler *compiler = GetCompilerFromHandle(handle); in GetObjectCode() local
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DShaderLang.cpp40 const std::vector<Uniform> *GetVariableList(const TCompiler *compiler) in GetVariableList()
46 const std::vector<Varying> *GetVariableList(const TCompiler *compiler) in GetVariableList()
65 const std::vector<Attribute> *GetVariableList(const TCompiler *compiler) in GetVariableList()
71 const std::vector<OutputVariable> *GetVariableList(const TCompiler *compiler) in GetVariableList()
77 const std::vector<InterfaceBlock> *GetVariableList(const TCompiler *compiler) in GetVariableList()
96 TCompiler *compiler = GetCompilerFromHandle(handle); in GetShaderVariables() local
309 TCompiler *compiler = base->getAsCompiler(); in ConstructCompiler() local
338 TCompiler *compiler = GetCompilerFromHandle(handle); in GetBuiltInResourcesString() local
355 TCompiler *compiler = GetCompilerFromHandle(handle); in Compile() local
363 TCompiler *compiler = GetCompilerFromHandle(handle); in ClearResults() local
[all …]
/third_party/boost/libs/spirit/example/x3/calc/calc8/
Dcompiler.hpp47 struct compiler struct
49 typedef bool result_type;
52 error_handler_type;
55 compiler( in compiler() argument
61 { error_handler(pos, msg); } in compiler()
65 bool operator()(ast::nil) const { BOOST_ASSERT(0); return false; } in operator ()()
75 client::code_gen::program& program;
76 error_handler_type error_handler;
/third_party/boost/libs/spirit/example/x3/calc/calc9/
Dcompiler.hpp48 struct compiler struct
50 typedef bool result_type;
53 error_handler_type;
56 compiler( in compiler() argument
62 { error_handler(pos, msg); } in compiler()
66 bool operator()(ast::nil) const { BOOST_ASSERT(0); return false; } in operator ()()
82 client::code_gen::program& program;
83 error_handler_type error_handler;
/third_party/boost/libs/spirit/example/x3/calc/calc7/
Dcompiler.hpp17 struct compiler struct
19 typedef void result_type;
21 std::vector<int>& code;
22 compiler(std::vector<int>& code) in compiler() argument
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_c.cpp151 unique_ptr<Compiler> compiler; member
263 spvc_capture_mode mode, spvc_compiler *compiler) in spvc_context_create_compiler()
348 spvc_result spvc_compiler_create_compiler_options(spvc_compiler compiler, spvc_compiler_options *op… in spvc_compiler_create_compiler_options()
724 spvc_result spvc_compiler_install_compiler_options(spvc_compiler compiler, spvc_compiler_options op… in spvc_compiler_install_compiler_options()
756 spvc_result spvc_compiler_add_header_line(spvc_compiler compiler, const char *line) in spvc_compiler_add_header_line()
774 spvc_result spvc_compiler_require_extension(spvc_compiler compiler, const char *line) in spvc_compiler_require_extension()
792 spvc_result spvc_compiler_flatten_buffer_block(spvc_compiler compiler, spvc_variable_id id) in spvc_compiler_flatten_buffer_block()
810 spvc_bool spvc_compiler_variable_is_depth_or_compare(spvc_compiler compiler, spvc_variable_id id) in spvc_compiler_variable_is_depth_or_compare()
827 spvc_result spvc_compiler_mask_stage_output_by_location(spvc_compiler compiler, in spvc_compiler_mask_stage_output_by_location()
847 spvc_result spvc_compiler_mask_stage_output_by_builtin(spvc_compiler compiler, SpvBuiltIn builtin) in spvc_compiler_mask_stage_output_by_builtin()
[all …]
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/calc7/
Dcompiler.hpp51 struct compiler struct
53 typedef bool result_type;
56 compiler(client::code_gen::program& program, ErrorHandler& error_handler_) in compiler() argument
67 bool operator()(ast::nil) const { BOOST_ASSERT(0); return false; } in operator ()()
77 client::code_gen::program& program;
81 error_handler;
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/calc8/
Dcompiler.hpp52 struct compiler struct
54 typedef bool result_type;
57 compiler(client::code_gen::program& program, ErrorHandler& error_handler_) in compiler() argument
68 bool operator()(ast::nil) const { BOOST_ASSERT(0); return false; } in operator ()()
84 client::code_gen::program& program;
88 error_handler;
/third_party/pcre2/pcre2/src/sljit/
DsljitLir.c368 …struct sljit_compiler *compiler = (struct sljit_compiler*)SLJIT_MALLOC(sizeof(struct sljit_compile… in sljit_create_compiler() local
452 SLJIT_API_FUNC_ATTRIBUTE void sljit_free_compiler(struct sljit_compiler *compiler) in sljit_free_compiler()
479 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_compiler_memory_error(struct sljit_compiler *compiler) in sljit_set_compiler_memory_error()
538 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_current_flags(struct sljit_compiler *compiler, sljit_s32 cu… in sljit_set_current_flags()
559 static void* ensure_buf(struct sljit_compiler *compiler, sljit_uw size) in ensure_buf()
578 static void* ensure_abuf(struct sljit_compiler *compiler, sljit_uw size) in ensure_abuf()
597 SLJIT_API_FUNC_ATTRIBUTE void* sljit_alloc_memory(struct sljit_compiler *compiler, sljit_s32 size) in sljit_alloc_memory()
613 static SLJIT_INLINE void reverse_buf(struct sljit_compiler *compiler) in reverse_buf()
669 static SLJIT_INLINE void set_emit_enter(struct sljit_compiler *compiler, in set_emit_enter()
686 static SLJIT_INLINE void set_set_context(struct sljit_compiler *compiler, in set_set_context()
[all …]
DsljitNativeX86_32.c29 static sljit_s32 emit_do_imm(struct sljit_compiler *compiler, sljit_u8 opcode, sljit_sw imm) in emit_do_imm()
68 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
247 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
289 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op,… in sljit_emit_return()
348 static sljit_u8* emit_x86_instruction(struct sljit_compiler *compiler, sljit_s32 size, in emit_x86_instruction()
550 static sljit_s32 c_fast_call_with_args(struct sljit_compiler *compiler, in c_fast_call_with_args()
625 static sljit_s32 cdecl_call_get_stack_size(struct sljit_compiler *compiler, sljit_s32 arg_types, sl… in cdecl_call_get_stack_size()
662 static sljit_s32 cdecl_call_with_args(struct sljit_compiler *compiler, in cdecl_call_with_args()
703 static sljit_s32 post_call_with_args(struct sljit_compiler *compiler, in post_call_with_args()
728 SLJIT_API_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_call(struct sljit_compiler *compiler, sljit_… in sljit_emit_call()
[all …]
DsljitNativeX86_64.c29 static sljit_s32 emit_load_imm64(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) in emit_load_imm64()
127 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
279 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
303 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op,… in sljit_emit_return()
378 static sljit_s32 emit_do_imm32(struct sljit_compiler *compiler, sljit_u8 rex, sljit_u8 opcode, slji… in emit_do_imm32()
393 static sljit_u8* emit_x86_instruction(struct sljit_compiler *compiler, sljit_s32 size, in emit_x86_instruction()
612 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_s32 *sr… in call_with_args()
648 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_s32 *sr… in call_with_args()
732 SLJIT_API_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_call(struct sljit_compiler *compiler, sljit_… in sljit_emit_call()
748 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_icall(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_icall()
[all …]
DsljitNativeARM_32.c139 static sljit_s32 push_cpool(struct sljit_compiler *compiler) in push_cpool()
177 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_uw inst) in push_inst()
191 static sljit_s32 push_inst_with_literal(struct sljit_compiler *compiler, sljit_uw inst, sljit_uw li… in push_inst_with_literal()
241 static sljit_s32 push_inst_with_unique_literal(struct sljit_compiler *compiler, sljit_uw inst, slji… in push_inst_with_unique_literal()
261 static SLJIT_INLINE sljit_s32 prepare_blx(struct sljit_compiler *compiler) in prepare_blx()
269 static SLJIT_INLINE sljit_s32 emit_blx(struct sljit_compiler *compiler) in emit_blx()
330 static sljit_s32 resolve_const_pool_index(struct sljit_compiler *compiler, struct future_patch **fi… in resolve_const_pool_index()
385 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_uw inst) in push_inst()
396 static SLJIT_INLINE sljit_s32 emit_imm(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw imm) in emit_imm()
650 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler) in sljit_generate_code()
[all …]
DsljitNativeARM_64.c137 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins) in push_inst()
146 static SLJIT_INLINE sljit_s32 emit_imm64_const(struct sljit_compiler *compiler, sljit_s32 dst, slji… in emit_imm64_const()
224 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler) in sljit_generate_code()
497 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw simm) in load_immediate()
599 static sljit_s32 emit_op_imm(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 dst, sljit… in emit_op_imm()
857 static sljit_s32 emit_op_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, in emit_op_mem()
914 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
1040 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
1058 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op,… in sljit_emit_return()
1127 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op) in sljit_emit_op0()
[all …]
DsljitNativeMIPS_32.c29 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst_ar, sljit_sw imm) in load_immediate()
69 static SLJIT_INLINE sljit_s32 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s… in emit_single_op()
419 static SLJIT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw i… in emit_const()
444 static sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_ins *in… in call_with_args()
584 static sljit_s32 post_call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types) in post_call_with_args()
615 SLJIT_API_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_call(struct sljit_compiler *compiler, sljit_… in sljit_emit_call()
645 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_icall(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_icall()
DsljitNativeSPARC_common.c204 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins, sljit_s32 delay_slot) in push_inst()
293 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler) in sljit_generate_code()
506 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
530 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
542 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op,… in sljit_emit_return()
594 static sljit_s32 getput_arg_fast(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, s… in getput_arg_fast()
635 static sljit_s32 getput_arg(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_… in getput_arg()
695 static SLJIT_INLINE sljit_s32 emit_op_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s… in emit_op_mem()
704 static SLJIT_INLINE sljit_s32 emit_op_mem2(struct sljit_compiler *compiler, sljit_s32 flags, sljit_… in emit_op_mem2()
711 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags, in emit_op()
[all …]
DsljitNativeX86_common.c486 SLJIT_API_FUNC_ATTRIBUTE void* sljit_generate_code(struct sljit_compiler *compiler) in sljit_generate_code()
701 #define EMIT_MOV(compiler, dst, dstw, src, srcw) \ argument
714 static SLJIT_INLINE sljit_s32 emit_endbranch(struct sljit_compiler *compiler) in emit_endbranch()
738 static SLJIT_INLINE sljit_s32 emit_rdssp(struct sljit_compiler *compiler, sljit_s32 reg) in emit_rdssp()
762 static SLJIT_INLINE sljit_s32 emit_incssp(struct sljit_compiler *compiler, sljit_s32 reg) in emit_incssp()
797 static SLJIT_INLINE sljit_s32 adjust_shadow_stack(struct sljit_compiler *compiler, in adjust_shadow_stack()
876 static sljit_s32 emit_mov(struct sljit_compiler *compiler, in emit_mov()
937 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op) in sljit_emit_op0()
1090 static sljit_s32 emit_mov_byte(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_byte()
1232 static sljit_s32 emit_prefetch(struct sljit_compiler *compiler, sljit_s32 op, in emit_prefetch()
[all …]
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure3/
Dcompiler.hpp247 struct compiler : llvm_compiler struct
249 typedef value result_type;
252 compiler(vmachine& vm, ErrorHandler& error_handler_) in compiler() function
263 value operator()(ast::nil) { BOOST_ASSERT(0); return val(); } in operator ()()
301 error_handler;
303 bool void_return;
304 std::string current_function_name;
305 std::map<std::string, value> locals;
306 basic_block return_block;
307 value return_var;
/third_party/boost/libs/spirit/example/x3/calc/
Dcalc6.cpp172 struct compiler struct
174 typedef void result_type;
176 std::vector<int>& code;
177 compiler(std::vector<int>& code) in compiler() function
180 void operator()(ast::nil) const { BOOST_ASSERT(0); } in operator ()()
181 void operator()(unsigned int n) const in operator ()()
187 void operator()(ast::operation const& x) const in operator ()()
200 void operator()(ast::signed_ const& x) const in operator ()()
211 void operator()(ast::expression const& x) const in operator ()()
302 typedef client::compiler compiler; in main() typedef
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/
Dcalc6.cpp187 struct compiler struct
189 typedef void result_type;
191 std::vector<int>& code;
192 compiler(std::vector<int>& code) in compiler() function
195 void operator()(ast::nil) const { BOOST_ASSERT(0); } in operator ()()
196 void operator()(unsigned int n) const in operator ()()
202 void operator()(ast::operation const& x) const in operator ()()
215 void operator()(ast::signed_ const& x) const in operator ()()
226 void operator()(ast::expression const& x) const in operator ()()
332 typedef client::compiler compiler; in main() typedef
/third_party/flutter/skia/src/sksl/
DSkSLMain.cpp68 SkSL::Compiler compiler; in main() local
84 SkSL::Compiler compiler; in main() local
100 SkSL::Compiler compiler; in main() local
116 SkSL::Compiler compiler(SkSL::Compiler::kPermitInvalidStaticTests_Flag); in main() local
133 SkSL::Compiler compiler(SkSL::Compiler::kPermitInvalidStaticTests_Flag); in main() local
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_disk_cache.c35 etna_disk_cache_init(struct etna_compiler *compiler, const char *renderer) in etna_disk_cache_init()
57 etna_disk_cache_init_shader_key(struct etna_compiler *compiler, struct etna_shader *shader) in etna_disk_cache_init_shader_key()
82 compute_variant_key(struct etna_compiler *compiler, struct etna_shader_variant *v, in compute_variant_key()
127 etna_disk_cache_retrieve(struct etna_compiler *compiler, struct etna_shader_variant *v) in etna_disk_cache_retrieve()
163 etna_disk_cache_store(struct etna_compiler *compiler, struct etna_shader_variant *v) in etna_disk_cache_store()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_disk_cache.c49 ir3_disk_cache_init(struct ir3_compiler *compiler) in ir3_disk_cache_init()
72 ir3_disk_cache_init_shader_key(struct ir3_compiler *compiler, in ir3_disk_cache_init_shader_key()
103 compute_variant_key(struct ir3_compiler *compiler, struct ir3_shader_variant *v, in compute_variant_key()
162 ir3_disk_cache_retrieve(struct ir3_compiler *compiler, in ir3_disk_cache_retrieve()
201 ir3_disk_cache_store(struct ir3_compiler *compiler, in ir3_disk_cache_store()

12345678910>>...20