| /llvm-project-15.0.7/llvm/test/Analysis/BasicAA/ |
| H A D | negoffset.ll | 6 declare i32* @random.i32(i32* %ptr) 7 declare i8* @random.i8(i32* %ptr) 14 %random = call i32* @random.i32(i32* %alloca) 27 %random = call i32* @random.i32(i32* %arg) 41 %random = call i32* @random.i32(i32* @gv) 59 %random = call i32* @random.i32(i32* %alloca.i32) 84 %r.i32 = call i32* @random.i32(i32* %alloca.i32) 85 %random = bitcast i32* %r.i32 to %complex* 165 %random = call i8* @random.i8(i32* %alloca) 167 %step = getelementptr i8, i8* %random, i8 4 [all …]
|
| /llvm-project-15.0.7/lld/test/MachO/tools/ |
| H A D | generate-cfi-funcs.py | 8 import random 24 have_lsda = (random.random() < lsda_odds) 25 frame_size = random.randint(4, 64) * 16 26 frame_offset = -random.randint(0, (frame_size/16 - 4)) * 16 28 func_size = random.randint(func_size_low, func_size_high) * 0x10 71 return ''.join(random.choice(string.ascii_lowercase) for i in range(10)) 98 random.seed(args.seed)
|
| H A D | generate-thunkable-program.py | 8 import random 345 calls = random.randint(0, size>>12) 353 addrs[random.randint(0, len(addrs)-1)])) 356 (libSystem_calls[random.randint(0, len(libSystem_calls)-1)])) 366 return ''.join(random.choice(string.ascii_lowercase) for i in range(10)) 371 size = random.randint(0x100, 0x10000) * 0x10 408 random.seed(args.seed)
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | shuffle_select_fuzz_tester.py | 18 import random 244 num_elts = random.choice(range(2, 65)) 248 if random.randint(0,1): 250 width = random.choice(int_elt_widths) 263 if SHUF_UNDEF_POS/ty.elt_num > random.random(): 276 if SEL_UNDEF_POS/ty.elt_num > random.random(): 279 mask.append(random.randint(0, 1)) 305 if random.random() < ADD_SEL_POS: 307 if random.random() < MERGE_SEL_POS: 308 op2 = random.choice(inputs) [all …]
|
| H A D | shuffle_fuzz.py | 20 import random 43 random.seed(args.seed) 51 (width, element_type) = random.choice( 55 (width, element_type) = random.choice( 60 width = random.choice([2, 4, 8, 16, 32, 64]) 61 element_type = random.choice(element_types) 106 shuffle_tree = [[[-1 if random.random() <= undef_prob 107 else random.choice(range(shuffle_range))
|
| /llvm-project-15.0.7/clang/utils/VtableTest/ |
| H A D | gen.cc | 73 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-15.0.7/llvm/examples/Kaleidoscope/MCJIT/complete/ |
| H A D | genk-timing.py | 6 import random 122 shouldCallFunc = (self.lastFuncNum > 2 and random.random() < self.callWeighting) 124 funcToCall = random.randrange(1, self.lastFuncNum - 1) 129 operation = random.choice(possibleOperations) 138 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100))) 172 arg1 = random.uniform(1, 100) 173 arg2 = random.uniform(1, 100) 214 random.seed()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/ |
| H A D | genk-timing.py | 6 import random 117 shouldCallFunc = (self.lastFuncNum > 2 and random.random() < self.callWeighting) 119 funcToCall = random.randrange(1, self.lastFuncNum - 1) 124 operation = random.choice(possibleOperations) 133 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100))) 167 arg1 = random.uniform(1, 100) 168 arg2 = random.uniform(1, 100) 209 random.seed()
|
| /llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/ |
| H A D | genk-timing.py | 6 import random 117 shouldCallFunc = (self.lastFuncNum > 2 and random.random() < self.callWeighting) 119 funcToCall = random.randrange(1, self.lastFuncNum - 1) 124 operation = random.choice(possibleOperations) 133 … self.writeln(" %s = %s %s %f :" % (LValue, LHS, operation, random.uniform(1, 100))) 167 arg1 = random.uniform(1, 100) 168 arg2 = random.uniform(1, 100) 209 random.seed()
|
| /llvm-project-15.0.7/compiler-rt/test/BlocksRuntime/ |
| H A D | rettypepromotion.c | 29 if (random()) return LESS; in main() 30 if (random()) return EQUAL; in main() 31 if (random()) return GREATER; in main()
|
| H A D | recursive-block.c | 22 int i = random(); in dirtyStack() 31 int i = random(); in testFunction()
|
| /llvm-project-15.0.7/flang/test/Semantics/ |
| H A D | dosemantics02.f90 | 11 DO CONCURRENT (i = 1:n, random() < 3) 16 IMPURE FUNCTION random() RESULT(i) function 19 END FUNCTION random
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/tests/gmp-compat-test/ |
| H A D | README | 3 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 D | gendata.py | 2 import random 52 sign = random.choice(["", "-"]) 55 return sign + gen_digits(random.randint(mindigits, maxdigits)) 74 i = random.randint(1, 9) 76 digits = [random.randint(1, 9) 77 ] + [random.randint(0, 9) for x in range(length - 1)] 324 if random.random() < rate:
|
| H A D | Makefile | 4 runtest: imath_test.so gmp_test.so wrappers.py random.tests 22 random.tests: gendata.py
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/ |
| H A D | msc51-cpp.rst | 6 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-15.0.7/ |
| H A D | .mailmap | 5 # For example, if you commit as `random[email protected]` but sometimes use 9 # Rañdom Person <random[email protected]> 11 # If you commit as both `random[email protected]` and `[email protected]` and 14 # <random[email protected]> <[email protected]>
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | security-syntax-checks-no-emit.c | 19 long random(void); 36 random(); // no-warning in test_rand()
|
| /llvm-project-15.0.7/clang/utils/ |
| H A D | modfuzz.py | 8 import random 110 i = random.choice(list(range(len(m)))) 128 i = int(random.uniform(0, len(options) + none_opts)) 148 d = random.choice([decl for decl in decls if decl.valid(model)])
|
| /llvm-project-15.0.7/llvm/test/FileCheck/ |
| H A D | match-full-lines.txt | 23 a random thing 49 // CHECK-NOT:random 51 // ERROR:a random thing
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | missing-lhs-gun-extension.mm | 8 - (int &) random; method 22 const int &y = foo.random ?: x;
|
| /llvm-project-15.0.7/llvm/docs/CommandGuide/ |
| H A D | llvm-stress.rst | 1 llvm-stress - generate random .ll files 14 The :program:`llvm-stress` tool is used to generate random ``.ll`` files that
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | StdSymbolMap.inc | 696 SYMBOL(knuth_b, std::, <random>) 794 SYMBOL(minstd_rand, std::, <random>) 795 SYMBOL(minstd_rand0, std::, <random>) 810 SYMBOL(mt19937, std::, <random>) 811 SYMBOL(mt19937_64, std::, <random>) 915 SYMBOL(random_device, std::, <random>) 920 SYMBOL(ranlux24, std::, <random>) 921 SYMBOL(ranlux24_base, std::, <random>) 922 SYMBOL(ranlux48, std::, <random>) 923 SYMBOL(ranlux48_base, std::, <random>) [all …]
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/tests/ |
| H A D | imath-test.scm | 13 (let ((rnd (random 10))) 54 (let ((ref (+ (random (- num 1)) 1))) 77 (+ (random 34) 2)) 83 (random max-dig))
|
| /llvm-project-15.0.7/bolt/test/X86/ |
| H A D | split-random.s | 1 # Test random function splitting option 5 # RUN: llvm-bolt %t.exe -o %t.out --split-functions --split-random \
|