| /llvm-project-15.0.7/polly/lib/External/isl/imath/tests/ |
| H A D | mod.tc | 3 mod:-52,67,0:15 4 mod:-54090198,1,=1:0 5 mod:-76,427,0:351 7 mod:0,9268611,=2:0 8 mod:0,807,0:0 11 mod:68387,38,0:25 12 mod:822,3971,0:822 14 mod:3339,8463,0:3339 17 mod:768,7974,0:768 21 mod:2427,67,0:15 [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | builtins-hexagon-circ.c | 6 unsigned char test1(int mod, void *start) { in test1() argument 13 unsigned char test2(int mod, void *start) { in test2() argument 20 unsigned short test3(int mod, void *start) { in test3() argument 27 short test4(int mod, void *start) { in test4() argument 34 int test5(int mod, void *start) { in test5() argument 41 long long test6(int mod, void *start) { in test6() argument 48 unsigned char test7(int mod, void *start) { in test7() argument 55 unsigned char test8(int mod, void *start) { in test8() argument 69 short test10(int mod, void *start) { in test10() argument 76 int test11(int mod, void *start) { in test11() argument [all …]
|
| H A D | hexagon-brev-store-elm.c | 9 int *brev_store_elimination_test1(int *ptr, int mod) { in brev_store_elimination_test1() argument 11 return __builtin_brev_ldw(ptr, &dst, mod); in brev_store_elimination_test1() 18 int brev_store_elimination_test2(int *ptr, int mod) { in brev_store_elimination_test2() argument 20 __builtin_brev_ldw(ptr, &dst, mod); in brev_store_elimination_test2() 27 int brev_store_elimination_test3(int *ptr, int mod, int inc) { in brev_store_elimination_test3() argument 30 __builtin_brev_ldw(ptr, &dst, mod); in brev_store_elimination_test3() 42 int brev_store_elimination_test4(int *ptr, int mod) { in brev_store_elimination_test4() argument 44 __builtin_brev_ldw(ptr, &dst, mod); in brev_store_elimination_test4()
|
| /llvm-project-15.0.7/llvm/test/Examples/OrcV2Examples/ |
| H A D | lljit-with-thinlto-summaries.test | 1 # RUN: opt -module-summary %p/Inputs/main-mod.ll -o main-mod.bc 2 # RUN: opt -module-summary %p/Inputs/foo-mod.ll -o foo-mod.bc 3 # RUN: opt -module-summary %p/Inputs/bar-mod.ll -o bar-mod.bc 5 # RUN: llvm-lto -thinlto -o main-foo-bar main-mod.bc foo-mod.bc bar-mod.bc 9 # CHECK: About to load module: main-mod.bc 10 # CHECK: About to load module: foo-mod.bc 11 # CHECK: About to load module: bar-mod.bc
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Support/ |
| H A D | FIRContext.cpp | 20 void fir::setTargetTriple(mlir::ModuleOp mod, llvm::StringRef triple) { in setTargetTriple() argument 22 mod->setAttr(mlir::LLVM::LLVMDialect::getTargetTripleAttrName(), in setTargetTriple() 23 mlir::StringAttr::get(mod.getContext(), target)); in setTargetTriple() 26 llvm::Triple fir::getTargetTriple(mlir::ModuleOp mod) { in getTargetTriple() argument 27 if (auto target = mod->getAttrOfType<mlir::StringAttr>( in getTargetTriple() 37 auto *ctx = mod.getContext(); in setKindMapping() 40 mod->setAttr(defKindName, mlir::StringAttr::get(ctx, defs)); in setKindMapping() 43 fir::KindMapping fir::getKindMapping(mlir::ModuleOp mod) { in getKindMapping() argument 44 auto *ctx = mod.getContext(); in getKindMapping() 45 if (auto defs = mod->getAttrOfType<mlir::StringAttr>(defKindName)) { in getKindMapping() [all …]
|
| /llvm-project-15.0.7/polly/lib/External/isl/imath/ |
| H A D | rsamath.c | 32 static mp_result s_rsa_transform(mp_int msg, mp_int exp, mp_int mod, 55 mp_result rsa_rsaep(mp_int msg, mp_int exp, mp_int mod, mp_int cipher) { in rsa_rsaep() argument 56 return s_rsa_transform(msg, exp, mod, cipher); in rsa_rsaep() 60 mp_result rsa_rsadp(mp_int cipher, mp_int exp, mp_int mod, mp_int msg) { in rsa_rsadp() argument 61 return s_rsa_transform(cipher, exp, mod, msg); in rsa_rsadp() 66 return s_rsa_transform(msg, exp, mod, signature); in rsa_rsasp() 71 return s_rsa_transform(signature, exp, mod, msg); in rsa_rsavp() 76 int rsa_max_message_len(mp_int mod) { in rsa_max_message_len() argument 77 int num_bits = mp_int_count_bits(mod); in rsa_max_message_len() 139 static mp_result s_rsa_transform(mp_int msg, mp_int exp, mp_int mod, in s_rsa_transform() argument [all …]
|
| H A D | rsamath.h | 49 mp_result rsa_rsaep(mp_int msg, mp_int exp, mp_int mod, mp_int cipher); 52 mp_result rsa_rsadp(mp_int cipher, mp_int exp, mp_int mod, mp_int msg); 55 mp_result rsa_rsasp(mp_int msg, mp_int exp, mp_int mod, mp_int signature); 58 mp_result rsa_rsavp(mp_int signature, mp_int exp, mp_int mod, mp_int msg); 62 int rsa_max_message_len(mp_int mod);
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/ |
| H A D | circ_new.ll | 7 define zeroext i8 @test1(i32 %mod, i8* %start) local_unnamed_addr #0 { 21 define zeroext i8 @test2(i32 %mod, i8* %start) local_unnamed_addr #0 { 35 define zeroext i16 @test3(i32 %mod, i8* %start) local_unnamed_addr #0 { 49 define signext i16 @test4(i32 %mod, i8* %start) local_unnamed_addr #0 { 63 define i32 @test5(i32 %mod, i8* %start) local_unnamed_addr #0 { 76 define i64 @test6(i32 %mod, i8* %start) local_unnamed_addr #0 { 89 define zeroext i8 @test7(i32 %mod, i8* %start) local_unnamed_addr #0 { 103 define zeroext i8 @test8(i32 %mod, i8* %start) local_unnamed_addr #0 { 117 define zeroext i16 @test9(i32 %mod, i8* %start) local_unnamed_addr #0 { 145 define i32 @test11(i32 %mod, i8* %start) local_unnamed_addr #0 { [all …]
|
| H A D | brev_ld.ll | 22 define i64* @call_brev_ldd(i64* %ptr, i64 %dst, i32 %mod) local_unnamed_addr #0 { 26 %1 = tail call { i64, i8* } @llvm.hexagon.L2.loadrd.pbr(i8* %0, i32 %mod) 33 define i32* @call_brev_ldw(i32* %ptr, i32 %dst, i32 %mod) local_unnamed_addr #0 { 37 %1 = tail call { i32, i8* } @llvm.hexagon.L2.loadri.pbr(i8* %0, i32 %mod) 44 define i16* @call_brev_ldh(i16* %ptr, i16 signext %dst, i32 %mod) local_unnamed_addr #0 { 48 %1 = tail call { i32, i8* } @llvm.hexagon.L2.loadrh.pbr(i8* %0, i32 %mod) 59 %1 = tail call { i32, i8* } @llvm.hexagon.L2.loadruh.pbr(i8* %0, i32 %mod) 66 define i8* @call_brev_ldb(i8* %ptr, i8 signext %dst, i32 %mod) local_unnamed_addr #0 { 69 %0 = tail call { i32, i8* } @llvm.hexagon.L2.loadrb.pbr(i8* %ptr, i32 %mod) 76 define i8* @call_brev_ldub(i8* %ptr, i8 zeroext %dst, i32 %mod) local_unnamed_addr #0 { [all …]
|
| /llvm-project-15.0.7/flang/tools/f18/ |
| H A D | CMakeLists.txt | 27 set(depends ${FLANG_INTRINSIC_MODULES_DIR}/__fortran_builtins.mod) 29 set(depends ${FLANG_INTRINSIC_MODULES_DIR}/__fortran_type_info.mod) 33 set(depends ${FLANG_INTRINSIC_MODULES_DIR}/__fortran_ieee_exceptions.mod) 36 add_custom_command(OUTPUT ${base}.mod 42 add_custom_command(OUTPUT ${base}.f18.mod 43 DEPENDS ${base}.mod 44 COMMAND ${CMAKE_COMMAND} -E copy ${base}.mod ${base}.f18.mod) 45 list(APPEND MODULE_FILES ${base}.mod ${base}.f18.mod) 46 install(FILES ${base}.mod ${base}.f18.mod DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/flang")
|
| /llvm-project-15.0.7/mlir/test/Transforms/ |
| H A D | memref-bound-check.mlir | 113 // Tests with nested mod's and floordiv's. 120 %idx1 = affine.apply affine_map<(d0, d1) -> ((((d1 mod 128) mod 32) ceildiv 4) * 32)>(%i, %j) 143 %idx1 = affine.apply affine_map<(d0) -> (((d0 mod 147456) mod 1152) floordiv 384)> (%ii) 164 ((((d0 mod 294912) mod 147456) floordiv 1152) floordiv 8)> (%a0) 166 ((((d0 mod 294912) mod 147456) mod 1152) floordiv 384)> (%a0) 168 (((((d0 mod 294912) mod 147456) mod 1152) mod 384) floordiv 128)> (%a0) 170 ((((((d0 mod 294912) mod 147456) mod 1152) mod 384) mod 128) 205 …ap<(d0, d1) -> ((d0 * 72 + d1) floordiv 2304 + ((((d0 * 72 + d1) mod 2304) mod 1152) mod 9) floord… 206 …mod 2304 - (((d0 * 72 + d1) mod 2304) floordiv 1152) * 1151 - ((((d0 * 72 + d1) mod 2304) mod 1152… 207 #map5 = affine_map<(d0, d1) -> (((((d0 * 72 + d1) mod 2304) mod 1152) floordiv 9) floordiv 8)> [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_libignore.cpp | 58 for (const auto &mod : modules) { in OnLibraryLoaded() local 59 for (const auto &range : mod.ranges()) { in OnLibraryLoaded() 62 if (!TemplateMatch(lib->templ, mod.full_name()) && in OnLibraryLoaded() 64 internal_strcmp(lib->real_name, mod.full_name()) == 0)) in OnLibraryLoaded() 69 SanitizerToolName, lib->templ, lib->name, mod.full_name()); in OnLibraryLoaded() 78 lib->templ, mod.full_name()); in OnLibraryLoaded() 80 lib->name = internal_strdup(mod.full_name()); in OnLibraryLoaded() 100 for (const auto &mod : modules) { in OnLibraryLoaded() local 101 if (!mod.instrumented()) in OnLibraryLoaded() 103 for (const auto &range : mod.ranges()) { in OnLibraryLoaded() [all …]
|
| H A D | sanitizer_symbolizer.cpp | 45 void AddressInfo::FillModuleInfo(const LoadedModule &mod) { in FillModuleInfo() argument 46 module = internal_strdup(mod.full_name()); in FillModuleInfo() 47 module_offset = address - mod.base_address(); in FillModuleInfo() 48 module_arch = mod.arch(); in FillModuleInfo() 49 if (mod.uuid_size()) in FillModuleInfo() 50 internal_memcpy(uuid, mod.uuid(), mod.uuid_size()); in FillModuleInfo() 51 uuid_size = mod.uuid_size(); in FillModuleInfo()
|
| /llvm-project-15.0.7/compiler-rt/lib/stats/ |
| H A D | stats.cpp | 65 const LoadedModule *mod = Symbolizer::GetOrInit()->FindModuleForAddress( in WriteModuleReport() local 67 WriteToFile(stats_fd, mod->full_name(), in WriteModuleReport() 68 internal_strlen(mod->full_name()) + 1); in WriteModuleReport() 74 WriteLE(stats_fd, s->addr - mod->base_address()); in WriteModuleReport() 86 unsigned __sanitizer_stats_register(StatModule **mod) { in __sanitizer_stats_register() argument 88 modules.push_back(mod); in __sanitizer_stats_register() 104 for (StatModule **mod : modules) { in WriteFullReport() 105 if (!mod) in WriteFullReport() 107 WriteModuleReport(mod); in WriteFullReport()
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstSimplify/ |
| H A D | rem.ll | 281 ret i32 %mod 303 ret i32 %mod 312 ret i32 %mod 334 ret i32 %mod 369 ret i32 %mod 392 ret i32 %mod 403 ret i32 %mod 414 ret i32 %mod 453 ret i4 %mod 466 ret i8 %mod [all …]
|
| /llvm-project-15.0.7/llvm/bindings/go/llvm/ |
| H A D | ir_test.go | 21 mod := NewModule("") 22 defer mod.Dispose() 25 fn := AddFunction(mod, "foo", ftyp) 28 attr := mod.Context().CreateEnumAttribute(kind, 0) 36 text := mod.String() 98 mod := NewModule("") 99 defer mod.Dispose() 101 ctx := mod.Context() 106 d := NewDIBuilder(mod)
|
| /llvm-project-15.0.7/llvm/examples/BrainF/ |
| H A D | BrainFDriver.cpp | 73 void addMainFunction(Module *mod) { in addMainFunction() argument 76 Type::getInt32Ty(mod->getContext()), in addMainFunction() 77 {Type::getInt32Ty(mod->getContext()), in addMainFunction() 78 Type::getInt8Ty(mod->getContext())->getPointerTo()->getPointerTo()}, in addMainFunction() 81 Function::Create(main_func_fty, Function::ExternalLinkage, "main", mod); in addMainFunction() 92 BasicBlock *bb = BasicBlock::Create(mod->getContext(), "main.0", main_func); in addMainFunction() 96 CallInst *brainf_call = CallInst::Create(mod->getFunction("brainf"), in addMainFunction() 102 ReturnInst::Create(mod->getContext(), in addMainFunction() 103 ConstantInt::get(mod->getContext(), APInt(32, 0)), bb); in addMainFunction()
|
| /llvm-project-15.0.7/polly/test/ScheduleOptimizer/ManualOptimization/ |
| H A D | unroll_double.ll | 46 ; CHECK: - filter: "{ Stmt_body[i0] : (-1 + i0) mod 4 = 0 }" 47 ; CHECK: - filter: "{ Stmt_body[i0] : (2 + i0) mod 4 = 0 }" 48 ; CHECK: - filter: "{ Stmt_body[i0] : (1 + i0) mod 4 = 0 }" 53 ; CHECK: - filter: "{ Stmt_body[i0] : (-1 + i0) mod 4 = 0 }" 54 ; CHECK: - filter: "{ Stmt_body[i0] : (2 + i0) mod 4 = 0 }" 55 ; CHECK: - filter: "{ Stmt_body[i0] : (1 + i0) mod 4 = 0 }" 60 ; CHECK: - filter: "{ Stmt_body[i0] : (-1 + i0) mod 4 = 0 }" 61 ; CHECK: - filter: "{ Stmt_body[i0] : (2 + i0) mod 4 = 0 }" 62 ; CHECK: - filter: "{ Stmt_body[i0] : (1 + i0) mod 4 = 0 }"
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | lto.h | 247 lto_module_dispose(lto_module_t mod); 255 lto_module_get_target_triple(lto_module_t mod); 263 lto_module_set_target_triple(lto_module_t mod, const char *triple); 271 lto_module_get_num_symbols(lto_module_t mod); 279 lto_module_get_symbol_name(lto_module_t mod, unsigned int index); 298 lto_module_get_linkeropts(lto_module_t mod); 311 extern lto_bool_t lto_module_get_macho_cputype(lto_module_t mod, 324 extern lto_bool_t lto_module_has_ctor_dtor(lto_module_t mod); 404 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); 415 lto_codegen_set_module(lto_code_gen_t cg, lto_module_t mod); [all …]
|
| /llvm-project-15.0.7/mlir/test/IR/ |
| H A D | affine-map.mlir | 100 #map24 = affine_map<(i, j)[s0, s1] -> (i, j mod 5)> 152 …ffine_map<(i, j, k) -> (i * 64 ceildiv 64, i * 512 ceildiv 128, 4 * j mod 4, 4*j*4 mod 8, k mod 1)> 156 #map48 = affine_map<(i, j, k) -> (i * 64 floordiv 64, i * 512 floordiv 128, 4 * j mod 4, 4*j*4 mod … 160 …affine_map<(i, j)[s0] -> ( (i * 4 + 8) mod 4, 32 * j * s0 * 8 mod 256, (4*i + (j * (s0 * 2))) mod … 184 …div 4, (4*d0 + 8*d1 + 5) floordiv 2, (2*d0 + 4*d1 + 3) mod 2, (3*d0 - 4) mod 3, (4*d0 + 8*d1) mod … 190 #map58 = affine_map<(d0, d1) -> (4*d0 - 2*d0 + d0, (d0 + d1) + (d0 + d1), 2 * (d0 mod 2) - d0 mod 2… 192 // CHECK: #map{{[0-9]+}} = affine_map<(d0, d1) -> (d0 mod 5, (d1 mod 35) mod 4)> 193 #map59 = affine_map<(d0, d1) -> ((d0 mod 35) mod 5, (d1 mod 35) mod 4)> 206 #map62 = affine_map<(d0, d1)[mod, floordiv] -> (mod floordiv 2 - d0, floordiv mod 3 - d1)> 209 #map63 = affine_map<(d0, d1)[mod, floordiv] -> (floordiv floordiv 2 - d0, mod mod 3 - d1)> [all …]
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | preamble-reparse-changed-module.m | 4 // RUN: mkdir -p %t/mod 6 // RUN: cp %S/Inputs/preamble-reparse-changed-module/module.modulemap %t/mod 7 // RUN: cp %S/Inputs/preamble-reparse-changed-module/head.h %t/mod 9 …XECUTE_COMMAND="cp %S/Inputs/preamble-reparse-changed-module/new-head.h %t/mod/head.h" CINDEXTEST_… 10 // RUN: c-index-test -test-load-source-reparse 3 local %s -I %t -I %t/mod -fmodules -fmodules-c… 15 @import mod;
|
| /llvm-project-15.0.7/flang/unittests/Optimizer/ |
| H A D | FIRContextTest.cpp | 23 mod = mlir::ModuleOp::create(mlir::UnknownLoc::get(&context)); in SetUp() 33 mlir::ModuleOp mod; member 37 setTargetTriple(mod, target); in TEST_F() 38 setKindMapping(mod, *kindMap); in TEST_F() 40 auto triple = getTargetTriple(mod); in TEST_F() 44 auto map = getKindMapping(mod); in TEST_F()
|
| /llvm-project-15.0.7/llvm/tools/lto/ |
| H A D | lto.cpp | 296 void lto_module_dispose(lto_module_t mod) { delete unwrap(mod); } in lto_module_dispose() argument 299 return unwrap(mod)->getTargetTriple().c_str(); in lto_module_get_target_triple() 307 return unwrap(mod)->getSymbolCount(); in lto_module_get_num_symbols() 311 return unwrap(mod)->getSymbolName(index).data(); in lto_module_get_symbol_name() 316 return unwrap(mod)->getSymbolAttributes(index); in lto_module_get_symbol_attribute() 320 return unwrap(mod)->getLinkerOpts().data(); in lto_module_get_linkeropts() 326 LTOModule *M = unwrap(mod); in lto_module_get_macho_cputype() 373 return !unwrap(cg)->addModule(unwrap(mod)); in lto_codegen_add_module() 513 return unwrap(mod)->hasCtorDtor(); in lto_module_has_ctor_dtor() 596 lto_bool_t lto_module_is_thinlto(lto_module_t mod) { in lto_module_is_thinlto() argument [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | rot-01.ll | 13 %mod = urem i32 %amt, 16 15 %inv = sub i32 32, %mod 16 %parta = shl i32 %val, %mod 31 %mod = urem i64 %amt, 32 33 %inv = sub i64 64, %mod 34 %parta = shl i64 %val, %mod
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | pdb-publics-import.test | 29 CHECK-NEXT: SC[.text] | mod = 0, 0001:0000, size = 8, data crc = 0, reloc crc = 0 36 CHECK-NEXT: SC[???] | mod = 65535, 65535:0000, size = -1, data crc = 0, reloc crc = 0 42 CHECK-NEXT: SC[.text] | mod = 2, 0001:0032, size = 6, data crc = 0, reloc crc = 0 48 CHECK-NEXT: SC[???] | mod = 65535, 65535:0000, size = -1, data crc = 0, reloc crc = 0 151 CHECK-NEXT: SC[.text] | mod = 0, 0001:0000, size = 8, data crc = 0, reloc crc = 0 155 CHECK-NEXT: SC[.text] | mod = 3, 0001:0016, size = 6, data crc = 0, reloc crc = 0 158 CHECK-NEXT: SC[.text] | mod = 3, 0001:0032, size = 6, data crc = 0, reloc crc = 0 169 CHECK-NEXT: SC[.rdata] | mod = 3, 0002:0104, size = 8, data crc = 0, reloc crc = 0 171 CHECK-NEXT: SC[.rdata] | mod = 3, 0002:0112, size = 8, data crc = 0, reloc crc = 0 173 CHECK-NEXT: SC[.rdata] | mod = 3, 0002:0120, size = 8, data crc = 0, reloc crc = 0 [all …]
|