Home
last modified time | relevance | path

Searched refs:nif (Results 1 – 25 of 40) sorted by relevance

12

/external/mesa3d/src/compiler/nir/
Dnir_opt_if.c109 nir_if *nif = nir_cf_node_as_if(if_node); in opt_peel_loop_initial_if() local
110 assert(nif->condition.is_ssa); in opt_peel_loop_initial_if()
112 nir_ssa_def *cond = nif->condition.ssa; in opt_peel_loop_initial_if()
146 continue_list = &nif->then_list; in opt_peel_loop_initial_if()
147 entry_list = &nif->else_list; in opt_peel_loop_initial_if()
149 continue_list = &nif->else_list; in opt_peel_loop_initial_if()
150 entry_list = &nif->then_list; in opt_peel_loop_initial_if()
171 nir_cf_node_as_block(nir_cf_node_next(&nif->cf_node)); in opt_peel_loop_initial_if()
180 nir_foreach_block_in_cf_node(block, &nif->cf_node) in opt_peel_loop_initial_if()
198 nir_cf_node_remove(&nif->cf_node); in opt_peel_loop_initial_if()
[all …]
Dnir_opt_loop_unroll.c83 *first_continue_block = nir_if_first_then_block(term->nif); in get_first_blocks_in_terminator()
84 *first_break_block = nir_if_first_else_block(term->nif); in get_first_blocks_in_terminator()
86 *first_continue_block = nir_if_first_else_block(term->nif); in get_first_blocks_in_terminator()
87 *first_break_block = nir_if_first_then_block(term->nif); in get_first_blocks_in_terminator()
109 assert(nir_is_trivial_loop_if(limiting_term->nif, in simple_unroll()
124 if (terminator->nif != limiting_term->nif) { in simple_unroll()
130 assert(nir_is_trivial_loop_if(terminator->nif, in simple_unroll()
138 nir_after_cf_node(&terminator->nif->cf_node)); in simple_unroll()
140 nir_cf_node_remove(&terminator->nif->cf_node); in simple_unroll()
153 nir_before_cf_node(&limiting_term->nif->cf_node)); in simple_unroll()
[all …]
Dnir_builder.h98 nir_if *nif = nir_if_create(build->shader); in nir_push_if() local
99 nif->condition = nir_src_for_ssa(condition); in nir_push_if()
100 nir_builder_cf_insert(build, &nif->cf_node); in nir_push_if()
101 build->cursor = nir_before_cf_list(&nif->then_list); in nir_push_if()
102 return nif; in nir_push_if()
106 nir_push_else(nir_builder *build, nir_if *nif) in nir_push_else() argument
108 if (nif) { in nir_push_else()
109 assert(nir_builder_is_inside_cf(build, &nif->cf_node)); in nir_push_else()
112 nif = nir_cf_node_as_if(block->cf_node.parent); in nir_push_else()
114 build->cursor = nir_before_cf_list(&nif->else_list); in nir_push_else()
[all …]
Dnir_opt_trivial_continues.c86 nir_if *nif = nir_cf_node_as_if(cf_node); in lower_trivial_continues_list() local
87 if (lower_trivial_continues_list(&nif->then_list, at_loop_tail, loop)) in lower_trivial_continues_list()
89 if (lower_trivial_continues_list(&nif->else_list, at_loop_tail, loop)) in lower_trivial_continues_list()
Dnir_lower_regs_to_ssa.c68 rewrite_if_condition(nir_if *nif, struct regs_to_ssa_state *state) in rewrite_if_condition() argument
70 if (nif->condition.is_ssa) in rewrite_if_condition()
73 nir_block *block = nir_cf_node_as_block(nir_cf_node_prev(&nif->cf_node)); in rewrite_if_condition()
74 nir_register *reg = nif->condition.reg.reg; in rewrite_if_condition()
80 nir_if_rewrite_condition(nif, nir_src_for_ssa(def)); in rewrite_if_condition()
Dnir_loop_analyze.h79 nir_is_trivial_loop_if(nir_if *nif, nir_block *break_block) in nir_is_trivial_loop_if() argument
89 if (contains_other_jump(&nif->cf_node, last_instr)) in nir_is_trivial_loop_if()
Dnir_loop_analyze.c310 nir_if *nif = nir_cf_node_as_if(node); in find_loop_terminators() local
316 nir_block *last_then = nir_if_last_then_block(nif); in find_loop_terminators()
317 nir_block *last_else = nir_if_last_else_block(nif); in find_loop_terminators()
331 if (!nir_is_trivial_loop_if(nif, break_blk)) in find_loop_terminators()
338 if (nif->condition.ssa->parent_instr->type == nir_instr_type_phi) in find_loop_terminators()
347 terminator->nif = nif; in find_loop_terminators()
351 terminator->conditional_instr = nif->condition.ssa->parent_instr; in find_loop_terminators()
Dnir_serialize.c910 write_if(write_ctx *ctx, nir_if *nif) in write_if() argument
912 write_src(ctx, &nif->condition); in write_if()
914 write_cf_list(ctx, &nif->then_list); in write_if()
915 write_cf_list(ctx, &nif->else_list); in write_if()
921 nir_if *nif = nir_if_create(ctx->nir); in read_if() local
923 read_src(ctx, &nif->condition, nif); in read_if()
925 nir_cf_node_insert_end(cf_list, &nif->cf_node); in read_if()
927 read_cf_list(ctx, &nif->then_list); in read_if()
928 read_cf_list(ctx, &nif->else_list); in read_if()
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_if_conversion.cpp120 if_node *nif = static_cast<if_node*>(nd1->first); in check_and_convert() local
121 if (!nif->is_if()) in check_and_convert()
123 depart_node *nd2 = static_cast<depart_node*>(nif->first); in check_and_convert()
127 value* &em = nif->cond; in check_and_convert()
195 nif->expand(); in check_and_convert()
210 if_node *nif = static_cast<if_node*>(nd1->first); in run_on() local
211 if (!nif->is_if()) in run_on()
213 depart_node *nd2 = static_cast<depart_node*>(nif->first); in run_on()
217 value* &em = nif->cond; in run_on()
225 if (nd2->empty() && nif->next) { in run_on()
[all …]
/external/ppp/pppd/
Dsys-solaris.c2156 int nif; local
2164 if (ioctl(ipfd, SIOCGIFNUM, &nif) < 0)
2166 nif = MAX_IFS;
2167 ifc.ifc_len = nif * sizeof(struct ifreq);
2399 int nif; local
2416 if (ioctl(ipfd, SIOCGIFNUM, &nif) < 0)
2418 nif = MAX_IFS;
2419 ifc.ifc_len = nif * sizeof(struct ifreq);
/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c735 nir_if *nif = in vtn_emit_cf_list() local
744 nir_push_else(&b->nb, nif); in vtn_emit_cf_list()
752 nir_pop_if(&b->nb, nif); in vtn_emit_cf_list()
/external/grpc-grpc/src/objective-c/tests/Tests.xcodeproj/
Dproject.pbxproj900 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
936 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
954 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
990 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
1026 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
1044 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
1080 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
1170 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
1188 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
1278 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
[all …]
/external/grpc-grpc/test/cpp/cocoapods/GRPCCppTests.xcodeproj/
Dproject.pbxproj245 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
263 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
/external/libpcap/rpcapd/
Ddaemon.c1261 uint16 nif = 0; // counts the number of interface listed in daemon_msg_findallif_req() local
1291 nif++; in daemon_msg_findallif_req()
1327 RPCAP_MSG_FINDALLIF_REPLY, nif, plen); in daemon_msg_findallif_req()
/external/grpc-grpc/test/core/iomgr/ios/CFStreamTests/CFStreamTests.xcodeproj/
Dproject.pbxproj156 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
/external/grpc-grpc/examples/objective-c/helloworld/HelloWorld.xcodeproj/
Dproject.pbxproj196 …"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; the…
/external/grpc-grpc/src/objective-c/examples/Sample/Sample.xcodeproj/
Dproject.pbxproj198 …"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; the…
/external/libpcap/
Dpcap-rpcap.c2353 int nif; /* Number of interfaces listed */ in pcap_findalldevs_ex_remote() local
2449 nif = ntohs(header.value); in pcap_findalldevs_ex_remote()
2452 for (i = 0; i < nif; i++) in pcap_findalldevs_ex_remote()
/external/grpc-grpc/src/objective-c/examples/SwiftSample/SwiftSample.xcodeproj/
Dproject.pbxproj180 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
/external/grpc-grpc/src/objective-c/tests/Connectivity/ConnectivityTestingApp.xcodeproj/
Dproject.pbxproj193 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
/external/grpc-grpc/examples/objective-c/route_guide/RouteGuideClient.xcodeproj/
Dproject.pbxproj208 …"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; the…
/external/grpc-grpc/examples/cpp/helloworld/cocoapods/HelloWorldCpp.xcodeproj/
Dproject.pbxproj183 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
/external/grpc-grpc/examples/objective-c/auth_sample/AuthSample.xcodeproj/
Dproject.pbxproj223 …"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; the…
/external/tensorflow/tensorflow/lite/examples/ios/camera/tflite_camera_example.xcodeproj/
Dproject.pbxproj201 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…
/external/tensorflow/tensorflow/examples/ios/simple/tf_simple_example.xcodeproj/
Dproject.pbxproj214 …ODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\…

12