Home
last modified time | relevance | path

Searched refs:random (Results 1 – 25 of 229) sorted by relevance

12345678910

/llvm-project/llvm/test/Analysis/BasicAA/
H A Dnegoffset.ll6 declare ptr @random.i32(ptr %ptr)
7 declare ptr @random.i8(ptr %ptr)
14 %random = call ptr @random.i32(ptr %alloca)
15 %p0 = getelementptr inbounds i32, ptr %random, i32 0
16 %p1 = getelementptr inbounds i32, ptr %random, i32 1
27 %random = call ptr @random.i32(ptr %arg)
28 %p0 = getelementptr inbounds i32, ptr %random, i32 0
29 %p1 = getelementptr inbounds i32, ptr %random, i32 1
38 ; CHECK-DAG: MayAlias: i32* %random, i32* @gv
41 %random = call ptr @random.i32(ptr @gv)
[all …]
/llvm-project/llvm/utils/
H A Dshuffle_select_fuzz_tester.py6 instructions. It generates a function with a random sequnece of shufflevectors
18 import random
236 # Returns a random vector type to be tested
264 num_elts = random.choice(range(2, 65))
268 if random.randint(0, 1):
270 width = random.choice(int_elt_widths)
273 width = random.choice(float_elt_widths)
283 if SHUF_UNDEF_POS / ty.elt_num > random.random():
286 mask.append(random
[all...]
H A Dshuffle_fuzz.py20 import random
60 random.seed(args.seed)
68 (width, element_type) = random.choice(
73 (width, element_type) = random.choice(
79 width = random.choice([2, 4, 8, 16, 32, 64])
80 element_type = random.choice(element_types)
135 if random.random() <= undef_prob
136 else random.choice(range(shuffle_range))
/llvm-project/lld/test/MachO/tools/
H A Dgenerate-cfi-funcs.py8 import random
24 have_lsda = random.random() < lsda_odds
25 frame_size = random.randint(4, 64) * 16
26 frame_offset = -random.randint(0, int(frame_size / 16 - 4)) * 16
28 func_size = random.randint(func_size_low, func_size_high) * 0x10
86 return "".join(random.choice(string.ascii_lowercase) for i in range(10))
129 random.seed(args.seed)
H A Dgenerate-thunkable-program.py8 import random
1340 calls = random.randint(0, size >> 12)
1353 addrs[random.randint(0, len(addrs) - 1)],
1359 % (libSystem_calls[random.randint(0, len(libSystem_calls) - 1)])
1374 return "".join(random.choice(string.ascii_lowercase) for i in range(10))
1380 size = random.randint(0x100, 0x10000) * 0x10
1432 random.seed(args.seed)
/llvm-project/libc/test/src/__support/HashTable/
H A Dgroup_test.cpp37 uintptr_t random = cpp::bit_cast<uintptr_t>(data); in TEST()
40 size_t choice = random % 4; in TEST()
41 random /= 4; in TEST()
70 uintptr_t random = cpp::bit_cast<uintptr_t>(data); in TEST()
79 size_t choice = random % sample_space; in TEST()
80 random /= sizeof(values); in TEST()
31 uintptr_t random; TEST() member
65 uintptr_t random; TEST() member
/llvm-project/clang/utils/VtableTest/
H A Dgen.cc73 int i_bases = random() % (N_BASES*2); in gs()
81 if (random() % 4 == 0) in gs()
91 int base = random() % (s-1) + 1; in gs()
101 if (random()%8 == 0) { in gs()
111 base_protection = random()%8; in gs()
138 int n_fields = N_FIELDS == 0 ? 0 : random() % (N_FIELDS*4); in gs()
143 int t = random() % (sizeof(simple_types) / sizeof(simple_types[0])); in gs()
150 int n_funcs = random() % (N_FUNCS*2); in gs()
155 int fn = old_func + random() % FUNCSPACING + 1; in gs()
159 ret_type = random() % s + 1; in gs()
/llvm-project/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dgenk-timing.py6 import random
138 shouldCallFunc = self.lastFuncNum > 2 and random.random() < self.callWeighting
140 funcToCall = random.randrange(1, self.lastFuncNum - 1)
145 operation = random.choice(possibleOperations)
156 % (LValue, LHS, operation, random.uniform(1, 100))
191 arg1 = random.uniform(1, 100)
192 arg2 = random.uniform(1, 100)
255 random.seed()
/llvm-project/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dgenk-timing.py6 import random
138 shouldCallFunc = self.lastFuncNum > 2 and random.random() < self.callWeighting
140 funcToCall = random.randrange(1, self.lastFuncNum - 1)
145 operation = random.choice(possibleOperations)
156 % (LValue, LHS, operation, random.uniform(1, 100))
191 arg1 = random.uniform(1, 100)
192 arg2 = random.uniform(1, 100)
255 random.seed()
/llvm-project/llvm/examples/Kaleidoscope/MCJIT/complete/
H A Dgenk-timing.py6 import random
148 shouldCallFunc = self.lastFuncNum > 2 and random.random() < self.callWeighting
150 funcToCall = random.randrange(1, self.lastFuncNum - 1)
155 operation = random.choice(possibleOperations)
166 % (LValue, LHS, operation, random.uniform(1, 100))
201 arg1 = random.uniform(1, 100)
202 arg2 = random.uniform(1, 100)
265 random.seed()
/llvm-project/llvm/test/Transforms/Attributor/reduced/
H A Dmissed_cached_entry_for_intra_reachability.ll10 @random = external global i1, align 4
13 ; CHECK: @random = external global i1, align 4
25 ; CHECK-NEXT: [[C1:%.*]] = load volatile i1, ptr @random, align 4
35 ; CHECK-NEXT: [[C2:%.*]] = load volatile i1, ptr @random, align 4
46 ; CHECK-NEXT: [[C3:%.*]] = load volatile i1, ptr @random, align 4
56 ; CHECK-NEXT: [[C4:%.*]] = load volatile i1, ptr @random, align 4
75 %c1 = load volatile i1, ptr @random
89 %c2 = load volatile i1, ptr @random
103 %c3 = load volatile i1, ptr @random
116 %c4 = load volatile i1, ptr @random
[all...]
/llvm-project/compiler-rt/test/BlocksRuntime/
H A Drettypepromotion.c29 if (random()) return LESS; in main()
30 if (random()) return EQUAL; in main()
31 if (random()) return GREATER; in main()
/llvm-project/flang/test/Semantics/
H A Ddosemantics02.f9011 DO CONCURRENT (i = 1:n, random() < 3)
16 IMPURE FUNCTION random() RESULT(i) function
19 END FUNCTION random
/llvm-project/polly/lib/External/isl/imath/tests/gmp-compat-test/
H A DREADME3 This directory contains a random test generator for the gmp
28 $ make TESTS=random.tests
32 random.tests file. The tests can be run by hand using the following
35 $ ./runtest random.tests
53 methodolgy. We want to test both random data and important values such
64 random long values
66 random unsigned long values
98 gendata.py ~~generates~~> random.tests
H A Dgendata.py2 import random
55 sign = random.choice(["", "-"])
58 return sign + gen_digits(random.randint(mindigits, maxdigits))
77 i = random.randint(1, 9)
79 digits = [random.randint(1, 9)] + [
80 random.randint(0, 9) for x in range(length - 1)
324 if random.random() < rate:
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Dmsc51-cpp.rst6 This check flags all pseudo-random number engines, engine adaptor
8 constant expression or any user-configurable type. Pseudo-random number
12 `MSC51-CPP. Ensure your random number generator is properly seeded
13 <https://wiki.sei.cmu.edu/confluence/display/cplusplus/MSC51-CPP.+Ensure+your+random+number+generat…
/llvm-project/libc/config/linux/x86_64/
H A Dexclude.txt3 # Check if sys/random.h is available. If it isn't that implies we're on an older
15 # If we're doing a fullbuild we provide the random header ourselves.
18 libc.src.sys.random.getrandom
/llvm-project/llvm/test/CodeGen/X86/apx/
H A Dkmov-kk.ll7 %gep.random = getelementptr i32, <16 x ptr> %broadcast.splat, <16 x i32> %ind
9 …%gt1 = call <16 x i32> @llvm.masked.gather.v16i32.v16p0(<16 x ptr> %gep.random, i32 4, <16 x i1> %…
10 …%gt2 = call <16 x i32> @llvm.masked.gather.v16i32.v16p0(<16 x ptr> %gep.random, i32 4, <16 x i1> %…
/llvm-project/clang/utils/
H A Dmodfuzz.py8 import random
125 i = random.choice(list(range(len(m))))
144 i = int(random.uniform(0, len(options) + none_opts))
169 d = random.choice([decl for decl in decls if decl.valid(model)])
/llvm-project/libcxx/test/libcxx/transitive_includes/
H A Dcxx03.csv1623 random algorithm
1624 random array
1625 random atomic
1626 random bit
1627 random cctype
1628 random cerrno
1629 random climits
1630 random clocale
1631 random cmath
1632 random compar
[all...]
H A Dcxx11.csv1623 random algorithm
1624 random array
1625 random atomic
1626 random bit
1627 random cctype
1628 random cerrno
1629 random climits
1630 random clocale
1631 random cmath
1632 random compar
[all...]
H A Dcxx14.csv1657 random algorithm
1658 random array
1659 random atomic
1660 random bit
1661 random cctype
1662 random cerrno
1663 random climits
1664 random clocale
1665 random cmath
1666 random compar
[all...]
H A Dcxx17.csv1676 random algorithm
1677 random array
1678 random atomic
1679 random bit
1680 random cctype
1681 random cerrno
1682 random climits
1683 random clocale
1684 random cmath
1685 random compar
[all...]
/llvm-project/clang/test/Analysis/
H A Dsecurity-syntax-checks-no-emit.c19 long random(void);
36 random(); // no-warning in test_rand()
/llvm-project/
H A D.mailmap5 # For example, if you commit as `random.person@example.com` but sometimes use
9 # Rañdom Person <random.person@example.com>
11 # If you commit as both `random.person@example.com` and `ranp@example.com` and
14 # <random.person@example.com> <ranp@example.com>

12345678910