/llvm-project/llvm/lib/Support/ |
H A D | ConvertUTF.cpp | 164 const UTF32* source = *sourceStart; in ConvertUTF32toUTF16() local 166 while (source < sourceEnd) { in ConvertUTF32toUTF16() 171 ch = *source++; in ConvertUTF32toUTF16() 176 --source; /* return to the illegal value itself */ in ConvertUTF32toUTF16() 194 --source; /* Back up source pointer! */ in ConvertUTF32toUTF16() 202 *sourceStart = source; in ConvertUTF32toUTF16() 213 const UTF16* source = *sourceStart; in ConvertUTF16toUTF32() local 216 while (source < sourceEnd) { in ConvertUTF16toUTF32() 217 … const UTF16* oldSource = source; /* In case we have to back up because of target overflow. */ in ConvertUTF16toUTF32() 218 ch = *source++; in ConvertUTF16toUTF32() [all …]
|
/llvm-project/flang/include/flang/Runtime/ |
H A D | reduction.h | 49 std::int8_t RTDECL(SumInteger1)(const Descriptor &, const char *source, 51 std::int16_t RTDECL(SumInteger2)(const Descriptor &, const char *source, 53 std::int32_t RTDECL(SumInteger4)(const Descriptor &, const char *source, 55 std::int64_t RTDECL(SumInteger8)(const Descriptor &, const char *source, 58 common::int128_t RTDECL(SumInteger16)(const Descriptor &, const char *source, 61 std::uint8_t RTDECL(SumUnsigned1)(const Descriptor &, const char *source, 63 std::uint16_t RTDECL(SumUnsigned2)(const Descriptor &, const char *source, 65 std::uint32_t RTDECL(SumUnsigned4)(const Descriptor &, const char *source, 67 std::uint64_t RTDECL(SumUnsigned8)(const Descriptor &, const char *source, 70 common::uint128_t RTDECL(SumUnsigned16)(const Descriptor &, const char *source, [all...] |
H A D | reduce.h | 44 ReferenceReductionOperation<std::int8_t>, const char *source, int line, 48 ValueReductionOperation<std::int8_t>, const char *source, int line, 52 ReferenceReductionOperation<std::int8_t>, const char *source, int line, 56 ValueReductionOperation<std::int8_t>, const char *source, int line, int dim, 60 ReferenceReductionOperation<std::int16_t>, const char *source, int line, 64 ValueReductionOperation<std::int16_t>, const char *source, int line, 68 ReferenceReductionOperation<std::int16_t>, const char *source, int line, 72 ValueReductionOperation<std::int16_t>, const char *source, int line, 76 ReferenceReductionOperation<std::int32_t>, const char *source, int line, 80 ValueReductionOperation<std::int32_t>, const char *source, in [all...] |
/llvm-project/clang/test/Index/ |
H A D | usrs.m | 103 // RUN: c-index-test -test-load-source-usrs all -target x86_64-apple-macosx10.7 %s -isystem %S/Inputs | FileCheck %s 173 // RUN: c-index-test -test-load-source all %s -isystem %S/Inputs | FileCheck -check-prefix=CHECK-source %s 174 // CHECK-source: usrs-system.h:1:9: macro definition=MACRO_FROM_SYSTEM_HEADER_1 Extent=[1:9 - 1:40] 175 // CHECK-source: usrs.m:94:9: macro definition=MACRO1 Extent=[94:9 - 94:19] 176 // CHECK-source: usrs.m:96:9: macro definition=MACRO2 Extent=[96:9 - 96:19] 177 // CHECK-source: usrs.m:98:9: macro definition=MACRO2 Extent=[98:9 - 98:19] 178 // CHECK-source: usrs.m:100:9: macro definition=MACRO3 Extent=[100:9 - 100:25] 179 // CHECK-source: usrs.m:101:9: macro definition=MACRO3 Extent=[101:9 - 101:25] 180 // CHECK-source [all...] |
/llvm-project/llvm/utils/gn/secondary/lldb/source/Plugins/ |
H A D | BUILD.gn | 7 # lldb/source/Plugins/CMakeList.txt then does string munging on the list of 14 "//lldb/source/Plugins/ABI/X86", 20 "//lldb/source/Plugins/Architecture/PPC64", 24 "//lldb/source/Plugins/Disassembler/LLVMC", 28 "//lldb/source/Plugins/DynamicLoader/Darwin-Kernel", 32 "//lldb/source/Plugins/DynamicLoader/MacOSX-DYLD", 36 "//lldb/source/Plugins/DynamicLoader/POSIX-DYLD", 40 "//lldb/source/Plugins/DynamicLoader/Static", 44 "//lldb/source/Plugins/DynamicLoader/Windows-DYLD", 48 "//lldb/source/Plugins/Instruction/ARM", [all …]
|
/llvm-project/flang/runtime/ |
H A D | reduce.cpp | 113 ReferenceReductionOperation<std::int8_t> operation, const char *source, in RTDEF() 116 Terminator terminator{source, line}; in RTDEF() 117 return GetTotalReduction<TypeCategory::Integer, 1>(array, source, line, dim, in RTDEF() 124 ValueReductionOperation<std::int8_t> operation, const char *source, in RTDEF() 127 Terminator terminator{source, line}; in RTDEF() 128 return GetTotalReduction<TypeCategory::Integer, 1>(array, source, line, dim, in RTDEF() 135 ReferenceReductionOperation<std::int8_t> operation, const char *source, in RTDEF() 138 Terminator terminator{source, line}; in RTDEF() 145 ValueReductionOperation<std::int8_t> operation, const char *source, in RTDEF() 148 Terminator terminator{source, lin in RTDEF() [all...] |
H A D | extrema.cpp | 121 Descriptor &result, const Descriptor &x, int kind, const char *source, in DoMaxOrMinLoc() argument 124 Terminator terminator{source, line}; in DoMaxOrMinLoc() 137 const Descriptor &x, int kind, const char *source, int line, in operator ()() 140 intrinsic, result, x, kind, source, line, mask, back); in operator ()() 147 Descriptor &result, const Descriptor &x, int kind, const char *source, in CharacterMaxOrMinLoc() argument 154 Terminator terminator{source, line}; in CharacterMaxOrMinLoc() 165 void>(catKind->second, terminator, intrinsic, result, x, kind, source, in CharacterMaxOrMinLoc() 176 Descriptor &result, const Descriptor &x, int kind, const char *source, in TotalNumericMaxOrMinLoc() argument 183 Terminator terminator{source, line}; in TotalNumericMaxOrMinLoc() 191 intrinsic, result, x, kind, source, lin in TotalNumericMaxOrMinLoc() 358 TypedPartialMaxOrMinLoc(const char * intrinsic,Descriptor & result,const Descriptor & x,int kind,int dim,const char * source,int line,const Descriptor * mask,bool back) TypedPartialMaxOrMinLoc() argument 468 TotalNumericMaxOrMin(const Descriptor & x,const char * source,int line,int dim,const Descriptor * mask,const char * intrinsic) TotalNumericMaxOrMin() argument 488 NumericMaxOrMin(Descriptor & result,const Descriptor & x,int dim,const char * source,int line,const Descriptor * mask,const char * intrinsic) NumericMaxOrMin() argument 564 CharacterMaxOrMin(Descriptor & result,const Descriptor & x,int dim,const char * source,int line,const Descriptor * mask,const char * intrinsic) CharacterMaxOrMin() argument [all...] |
H A D | reduction.cpp | 13 // source files. 87 const char *source, int line, int dim, const Descriptor *mask) { in RTDEF() 88 return GetTotalReduction<TypeCategory::Integer, 1>(x, source, line, dim, mask, in RTDEF() 93 const char *source, int line, int dim, const Descriptor *mask) { in RTDEF() 94 return GetTotalReduction<TypeCategory::Integer, 2>(x, source, line, dim, mask, in RTDEF() 99 const char *source, int line, int dim, const Descriptor *mask) { in RTDEF() 100 return GetTotalReduction<TypeCategory::Integer, 4>(x, source, line, dim, mask, in RTDEF() 105 const char *source, int line, int dim, const Descriptor *mask) { in RTDEF() 106 return GetTotalReduction<TypeCategory::Integer, 8>(x, source, line, dim, mask, 112 const char *source, in in RTDEF() 235 GetTotalLogicalReduction(const Descriptor & x,const char * source,int line,int dim,ACCUMULATOR && accumulator,const char * intrinsic) GetTotalLogicalReduction() argument [all...] |
H A D | ISO_Fortran_binding.cpp | 146 RT_API_ATTRS int CFI_section(CFI_cdesc_t *result, const CFI_cdesc_t *source, in CFI_section() argument 153 if (!result || !source) { in CFI_section() 156 if (source->rank == 0) { in CFI_section() 159 if (IsAssumedSize(source) && !upper_bounds) { in CFI_section() 162 if (runtime::TypeCode{result->type} != runtime::TypeCode{source->type}) { in CFI_section() 165 if (source->elem_len != result->elem_len) { in CFI_section() 171 if (!source->base_addr) { in CFI_section() 175 char *shiftedBaseAddr{static_cast<char *>(source->base_addr)}; in CFI_section() 177 for (int j{0}; j < source->rank; ++j) { in CFI_section() 178 const CFI_dim_t &dim{source->dim[j]}; in CFI_section() [all …]
|
H A D | product.cpp | 65 const char *source, int line, int dim, const Descriptor *mask) { 66 return GetTotalReduction<TypeCategory::Integer, 1>(x, source, line, dim, mask, 71 const char *source, int line, int dim, const Descriptor *mask) { 72 return GetTotalReduction<TypeCategory::Integer, 2>(x, source, line, dim, mask, 77 const char *source, int line, int dim, const Descriptor *mask) { 78 return GetTotalReduction<TypeCategory::Integer, 4>(x, source, line, dim, mask, 83 const char *source, int line, int dim, const Descriptor *mask) { 84 return GetTotalReduction<TypeCategory::Integer, 8>(x, source, line, dim, mask, 90 const Descriptor &x, const char *source, int line, int dim, 92 return GetTotalReduction<TypeCategory::Integer, 16>(x, source, lin [all...] |
H A D | sum.cpp | 105 const char *source, int line, int dim, const Descriptor *mask) { in RTDEF() 106 return GetTotalReduction<TypeCategory::Integer, 1>(x, source, line, dim, mask, in RTDEF() 110 const char *source, int line, int dim, const Descriptor *mask) { in RTDEF() 111 return GetTotalReduction<TypeCategory::Integer, 2>(x, source, line, dim, mask, in RTDEF() 115 const char *source, int line, int dim, const Descriptor *mask) { in RTDEF() 116 return GetTotalReduction<TypeCategory::Integer, 4>(x, source, line, dim, mask, in RTDEF() 120 const char *source, int line, int dim, const Descriptor *mask) { in RTDEF() 121 return GetTotalReduction<TypeCategory::Integer, 8>(x, source, line, dim, mask, in RTDEF() 126 const char *source, int line, int dim, const Descriptor *mask) { in RTDEF() 127 return GetTotalReduction<TypeCategory::Integer, 16>(x, source, lin in RTDEF() [all...] |
H A D | dot-product.cpp | 141 const char *source, int line) const { 142 Terminator terminator{source, line}; in operator ()() 161 const Descriptor &x, const Descriptor &y, const char *source, int line) { in operator ()() 162 return DotProduct<TypeCategory::Integer, 1>{}(x, y, source, line); 165 const Descriptor &x, const Descriptor &y, const char *source, int line) { 166 return DotProduct<TypeCategory::Integer, 2>{}(x, y, source, line); 169 const Descriptor &x, const Descriptor &y, const char *source, int line) { in RTDEF() 170 return DotProduct<TypeCategory::Integer, 4>{}(x, y, source, line); in RTDEF() 173 const Descriptor &x, const Descriptor &y, const char *source, int line) { in RTDEF() 174 return DotProduct<TypeCategory::Integer, 8>{}(x, y, source, lin in RTDEF() [all...] |
/llvm-project/flang/test/Semantics/ |
H A D | allocate09.f90 | 64 allocate(x1, x2(10), source=srcx) 65 allocate(x2(10), source=srcx_array) 67 allocate(param_ca_4_2, source=src_b_4_2_8_3) 69 allocate(param_ca_4_2, source=src_b_4_def_8_3) ! no C935 equivalent for source-expr 70 allocate(param_ta_4_assumed, param_ca_4_assumed, source=src_a_4_def) 72 …allocate(param_ta_4_assumed, param_ca_4_assumed, source=src_a_4_2) ! no C935 equivalent for source… 74 allocate(param_ta_4_deferred, param_ca_4_deferred, source =src_a_4_2) 77 allocate(extended2, source=src_c_4_5_5_6_8_8) 80 allocate(param_defaulted, source=WithParam(k1=1)(x=5)) 82 allocate(whatever, source=src_c_1_2_5_6_5_8) [all …]
|
/llvm-project/llvm/utils/gn/secondary/lldb/tools/lldb-server/ |
H A D | BUILD.gn | 18 "//lldb/source/Host", 19 "//lldb/source/Initialization", 20 "//lldb/source/Plugins/Instruction/ARM", 21 "//lldb/source/Version", 23 #"//lldb/source/Plugins/Instruction/MIPS", # XXX 24 #"//lldb/source/Plugins/Instruction/MIPS64", # XXX 28 # Dep of //lldb/source/Core, but omitted there due to a 30 "//lldb/source/Plugins/Language/CPlusPlus", 34 deps += [ "//lldb/source/Plugins/Process/Linux" ] 36 deps += [ "//lldb/source/Plugin [all...] |
/llvm-project/utils/bazel/llvm-project-overlay/lldb/ |
H A D | BUILD.bazel | 11 load("//lldb/source/Plugins:plugin_config.bzl", "DEFAULT_PLUGINS", "DEFAULT_SCRIPT_PLUGINS", "OBJCPP_COPTS") 23 "source/API/liblldb-private.exports", 24 "source/API/liblldb.exports", 89 "source/Version/Version.cpp", 207 "source/API/**/*.cpp", 208 "source/API/**/*.h", 228 "//lldb/source/Plugins:PluginExpressionParserClang", 229 "//lldb/source/Plugins:PluginExpressionParserClangHeaders", 230 "//lldb/source/Plugins:PluginsConfig", 237 "//lldb/source/Plugin [all...] |
/llvm-project/lldb/unittests/Symbol/ |
H A D | TestClangASTImporter.cpp | 44 clang_utils::SourceASTWithRecord source; in TEST_F() 52 importer.CopyDecl(&target_ast->getASTContext(), source.record_decl); in TEST_F() 57 EXPECT_EQ(source.record_decl->getQualifiedNameAsString(), in TEST_F() 65 EXPECT_EQ(origin.ctx, &source.ast->getASTContext()); in TEST_F() 66 EXPECT_EQ(origin.decl, source.record_decl); in TEST_F() 71 clang_utils::SourceASTWithRecord source; in TEST_F() 78 CompilerType imported = importer.CopyType(*target_ast, source.record_type); in TEST_F() 83 EXPECT_EQ(source.record_decl->getQualifiedNameAsString(), in TEST_F() 92 EXPECT_EQ(origin.ctx, &source.ast->getASTContext()); in TEST_F() 93 EXPECT_EQ(origin.decl, source in TEST_F() 43 clang_utils::SourceASTWithRecord source; TEST_F() local 70 clang_utils::SourceASTWithRecord source; TEST_F() local 128 clang_utils::SourceASTWithRecord source; TEST_F() local 152 clang_utils::SourceASTWithRecord source; TEST_F() local 176 clang_utils::SourceASTWithRecord source; TEST_F() local 200 clang_utils::SourceASTWithRecord source; TEST_F() local 230 clang_utils::SourceASTWithRecord source; TEST_F() local 255 clang_utils::SourceASTWithRecord source; TEST_F() local [all...] |
/llvm-project/clang/test/OpenMP/ |
H A D | ordered_messages.cpp | 136 …#pragma omp ordered doacross(source:omp_cur_iteration) // expected-error {{OpenMP constructs may n… in foo() 138 …#pragma omp ordered depend(source) // expected-error {{OpenMP constructs may not be nested inside … in foo() 144 …#pragma omp ordered doacross(source:) // omp52-error {{'ordered' directive with 'doacross' clause … in foo() 147 …#pragma omp ordered depend(source) // expected-error {{'ordered' directive with 'depend' clause ca… in foo() 157 #pragma omp ordered doacross(source // omp52-warning {{missing ':' or ')' after dependence-type - i… in foo() 165 #pragma omp ordered doacross(source:omp_cur_iteration - 1) // omp52-error {{'doacross source:' must… in foo() 166 #pragma omp ordered doacross(source:) in foo() 168 #pragma omp ordered doacross(source:) // omp52-error {{'#pragma omp ordered' with 'doacross' clause… in foo() 173 #pragma omp ordered doacross(source:) threads // omp52-error {{'doacross' clauses cannot be mixed w… in foo() 174 #pragma omp ordered simd doacross(source:) // omp52-error {{'doacross' clauses cannot be mixed with… in foo() [all …]
|
/llvm-project/flang/examples/FlangOmpReport/ |
H A D | FlangOmpReportVisitor.cpp | 62 return parsing->allCooked().GetSourcePositionRange(o.source)->first; in getLocation() 70 return parsing->allCooked().GetSourcePositionRange(c.source)->first; in getLocation() 73 // OpenMPBlockConstruct, OpenMPCriticalConstruct Get the source from in getLocation() 76 const CharBlock &source{std::get<0>(c.t).source}; in getLocation() 77 return (parsing->allCooked().GetSourcePositionRange(source))->first; in getLocation() 82 const CharBlock &source{std::get<Verbatim>(o.t).source}; in getLocation() 84 .GetSourcePositionRange(source) in getLocation() 90 const CharBlock &source{ in getLocation() 75 const CharBlock &source{std::get<0>(c.t).source}; getLocation() local 81 const CharBlock &source{std::get<Verbatim>(o.t).source}; getLocation() local 89 const CharBlock &source{c.source}; getLocation() local 106 const CharBlock &source{std::get<Verbatim>(o.t).source}; getName() local 118 const CharBlock &source{std::get<0>(c.t).source}; getName() local 124 const CharBlock &source{std::get<0>(c.t).source}; getName() local 128 const CharBlock &source{std::get<0>(c.t).source}; getName() local 132 const CharBlock &source{std::get<0>(c.t).source}; getName() local 139 const CharBlock &source{std::get<Verbatim>(c.t).source}; getName() local 153 const CharBlock &source{std::get<0>(std::get<0>(c.t).t).source}; getName() local [all...] |
/llvm-project/llvm/utils/gn/secondary/lldb/tools/lldb-test/ |
H A D | BUILD.gn | 7 "//lldb/source/Breakpoint", 8 "//lldb/source/Core", 9 "//lldb/source/DataFormatters", 10 "//lldb/source/Expression", 11 "//lldb/source/Host", 12 "//lldb/source/Initialization", 13 "//lldb/source/Interpreter", 14 "//lldb/source/Plugins:LldbAllPlugins", 15 "//lldb/source/Symbol", 16 "//lldb/source/Target", [all …]
|
/llvm-project/llvm/test/SymbolRewriter/ |
H A D | rewrite.map | 2 source: source_function, 7 source: source_variable, 12 source: source_function_(.*), 17 source: source_variable_(.*), 22 source: naked_source_function, 28 source: imported_function, 33 source: missing_global_leader_prefix, 38 source: first_callee, 43 source: _ZN1SC1Ev, 48 source: source_comdat_function, [all …]
|
/llvm-project/clang/test/Analysis/ |
H A D | null-deref-path-notes.c | 14 void f1(char *source) { in f1() argument 16 …memcpy(destination + 0, source, 10); // expected-warning{{Null pointer passed as 1st argument to m… in f1() 20 void f2(char *source) { in f2() argument 22 …memcpy(destination - 0, source, 10); // expected-warning{{Null pointer passed as 1st argument to m… in f2() 26 void f3(char *source) { in f3() argument 29 …memcpy(destination, source, 10); // expected-warning{{Null pointer passed as 1st argument to memor… in f3() 33 void f4(char *source) { in f4() argument 36 …memcpy(destination, source, 10); // expected-warning{{Null pointer passed as 1st argument to memor… in f4() 40 void f5(char *source) { in f5() argument 43 …memcpy(destination2, source, 10); // expected-warning{{Null pointer passed as 1st argument to memo… in f5() [all …]
|
/llvm-project/flang/lib/Semantics/ |
H A D | check-deallocate.cpp | 31 context_.Say(name.source, in Leave() 34 context_.Say(name.source, in Leave() 36 } else if (auto whyNot{WhyNotDefinable(name.source, in Leave() 37 context_.FindScope(name.source), in Leave() 44 .Say(name.source, in Leave() 48 } else if (auto whyNot{WhyNotDefinable(name.source, in Leave() 49 context_.FindScope(name.source), in Leave() 53 .Say(name.source, in Leave() 64 auto source{structureComponent.component.source}; in Leave() 62 auto source{structureComponent.component.source}; Leave() local [all...] |
/llvm-project/libcxx/test/std/thread/thread.stoptoken/stopsource/ |
H A D | cons.copy.pass.cpp | 26 std::stop_source source; in main() 27 std::stop_source copy{source}; in main() local 29 assert(source == copy); in main() 31 assert(source.stop_possible()); in main() 32 assert(!source.stop_requested()); in main() 37 source.request_stop(); in main() 38 assert(source.stop_possible()); in main() 39 assert(source.stop_requested()); in main() 45 // source counter incremented in main() 47 std::optional<std::stop_source> source(st in main() 48 std::optional<std::stop_source> source(std::in_place); main() local [all...] |
/llvm-project/llvm/utils/gn/secondary/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
H A D | BUILD.gn | 9 "//lldb/source/Breakpoint", 10 "//lldb/source/Core", 11 "//lldb/source/Expression", 12 "//lldb/source/Host", 13 "//lldb/source/Interpreter", 14 "//lldb/source/Plugins/ExpressionParser/Clang", 15 "//lldb/source/Plugins/LanguageRuntime/CPlusPlus", 16 "//lldb/source/Symbol", 17 "//lldb/source/Target", 18 "//lldb/source/Utilit [all...] |
/llvm-project/llvm/test/tools/llvm-objdump/X86/ |
H A D | source-interleave-relative-paths.test | 1 ## Test that llvm-objdump prints source and disassembly for relative directory 6 # RUN: cp %p/Inputs/source-interleave-x86_64.c %t/a/source-interleave-x86_64.c 8 # RUN: sed -e "s,SRC_COMPDIR,a,g" %p/Inputs/source-interleave.ll > %t.ll 9 # RUN: sed -e "s,SRC_COMPDIR,,g" %p/Inputs/source-interleave.ll > %t2.ll 10 # RUN: sed -e "s,SRC_COMPDIR,.,g" %p/Inputs/source-interleave.ll > %t3.ll 11 # RUN: sed -e "s,SRC_COMPDIR,..,g" %p/Inputs/source-interleave.ll > %t4.ll 19 # RUN: llvm-objdump --source a/a.o | FileCheck %s --check-prefixes=CHECK,SOURCE 20 # RUN: llvm-objdump --source a/b.o | FileCheck %s --implicit-check-not='main()' 21 # RUN: llvm-objdump --source a/c.o | FileCheck %s --implicit-check-not='main()' 22 # RUN: llvm-objdump --source a/d.o | FileCheck %s --implicit-check-not='main()' [all …]
|