Home
last modified time | relevance | path

Searched refs:on_off (Results 1 – 17 of 17) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
D2011-05-28-swapmulsub.ll5 define zeroext i16 @foo1(i32 %on_off) {
7 ; CHECK-NEXT: [[ON_OFF_TR:%.*]] = trunc i32 %on_off to i16
12 %on_off.addr = alloca i32, align 4
14 store i32 %on_off, i32* %on_off.addr, align 4
15 %tmp = load i32, i32* %on_off.addr, align 4
24 define zeroext i16 @foo2(i32 %on_off, i32 %q) {
26 ; CHECK-NEXT: [[SUBA:%.*]] = sub i32 %on_off, %q
31 %on_off.addr = alloca i32, align 4
34 store i32 %on_off, i32* %on_off.addr, align 4
37 %tmp1 = load i32, i32* %on_off.addr, align 4
[all …]
Dcast.ll551 define zeroext i64 @test43(i8 zeroext %on_off) nounwind readonly {
553 ; CHECK-NEXT: [[A:%.*]] = zext i8 %on_off to i64
557 %A = zext i8 %on_off to i32
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
D2011-05-28-swapmulsub.ll5 define zeroext i16 @foo1(i32 %on_off) nounwind uwtable ssp {
7 %on_off.addr = alloca i32, align 4
9 store i32 %on_off, i32* %on_off.addr, align 4
10 %tmp = load i32* %on_off.addr, align 4
22 define zeroext i16 @foo2(i32 %on_off, i32 %q) nounwind uwtable ssp {
24 %on_off.addr = alloca i32, align 4
27 store i32 %on_off, i32* %on_off.addr, align 4
30 %tmp1 = load i32* %on_off.addr, align 4
42 define zeroext i16 @foo3(i32 %on_off) nounwind uwtable ssp {
44 %on_off.addr = alloca i32, align 4
[all …]
Dcast.ll366 define zeroext i64 @test43(i8 zeroext %on_off) nounwind readonly {
367 %A = zext i8 %on_off to i32
372 ; CHECK-NEXT: %A = zext i8 %on_off to i64
/external/llvm/test/Transforms/InstCombine/
D2011-05-28-swapmulsub.ll5 define zeroext i16 @foo1(i32 %on_off) nounwind uwtable ssp {
7 %on_off.addr = alloca i32, align 4
9 store i32 %on_off, i32* %on_off.addr, align 4
10 %tmp = load i32, i32* %on_off.addr, align 4
22 define zeroext i16 @foo2(i32 %on_off, i32 %q) nounwind uwtable ssp {
24 %on_off.addr = alloca i32, align 4
27 store i32 %on_off, i32* %on_off.addr, align 4
30 %tmp1 = load i32, i32* %on_off.addr, align 4
42 define zeroext i16 @foo3(i32 %on_off) nounwind uwtable ssp {
44 %on_off.addr = alloca i32, align 4
[all …]
Dcast.ll497 define zeroext i64 @test43(i8 zeroext %on_off) nounwind readonly {
499 ; CHECK-NEXT: [[A:%.*]] = zext i8 %on_off to i64
503 %A = zext i8 %on_off to i32
/external/u-boot/drivers/power/regulator/
Ds2mps11_regulator.c226 int ret, on_off; in s2mps11_buck_enable() local
229 ret = s2mps11_buck_mode(dev, op, &on_off); in s2mps11_buck_enable()
232 switch (on_off) { in s2mps11_buck_enable()
244 on_off = OP_ON; in s2mps11_buck_enable()
246 on_off = OP_OFF; in s2mps11_buck_enable()
248 ret = s2mps11_buck_mode(dev, op, &on_off); in s2mps11_buck_enable()
490 int ret, on_off; in s2mps11_ldo_enable() local
493 ret = s2mps11_ldo_mode(dev, op, &on_off); in s2mps11_ldo_enable()
496 switch (on_off) { in s2mps11_ldo_enable()
508 on_off = OP_ON; in s2mps11_ldo_enable()
[all …]
Dmax77686.c506 int ret, on_off; in max77686_ldo_enable() local
509 ret = max77686_ldo_mode(dev, op, &on_off); in max77686_ldo_enable()
513 switch (on_off) { in max77686_ldo_enable()
525 on_off = OPMODE_ON; in max77686_ldo_enable()
527 on_off = OPMODE_OFF; in max77686_ldo_enable()
529 ret = max77686_ldo_mode(dev, op, &on_off); in max77686_ldo_enable()
627 int ret, on_off; in max77686_buck_enable() local
630 ret = max77686_buck_mode(dev, op, &on_off); in max77686_buck_enable()
634 switch (on_off) { in max77686_buck_enable()
646 on_off = OPMODE_ON; in max77686_buck_enable()
[all …]
Dpfuze100.c387 int ret, on_off; in pfuze100_regulator_enable() local
403 ret = pfuze100_regulator_mode(dev, op, &on_off); in pfuze100_regulator_enable()
406 switch (on_off) { in pfuze100_regulator_enable()
430 on_off = *enable ? LDO_MODE_ON : LDO_MODE_OFF; in pfuze100_regulator_enable()
433 on_off = *enable ? SWBST_MODE_AUTO : in pfuze100_regulator_enable()
436 on_off = *enable ? APS_PFM : OFF_OFF; in pfuze100_regulator_enable()
441 return pfuze100_regulator_mode(dev, op, &on_off); in pfuze100_regulator_enable()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dlea-4.ll3 define zeroext i16 @t1(i32 %on_off) nounwind {
5 %0 = sub i32 %on_off, 1
13 define i32 @t2(i32 %on_off) nounwind {
15 %0 = sub i32 %on_off, 1
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dlea-4.ll6 define zeroext i16 @t1(i32 %on_off) nounwind {
8 %0 = sub i32 %on_off, 1
17 define i32 @t2(i32 %on_off) nounwind {
19 %0 = sub i32 %on_off, 1
/external/llvm/test/CodeGen/X86/
Dlea-4.ll6 define zeroext i16 @t1(i32 %on_off) nounwind {
8 %0 = sub i32 %on_off, 1
17 define i32 @t2(i32 %on_off) nounwind {
19 %0 = sub i32 %on_off, 1
/external/iproute2/bridge/
Dlink.c247 static bool on_off(char *arg, __s8 *attr, char *val) in on_off() function
297 if (!on_off("guard", &bpdu_guard, *argv)) in brlink_modify()
301 if (!on_off("hairping", &hairpin, *argv)) in brlink_modify()
305 if (!on_off("fastleave", &fast_leave, *argv)) in brlink_modify()
309 if (!on_off("root_block", &root_block, *argv)) in brlink_modify()
313 if (!on_off("learning", &learning, *argv)) in brlink_modify()
317 if (!on_off("learning_sync", &learning_sync, *argv)) in brlink_modify()
321 if (!on_off("flood", &flood, *argv)) in brlink_modify()
325 if (!on_off("mcast_flood", &mcast_flood, *argv)) in brlink_modify()
/external/iproute2/ip/
Diplink_vlan.c45 static int on_off(const char *msg, const char *arg) in on_off() function
110 return on_off("reorder_hdr", *argv); in vlan_parse_opt()
119 return on_off("gvrp", *argv); in vlan_parse_opt()
128 return on_off("mvrp", *argv); in vlan_parse_opt()
137 return on_off("loose_binding", *argv); in vlan_parse_opt()
Diplink.c127 static int on_off(const char *msg, const char *realval) in on_off() function
447 return on_off("spoofchk", *argv); in iplink_parse_vf()
461 return on_off("query_rss", *argv); in iplink_parse_vf()
653 return on_off("multicast", *argv); in iplink_parse()
663 return on_off("allmulticast", *argv); in iplink_parse()
673 return on_off("promisc", *argv); in iplink_parse()
683 return on_off("trailers", *argv); in iplink_parse()
693 return on_off("arp", *argv); in iplink_parse()
703 return on_off("carrier", *argv); in iplink_parse()
756 return on_off("dynamic", *argv); in iplink_parse()
[all …]
/external/selinux/python/semanage/
Dseobject.py2836 on_off = (_("off"), _("on"))
2851 … print("%-30s (%-5s,%5s) %s" % (k, on_off[ddict[k][2]], on_off[ddict[k][0]], self.get_desc(k)))
/external/toybox/toys/pending/
Dip.c508 struct arglist on_off[] = { {"on", 0}, {"off", 1}, {NULL,-1}}; in vlan_parse_opt() local
533 if ((param = substring_to_idx(*argv, on_off)) == -1) help_exit(0); in vlan_parse_opt()