Home
last modified time | relevance | path

Searched refs:bc (Results 1 – 25 of 2225) sorted by relevance

12345678910>>...89

/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_builder.cpp49 cf_op_flags flags = (cf_op_flags)cf->bc.op_ptr->flags; in build()
51 cf->bc.id = cf_cnt++; in build()
54 if (cf->bc.is_alu_extended()) in build()
68 cf_op_flags flags = (cf_op_flags)cf->bc.op_ptr->flags; in build()
72 cf->bc.addr = bb.ndw() >> 1; in build()
74 cf->bc.count = (bb.ndw() >> 1) - cf->bc.addr - 1; in build()
78 cf->bc.addr = bb.ndw() >> 1; in build()
80 cf->bc.count = (((bb.ndw() >> 1) - cf->bc.addr) >> 1) - 1; in build()
82 cf->bc.addr = cf->jump_target->bc.id; in build()
84 cf->bc.addr += 1; in build()
[all …]
Dsb_bc_decoder.cpp31 int bc_decoder::decode_cf(unsigned &i, bc_cf& bc) { in decode_cf() argument
38 return decode_cf_alu(i, bc); in decode_cf()
45 bc.set_op(r600_isa_cf_by_opcode(ctx.isa, opcode, 0)); in decode_cf()
47 if (bc.op_ptr->flags & CF_EXP) { in decode_cf()
48 return decode_cf_exp(i, bc); in decode_cf()
49 } else if (bc.op_ptr->flags & CF_MEM) { in decode_cf()
50 return decode_cf_mem(i, bc); in decode_cf()
55 bc.addr = w0.get_ADDR(); in decode_cf()
56 bc.jumptable_sel = w0.get_JUMPTABLE_SEL(); in decode_cf()
61 bc.barrier = w1.get_BARRIER(); in decode_cf()
[all …]
Dsb_bc_dump.cpp48 id = n.bc.id << 1; in visit()
50 if ((n.bc.op_ptr->flags & CF_ALU) && n.bc.is_alu_extended()) { in visit()
59 if (n.bc.op_ptr->flags & CF_CLAUSE) { in visit()
60 id = n.bc.addr << 1; in visit()
81 new_group = n.bc.last; in visit()
83 if (n.bc.last) { in visit()
119 s << n.bc.op_ptr->name; in dump()
121 if (n.bc.op_ptr->flags & CF_EXP) { in dump()
125 s << " " << exp_type[n.bc.type] << " "; in dump()
127 if (n.bc.burst_count) { in dump()
[all …]
Dsb_expr.cpp55 n.bc.src[0].abs = abs; in convert_to_mov()
56 n.bc.src[0].neg = neg; in convert_to_mov()
57 n.bc.set_op(ALU_OP1_MOV); in convert_to_mov()
195 unsigned flags = n.bc.op_ptr->flags; in fold_setcc()
210 apply_alu_src_mod(n.bc, 0, cv0); in fold_setcc()
215 apply_alu_src_mod(n.bc, 1, cv1); in fold_setcc()
223 if (n.bc.src[0].abs && !n.bc.src[0].neg) { in fold_setcc()
231 } else if (n.bc.src[0].abs && n.bc.src[0].neg) { in fold_setcc()
246 if (n.bc.src[1].abs && !n.bc.src[1].neg) { in fold_setcc()
254 } else if (n.bc.src[1].abs && n.bc.src[1].neg) { in fold_setcc()
[all …]
Dsb_bc_parser.cpp50 dw = bc->bytecode; in decode()
51 bc_ndw = bc->ndw; in decode()
59 switch (bc->type) { in decode()
71 if (bc->type == PIPE_SHADER_COMPUTE) in decode()
77 sh = new shader(ctx, t, bc->debug_id); in decode()
78 sh->safe_math = sb_context::safe_math || (t == TARGET_COMPUTE || bc->precise); in decode()
84 sh->ngpr = bc->ngpr; in decode()
85 sh->nstack = bc->nstack; in decode()
120 sh->add_gpr_array(0, bc->ngpr, 0x0F); in parse_decls()
138 sh->add_gpr_array(0, pshader->bc.ngpr, 0x0F); in parse_decls()
[all …]
Dsb_peephole.cpp65 if (f->bc.op >= FETCH_OP_GDS_ADD_RET && f->bc.op <= FETCH_OP_GDS_USHORT_READ_RET) in run_on()
66 f->bc.set_op(f->bc.op - FETCH_OP_GDS_ADD_RET + FETCH_OP_GDS_ADD); in run_on()
71 if (a->bc.op_ptr->flags & AF_LDS) { in run_on()
73 if (a->bc.op >= LDS_OP2_LDS_ADD_RET && a->bc.op <= LDS_OP3_LDS_MSKOR_RET) in run_on()
74 a->bc.set_op(a->bc.op - LDS_OP2_LDS_ADD_RET + LDS_OP2_LDS_ADD); in run_on()
75 if (a->bc.op == LDS_OP1_LDS_READ_RET) in run_on()
78 } else if (a->bc.op_ptr->flags & in run_on()
81 } else if (a->bc.op == ALU_OP1_FLT_TO_INT) { in run_on()
94 unsigned aflags = a->bc.op_ptr->flags; in optimize_cc_op()
108 ns->bc.set_op(ns->bc.op + (ALU_OP2_SETE_DX10 - ALU_OP2_SETE)); in convert_float_setcc()
[all …]
/external/bc/manuals/
Dbenchmarks.md3 The results of these benchmarks suggest that building this `bc` with
9 shown. Also, `[bc]` means whichever `bc` was being run, and the assumed working
10 directory is the root directory of this repository. Also, this `bc` was at
11 version `3.0.0` while GNU `bc` was at version `1.07.1`, and all tests were
17 These benchmarks were run with both `bc`'s compiled with the typical `-O2`
25 tests/script.sh bc add.bc 1 0 1 1 [bc]
28 For GNU `bc`:
36 For this `bc`:
49 tests/script.sh bc subtract.bc 1 0 1 1 [bc]
52 For GNU `bc`:
[all …]
/external/llvm-project/llvm/test/ThinLTO/X86/
Ddistributed_import.ll5 ; RUN: opt -thinlto-bc %s -thin-link-bitcode-file=%t1.thinlink.bc -o %t1.bc
6 ; RUN: opt -thinlto-bc %p/Inputs/distributed_import.ll -thin-link-bitcode-file=%t2.thinlink.bc -o %…
7 ; RUN: llvm-bcanalyzer -dump %t1.thinlink.bc | FileCheck --check-prefix=THINLINKBITCODE %s
10 ; RUN: llvm-lto2 run %t1.bc %t2.bc -o %t.o -save-temps \
12 ; RUN: -r=%t1.bc,g, \
13 ; RUN: -r=%t1.bc,analias, \
14 ; RUN: -r=%t1.bc,f,px \
15 ; RUN: -r=%t2.bc,g,px \
16 ; RUN: -r=%t2.bc,analias,px \
17 ; RUN: -r=%t2.bc,aliasee,px
[all …]
Demit_imports.ll1 ; RUN: opt -module-summary %s -o %t1.bc
2 ; RUN: opt -module-summary %p/Inputs/emit_imports.ll -o %t2.bc
3 ; RUN: opt -module-summary %p/Inputs/emit_imports2.ll -o %t2b.bc
6 ; RUN: opt -module-summary %p/Inputs/empty.ll -o %t3.bc
7 ; RUN: rm -f %t3.bc.imports
8 ; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %t1.bc %t2.bc %t2b.bc %t3.bc
9 ; RUN: llvm-lto -thinlto-action=emitimports -thinlto-index %t.index.bc %t1.bc %t2.bc %t2b.bc %t3.bc
13 ; RUN: cat %t1.bc.imports | count 2
14 ; RUN: cat %t1.bc.imports | FileCheck %s --check-prefix=IMPORTS1
15 ; IMPORTS1: emit_imports.ll.tmp2.bc
[all …]
Dcache-typeid-resolutions.ll1 ; RUN: opt -module-hash -module-summary %s -o %t.bc
2 ; RUN: opt -module-hash -module-summary %S/Inputs/cache-typeid-resolutions-import.ll -o %t-import.bc
4 ; RUN: llvm-as -o %t1.bc %S/Inputs/cache-typeid-resolutions1.ll
5 ; RUN: llvm-as -o %t2.bc %S/Inputs/cache-typeid-resolutions2.ll
6 ; RUN: llvm-as -o %t3.bc %S/Inputs/cache-typeid-resolutions3.ll
12bc %t-import.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f1_actual,plx -r=%t.bc,f2,plx -r=%t-i…
13bc %t-import.bc %t1.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f1_actual,plx -r=%t.bc,f2,plx …
20bc %t-import.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f2,plx -r=%t.bc,f1_actual,plx -r=%t-i…
21bc %t-import.bc %t2.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f2,plx -r=%t.bc,f1_actual,plx …
22bc %t-import.bc %t3.bc -cache-dir %t.cache -r=%t.bc,f1,plx -r=%t.bc,f2,plx -r=%t.bc,f1_actual,plx …
Dindex-const-prop-cache.ll2 ; RUN: opt -module-summary -module-hash %s -o %t1.bc
3 ; RUN: opt -module-summary -module-hash %p/Inputs/index-const-prop-cache-foo.ll -o %t2.bc
4 ; RUN: opt -module-summary -module-hash %p/Inputs/index-const-prop-cache-test1.ll -o %t3.bc
5 ; RUN: opt -module-summary -module-hash %p/Inputs/index-const-prop-cache-test2.ll -o %t4.bc
9 ; RUN: llvm-lto -thinlto-action=run %t1.bc %t4.bc %t2.bc \
14 ; RUN: llvm-lto -thinlto-action=run %t1.bc %t3.bc %t2.bc \
20 ; RUN: llvm-lto2 run %t1.bc %t4.bc %t2.bc -cache-dir=%t.cache -o %t5 \
21 ; RUN: -r=%t1.bc,main,plx -r=%t1.bc,foo,l \
22 ; RUN: -r=%t4.bc,test,plx -r=%t4.bc,foo,l -r=%t4.bc,bar,l \
23 ; RUN: -r=%t2.bc,foo,pl -r=%t2.bc,bar,pl -r=%t2.bc,rand,
[all …]
Dindex-const-prop2.ll5 ; RUN: opt -module-summary %s -o %t1.bc
6 ; RUN: opt -module-summary %p/Inputs/index-const-prop.ll -o %t2.bc
7 ; RUN: llvm-lto2 run %t1.bc %t2.bc -save-temps \
8 ; RUN: -r=%t2.bc,foo,pl \
9 ; RUN: -r=%t2.bc,bar,pl \
10 ; RUN: -r=%t2.bc,baz,pl \
11 ; RUN: -r=%t2.bc,rand, \
12 ; RUN: -r=%t2.bc,gBar,pl \
13 ; RUN: -r=%t1.bc,main,plx \
14 ; RUN: -r=%t1.bc,main2,pl \
[all …]
Dindex-const-prop-alias.ll1 ; RUN: opt -module-summary %s -o %t1.bc
2 ; RUN: opt -module-summary %p/Inputs/index-const-prop-alias.ll -o %t2.bc
3 ; RUN: llvm-lto2 run %t1.bc -r=%t1.bc,main,plx -r=%t1.bc,ret_ptr,pl -r=%t1.bc,g.alias,l -r=%t1.bc,g…
4 ; RUN: %t2.bc -r=%t2.bc,g,pl -r=%t2.bc,g.alias,pl -save-temps -o %t3
5 ; RUN: llvm-dis %t3.1.3.import.bc -o - | FileCheck %s --check-prefix=IMPORT
6 ; RUN: llvm-dis %t3.1.5.precodegen.bc -o - | FileCheck %s --check-prefix=CODEGEN
9 ; RUN: llvm-lto2 run %t1.bc -r=%t1.bc,main,plx -r=%t1.bc,ret_ptr,plx -r=%t1.bc,g.alias,l -r=%t1.bc,…
10 ; RUN: %t2.bc -r=%t2.bc,g,pl -r=%t2.bc,g.alias,pl -save-temps -o %t4
11 ; RUN: llvm-dis %t4.1.3.import.bc -o - | FileCheck %s --check-prefix=PRESERVED
14 ; RUN: llvm-lto2 run %t1.bc -r=%t1.bc,main,plx -r=%t1.bc,ret_ptr,pl -r=%t1.bc,g.alias,l -r=%t1.bc,g…
[all …]
Dcache-config.ll2 ; RUN: opt -module-hash -module-summary %s -o %t.bc
4 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx
5 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -mcpu=core2
6 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -relax-elf-relocatio…
7 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -function-sections
8 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -data-sections
9 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -debugger-tune=sce
10 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -mattr=+sse2
11 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -relocation-model=st…
12 ; RUN: llvm-lto2 run -o %t.o %t.bc -cache-dir %t.cache -r=%t.bc,globalfunc,plx -code-model=large
[all …]
Dcache-import-lists.ll1 ; RUN: opt -module-hash -module-summary %s -o %t.bc
2 ; RUN: opt -module-hash -module-summary %S/Inputs/cache-import-lists1.ll -o %t1.bc
3 ; RUN: opt -module-hash -module-summary %S/Inputs/cache-import-lists2.ll -o %t2.bc
10 … %t.o %t.bc %t1.bc %t2.bc -r=%t.bc,main,plx -r=%t.bc,f1,lx -r=%t.bc,f2,lx -r=%t1.bc,f1,plx -r=%t1.
11 … %t.o %t.bc %t2.bc %t1.bc -r=%t.bc,main,plx -r=%t.bc,f1,lx -r=%t.bc,f2,lx -r=%t2.bc,f2,plx -r=%t2.
/external/mesa3d/src/gallium/drivers/r600/
Dr600_asm.c139 void r600_bytecode_init(struct r600_bytecode *bc, in r600_bytecode_init() argument
146 bc->debug_id = ++next_shader_id; in r600_bytecode_init()
150 bc->ar_handling = AR_HANDLE_RV6XX; in r600_bytecode_init()
151 bc->r6xx_nop_after_rel_dst = 1; in r600_bytecode_init()
153 bc->ar_handling = AR_HANDLE_NORMAL; in r600_bytecode_init()
154 bc->r6xx_nop_after_rel_dst = 0; in r600_bytecode_init()
157 list_inithead(&bc->cf); in r600_bytecode_init()
158 bc->chip_class = chip_class; in r600_bytecode_init()
159 bc->family = family; in r600_bytecode_init()
160 bc->has_compressed_msaa_texturing = has_compressed_msaa_texturing; in r600_bytecode_init()
[all …]
Deg_asm.c31 int eg_bytecode_cf_build(struct r600_bytecode *bc, struct r600_bytecode_cf *cf) in eg_bytecode_cf_build() argument
36 bc->bytecode[id++] = cf->isa[0]; in eg_bytecode_cf_build()
37 bc->bytecode[id++] = cf->isa[1]; in eg_bytecode_cf_build()
40 unsigned opcode = r600_isa_cf_opcode(bc->isa->hw_class, cf->op); in eg_bytecode_cf_build()
45 bc->bytecode[id++] = in eg_bytecode_cf_build()
53 bc->bytecode[id++] = in eg_bytecode_cf_build()
55 r600_isa_cf_opcode(bc->isa->hw_class, CF_OP_ALU_EXT)) | in eg_bytecode_cf_build()
61 bc->bytecode[id++] = S_SQ_CF_ALU_WORD0_ADDR(cf->addr >> 1) | in eg_bytecode_cf_build()
65 bc->bytecode[id++] = S_SQ_CF_ALU_WORD1_CF_INST(opcode) | in eg_bytecode_cf_build()
73 bc->bytecode[id++] = S_SQ_CF_WORD0_ADDR(cf->addr >> 1); in eg_bytecode_cf_build()
[all …]
/external/llvm-project/clang/test/Sema/
Dzvector.c7 vector bool char bc, bc2; variable
70 int res_bc[vec_step(bc) == 16 ? 1 : -1];
91 bc = bc2; in foo()
110 bc = sc2; // expected-error {{incompatible type}} in foo()
111 bc = uc2; // expected-error {{incompatible type}} in foo()
117 bc = sc_scalar; // expected-error {{incompatible type}} in foo()
118 bc = uc_scalar; // expected-error {{incompatible type}} in foo()
140 bc = us2; // expected-error {{incompatible type}} in foo()
141 bc = ui2; // expected-error {{incompatible type}} in foo()
142 bc = ul2; // expected-error {{incompatible type}} in foo()
[all …]
/external/clang/test/Sema/
Dzvector.c7 vector bool char bc, bc2; variable
48 bc = bc2; in foo()
67 bc = sc2; // expected-error {{incompatible type}} in foo()
68 bc = uc2; // expected-error {{incompatible type}} in foo()
74 bc = sc_scalar; // expected-error {{incompatible type}} in foo()
75 bc = uc_scalar; // expected-error {{incompatible type}} in foo()
97 bc = us2; // expected-error {{incompatible type}} in foo()
98 bc = ui2; // expected-error {{incompatible type}} in foo()
99 bc = ul2; // expected-error {{incompatible type}} in foo()
100 bc = fd2; // expected-error {{incompatible type}} in foo()
[all …]
/external/llvm-project/llvm/test/LTO/Resolution/X86/
Dcommon2.ll1 ; RUN: llvm-as < %s > %t1.bc
2 ; RUN: llvm-as < %p/Inputs/common2.ll > %t2.bc
7 ; RUN: llvm-lto2 run %t1.bc %t2.bc -o %t.o -save-temps \
8 ; RUN: -r %t1.bc,v,x \
9 ; RUN: -r %t2.bc,v,px \
10 ; RUN: -r %t1.bc,foo,px \
11 ; RUN: -r %t2.bc,bar,px
12 ; RUN: llvm-dis < %t.o.0.0.preopt.bc | FileCheck %s --check-prefix=LARGE-PREVAILED
15 ; RUN: llvm-lto2 run %t2.bc %t1.bc -o %t.o -save-temps \
16 ; RUN: -r %t1.bc,v,x \
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dboolhuff.h38 void vp8_start_encode(BOOL_CODER *bc, unsigned char *source,
41 void vp8_encode_value(BOOL_CODER *bc, int data, int bits);
42 void vp8_stop_encode(BOOL_CODER *bc);
59 static void vp8_encode_bool(BOOL_CODER *bc, int bit, int probability) { in vp8_encode_bool() argument
61 int count = bc->count; in vp8_encode_bool()
62 unsigned int range = bc->range; in vp8_encode_bool()
63 unsigned int lowvalue = bc->lowvalue; in vp8_encode_bool()
72 range = bc->range - split; in vp8_encode_bool()
84 int x = bc->pos - 1; in vp8_encode_bool()
86 while (x >= 0 && bc->buffer[x] == 0xff) { in vp8_encode_bool()
[all …]
/external/bc/tests/
Dradamsa.txt3 -lqg '/home/gavin/bc stuff.bc'
4 -lqg "/home/gavin/bc stuff.bc"
5 -lqg '/home/gavin/"bc" stuff.bc'
6 -lqg "/home/gavin/'bc' stuff.bc"
7 -lqg '/home/gavin/bc stuff.bc
8 -lqg "/home/gavin/bc stuff.bc
9 -lqg '/home/gavin/"bc" stuff.bc
10 -lqg "/home/gavin/'bc' stuff.bc
14 --file="/home/gavin/bc stuff.bc"
/external/bc/tests/bc/scripts/
Dall.txt1 print.bc
2 parse.bc
3 add.bc
4 subtract.bc
5 multiply.bc
6 divide.bc
7 array.bc
8 atan.bc
9 bessel.bc
10 functions.bc
[all …]
/external/llvm-project/llvm/test/Transforms/ThinLTOBitcodeWriter/
Dno-type-md.ll3 ; RUN: opt -thinlto-bc -thin-link-bitcode-file=%t.thinlink.bc -o %t.bc %s
4 ; RUN: llvm-dis -o - %t.bc | FileCheck %s
5 ; RUN: llvm-bcanalyzer -dump %t.bc | FileCheck --check-prefix=BCA %s
9 ; RUN: llvm-lto -thinlto -o %t3 %t.bc
13 ; RUN: mv %t.bc %t.bc.sv
14 ; RUN: cp %t.thinlink.bc %t.bc
15 ; RUN: llvm-lto -thinlto -o %t4 %t.bc
16 ; RUN: mv %t.bc.sv %t.bc
17 ; RUN: diff %t3.thinlto.bc %t4.thinlto.bc
20 ; RUN: rm -f %t3.thinlto.bc %t4.thinlto.bc
[all …]
/external/llvm/test/Object/
Darchive-extract.test6 ; RUN: rm -f very_long_bytecode_file_name.bc
7 ; RUN: llvm-ar p %p/Inputs/GNU.a very_long_bytecode_file_name.bc | \
8 ; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
9 ; RUN: llvm-ar x %p/Inputs/GNU.a very_long_bytecode_file_name.bc
10 ; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc \
11 ; RUN: very_long_bytecode_file_name.bc
13 ; RUN: rm -f very_long_bytecode_file_name.bc
14 ; RUN: llvm-ar p %p/Inputs/MacOSX.a very_long_bytecode_file_name.bc | \
15 ; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
16 ; RUN: llvm-ar x %p/Inputs/MacOSX.a very_long_bytecode_file_name.bc
[all …]

12345678910>>...89