| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/alg.req.mergeable/ |
| H A D | mergeable.compile.pass.cpp | 36 static_assert( std::indirect_strict_weak_order<CompDefault, Input, Input>); 37 static_assert( std::indirect_strict_weak_order<CompInt, Input, Input>); 42 static_assert( std::mergeable<Input, Input, Output>); 43 static_assert( std::mergeable<Input, Input, Output, CompInt>); 44 static_assert( std::mergeable<Input, Input, Output, CompInt, ProjDefault>); 70 static_assert(!std::mergeable<Input, Input, NotWeaklyIncrementable>); 84 static_assert( std::mergeable<Input, Input, OutputOnlyInt>); 91 static_assert( std::mergeable<Input, Input, Output, GoodComp>); 93 static_assert(!std::indirect_strict_weak_order<BadComp, Input, Input>); 94 static_assert(!std::mergeable<Input, Input, Output, BadComp>); [all …]
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | GtestMatchersTest.cpp | 203 std::string Input = R"cc( in TEST() local 212 std::string Input = R"cc( in TEST() local 220 std::string Input = R"cc( in TEST() local 229 std::string Input = R"cc( in TEST() local 238 std::string Input = R"cc( in TEST() local 291 wrapGtest(Input), in TEST() 302 wrapGtest(Input), in TEST() 327 wrapGtest(Input), in TEST() 354 wrapGtest(Input), in TEST() 382 wrapGtest(Input), in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | Compression.cpp | 50 void zlib::compress(ArrayRef<uint8_t> Input, in compress() argument 55 (const Bytef *)Input.data(), Input.size(), Level); in compress() 70 (const Bytef *)Input.data(), Input.size()); in uncompress() 79 Error zlib::uncompress(ArrayRef<uint8_t> Input, in uncompress() argument 92 void zlib::compress(ArrayRef<uint8_t> Input, in compress() argument 100 Error zlib::uncompress(ArrayRef<uint8_t> Input, in uncompress() argument 111 void zstd::compress(ArrayRef<uint8_t> Input, in compress() argument 117 (const char *)Input.data(), Input.size(), Level); in compress() 131 (const uint8_t *)Input.data(), Input.size()); in uncompress() 141 Error zstd::uncompress(ArrayRef<uint8_t> Input, in uncompress() argument [all …]
|
| H A D | YAMLTraits.cpp | 58 Input::Input(StringRef InputContent, void *Ctxt, in Input() function in Input 66 Input::Input(MemoryBufferRef Input, void *Ctxt, in Input() function in Input 74 Input::~Input() = default; 79 void Input::HNode::anchor() {} in anchor() 85 bool Input::outputting() const { in outputting() 109 bool Input::nextDocument() { in nextDocument() 132 void Input::beginMapping() { in beginMapping() 194 void Input::endMapping() { in endMapping() 232 void Input::endSequence() { in endSequence() 293 void Input::endEnumScalar() { in endEnumScalar() [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-yaml-parser-fuzzer/ |
| H A D | yaml-parser-fuzzer.cpp | 22 std::vector<uint8_t> Input(Data, Data + Size); in LLVMFuzzerTestOneInput() local 25 isValidYaml(Input.data(), Input.size()); in LLVMFuzzerTestOneInput() 28 llvm::erase_value(Input, 0); in LLVMFuzzerTestOneInput() 29 Input.shrink_to_fit(); in LLVMFuzzerTestOneInput() 30 bool IsValidWithout0s = isValidYaml(Input.data(), Input.size()); in LLVMFuzzerTestOneInput() 34 Input.push_back(0); in LLVMFuzzerTestOneInput() 35 Input.shrink_to_fit(); in LLVMFuzzerTestOneInput() 36 bool IsValidWhen0Terminated = isValidYaml(Input.data(), Input.size() - 1); in LLVMFuzzerTestOneInput() 40 Input.back() = 1; in LLVMFuzzerTestOneInput() 41 bool IsValidWhen1Terminated = isValidYaml(Input.data(), Input.size() - 1); in LLVMFuzzerTestOneInput()
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | TransformerTest.cpp | 228 testRule(ruleStrlenSize(), Input, Input); in TEST_F() 492 Input, Input); in TEST_F() 526 std::string Input = in TEST_F() local 552 std::string Input = in TEST_F() local 564 std::string Input = in TEST_F() local 593 std::string Input = in TEST_F() local 608 std::string Input = in TEST_F() local 622 std::string Input = in TEST_F() local 1574 testRule(R, Input, Input); in TEST_F() 1588 testRule(ruleStrlenSize(), Input, Input); in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | TransformerClangTidyCheckTest.cpp | 56 const std::string Input = R"cc( in TEST() local 82 std::string Input = "int h() { return 5; }"; in TEST() local 84 EXPECT_EQ(Input, test::runCheckOnCode<DiagOnlyCheck>(Input, &Errors)); in TEST() 104 EXPECT_EQ(Input, in TEST() 125 const std::string Input = R"cc( in TEST() local 151 const std::string Input = R"cc( in TEST() local 181 const std::string Input = "void log() {}"; in TEST() local 182 EXPECT_EQ(Input, in TEST() 207 const std::string Input = "void log(int);"; in TEST() local 238 std::string Input = R"cc( in TEST() local [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | raw_sha1_ostream_test.cpp | 17 static std::string toHex(ArrayRef<uint8_t> Input) { in toHex() argument 19 size_t Length = Input.size(); in toHex() 24 const unsigned char c = Input[i]; in toHex() 40 ArrayRef<uint8_t> Input((const uint8_t *)"Hello World!", 12); in TEST() local 41 std::array<uint8_t, 20> Vec = SHA1::hash(Input); in TEST() 48 std::string Input = "123456789012345678901234567890"; in TEST() local 49 ASSERT_EQ(Input.size(), 30UL); in TEST() 51 sha1.update(Input); in TEST() 52 sha1.update(Input); in TEST() 53 sha1.update(Input); in TEST() [all …]
|
| H A D | CompressionTest.cpp | 26 static void testZlibCompression(StringRef Input, int Level) { in testZlibCompression() argument 29 zlib::compress(arrayRefFromStringRef(Input), Compressed, Level); in testZlibCompression() 32 Error E = zlib::uncompress(Compressed, Uncompressed, Input.size()); in testZlibCompression() 35 EXPECT_EQ(Input, toStringRef(Uncompressed)); in testZlibCompression() 36 if (Input.size() > 0) { in testZlibCompression() 38 E = zlib::uncompress(Compressed, Uncompressed, Input.size() - 1); in testZlibCompression() 65 static void testZstdCompression(StringRef Input, int Level) { in testZstdCompression() argument 68 zstd::compress(arrayRefFromStringRef(Input), Compressed, Level); in testZstdCompression() 71 Error E = zstd::uncompress(Compressed, Uncompressed, Input.size()); in testZstdCompression() 74 EXPECT_EQ(Input, toStringRef(Uncompressed)); in testZstdCompression() [all …]
|
| H A D | YAMLIOTest.cpp | 25 using llvm::yaml::Input; 431 Input yin("---\n" in TEST() 573 Input yin("---\n" in TEST() 2441 Input yin(""); in TEST() 2448 Input yin(""); in TEST() 2679 Input yin(out); in TEST() 2712 Input yin(out); in TEST() 3123 Input yin(","); in TEST() 3159 Input yin("%"); in TEST() 3169 Input yin("&"); in TEST() [all …]
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | global-variable.mlir | 3 // CHECK: spv.GlobalVariable @var0 bind(1, 0) : !spv.ptr<f32, Input> 5 …HECK-NEXT: spv.GlobalVariable @var2 built_in("GlobalInvocationId") : !spv.ptr<vector<3xi32>, Input> 9 spv.GlobalVariable @var0 bind(1, 0) : !spv.ptr<f32, Input> 11 spv.GlobalVariable @var2 {built_in = "GlobalInvocationId"} : !spv.ptr<vector<3xi32>, Input> 12 spv.GlobalVariable @var3 built_in("GlobalInvocationId") : !spv.ptr<vector<3xi32>, Input> 18 // CHECK: spv.GlobalVariable @var1 : !spv.ptr<f32, Input> 19 // CHECK-NEXT: spv.GlobalVariable @var2 initializer(@var1) bind(1, 0) : !spv.ptr<f32, Input> 20 spv.GlobalVariable @var1 : !spv.ptr<f32, Input> 21 spv.GlobalVariable @var2 initializer(@var1) bind(1, 0) : !spv.ptr<f32, Input> 30 %0 = spv.mlir.addressof @globalInvocationID : !spv.ptr<vector<3xi32>, Input> [all …]
|
| H A D | function-call.mlir | 4 spv.GlobalVariable @var1 : !spv.ptr<!spv.array<4xf32>, Input> 7 %1 = spv.mlir.addressof @var1 : !spv.ptr<!spv.array<4xf32>, Input> 10 …// CHECK: spv.FunctionCall @f_1({{%.*}}, {{%.*}}) : (i32, !spv.ptr<!spv.array<4 x f32>, Input>) ->… 11 spv.FunctionCall @f_1(%3, %1) : (i32, !spv.ptr<!spv.array<4xf32>, Input>) -> () 12 …nCall @f_2({{%.*}}) : (!spv.ptr<!spv.array<4 x f32>, Input>) -> !spv.ptr<!spv.array<4 x f32>, Inpu… 13 ….FunctionCall @f_2(%1) : (!spv.ptr<!spv.array<4xf32>, Input>) -> !spv.ptr<!spv.array<4xf32>, Input> 19 spv.func @f_1(%arg0 : i32, %arg1 : !spv.ptr<!spv.array<4xf32>, Input>) -> () "None" { 22 …spv.func @f_2(%arg0 : !spv.ptr<!spv.array<4xf32>, Input>) -> !spv.ptr<!spv.array<4xf32>, Input> "N… 23 spv.ReturnValue %arg0 : !spv.ptr<!spv.array<4xf32>, Input>
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Action.cpp | 183 : Action(BindArchClass, Input), ArchName(ArchName) {} in BindArchAction() 323 : Action(Kind, Input, Type) {} in JobAction() 340 : JobAction(Kind, Input, OutputType) { in PrecompileJobAction() 359 : JobAction(AnalyzeJobClass, Input, OutputType) {} in AnalyzeJobAction() 364 : JobAction(MigrateJobClass, Input, OutputType) {} in MigrateJobAction() 369 : JobAction(CompileJobClass, Input, OutputType) {} in CompileJobAction() 374 : JobAction(BackendJobClass, Input, OutputType) {} in BackendJobAction() 379 : JobAction(AssembleJobClass, Input, OutputType) {} in AssembleJobAction() 405 : JobAction(Kind, Input, Type) { in VerifyJobAction() 419 : VerifyJobAction(VerifyPCHJobClass, Input, Type) {} in VerifyPCHJobAction() [all …]
|
| /llvm-project-15.0.7/clang/lib/Tooling/Transformer/ |
| H A D | Parsing.cpp | 42 StringRef Input; member 145 S.Input = S.Input.drop_front(N); in advance() 156 State.Input = consumeWhitespace(State.Input); in parseChar() 157 if (State.Input.empty() || State.Input.front() != c) in parseChar() 165 State.Input = consumeWhitespace(State.Input); in parseId() 166 auto Id = State.Input.take_while( in parseId() 176 State.Input = consumeWhitespace(State.Input); in parseStringId() 177 if (State.Input.empty()) in parseStringId() 268 ParseState State = {Input, Input}; in parseRangeSelector() 274 State.Input = consumeWhitespace(State.Input); in parseRangeSelector() [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Transforms/ |
| H A D | abi-load-store.mlir | 65 %1 = spv.Load "Input" %0 : vector<3xi32> 68 %4 = spv.Load "Input" %3 : vector<3xi32> 71 %7 = spv.Load "Input" %6 : vector<3xi32> 74 %10 = spv.Load "Input" %9 : vector<3xi32> 77 %13 = spv.Load "Input" %12 : vector<3xi32> 80 %16 = spv.Load "Input" %15 : vector<3xi32> 83 %19 = spv.Load "Input" %18 : vector<3xi32> 86 %22 = spv.Load "Input" %21 : vector<3xi32> 89 %25 = spv.Load "Input" %24 : vector<3xi32> 92 %28 = spv.Load "Input" %27 : vector<3xi32> [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | TestWorkspace.cpp | 18 for (const auto &Input : Inputs) { in index() local 19 if (!Input.second.IsMainFile) in index() 21 TU.Code = Input.second.Code; in index() 22 TU.Filename = Input.first().str(); in index() 25 Index->updatePreamble(testPath(Input.first()), "null", Ctx, PP, in index() 29 Index->updateMain(testPath(Input.first()), MainAST); in index() 46 const SourceFile &Input) { in addInput() argument 47 Inputs.insert(std::make_pair(Filename, Input)); in addInput() 48 TU.AdditionalFiles.insert(std::make_pair(Filename, Input.Code)); in addInput()
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Action.h | 136 Action(ActionClass Kind, Action *Input, types::ID Type) in Action() argument 137 : Action(Kind, ActionList({Input}), Type) {} in Action() 138 Action(ActionClass Kind, Action *Input) in Action() argument 139 : Action(Kind, ActionList({Input}), Input->getType()) {} in Action() 231 const llvm::opt::Arg &Input; variable 257 BindArchAction(Action *Input, StringRef ArchName); 448 void addModuleHeaderInput(Action *Input) { in addModuleHeaderInput() argument 449 getInputs().push_back(Input); in addModuleHeaderInput() 465 void addHeaderInput(Action *Input) { getInputs().push_back(Input); } in addHeaderInput() argument 594 VerifyPCHJobAction(Action *Input, types::ID Type); [all …]
|
| /llvm-project-15.0.7/clang/unittests/Rewrite/ |
| H A D | RewriteBufferTest.cpp | 39 StringRef Input = "hello world"; in TEST() local 43 Buf.Initialize(Input); in TEST() 45 size_t Pos = Input.find(RemoveStr); in TEST() 49 Pos = Input.find(TagStr); in TEST() 57 StringRef Input = "def\n" in TEST() local 61 Buf.Initialize(Input); in TEST() 91 Buf.RemoveText(Input.find(RemoveStr0), RemoveStr0.size(), in TEST() 108 Buf.RemoveText(Input.find(RemoveStr1), RemoveStr1.size()); in TEST()
|
| /llvm-project-15.0.7/clang/tools/clang-offload-bundler/ |
| H A D | ClangOffloadBundler.cpp | 396 StringRef FC = Input.getBuffer(); in ReadHeader() 477 StringRef FC = Input.getBuffer(); in ReadBundle() 531 OS.write(Input.getBufferStart(), Input.getBufferSize()); in WriteBundle() 645 Content = StringRef(Input.getBufferStart(), Input.getBufferSize()); in ReadBundle() 842 OS << Input.getBuffer(); in WriteBundle() 955 auto Input = InputBuffers.begin(); in BundleFiles() local 963 ++Input; in BundleFiles() 980 CreateFileHandler(Input); in ListBundleIDsInFile() 986 return FH->listBundleIDs(Input); in ListBundleIDsInFile() 1001 CreateFileHandler(Input); in UnbundleFiles() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | StringExtras.h | 59 return StringRef(reinterpret_cast<const char *>(Input.begin()), Input.size()); in toStringRef() 64 return {Input.bytes_begin(), Input.bytes_end()}; in arrayRefFromStringRef() 172 const size_t Length = Input.size(); in toHex() 176 const uint8_t c = Input[i]; in toHex() 184 toHex(Input, LowerCase, Output); 221 if (Input.empty()) in tryGetFromHex() 226 Output.resize((Input.size() + 1) / 2); in tryGetFromHex() 228 if (Input.size() % 2 == 1) { in tryGetFromHex() 233 Input = Input.drop_front(); in tryGetFromHex() 239 size_t InputSize = Input.size(); in tryGetFromHex() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/algorithms/ |
| H A D | robust_against_proxy_iterators_lifetime_bugs.pass.cpp | 551 class Input { class 579 std::array<Input<T>, 8> result = { in get_simple_in() 580 Input<T>({std::array<T, 0>{ }}), in get_simple_in() 581 Input<T>({std::array<T, 1>{ T{1} }}), in get_simple_in() 582 Input<T>({std::array<T, 1>{ T{-1} }}), in get_simple_in() 596 std::array<Input<T>, 8> result = { in get_sorted_in() 597 Input<T>({std::array<T, 0>{ }}), in get_sorted_in() 598 Input<T>({std::array<T, 1>{ T{1} }}), in get_sorted_in() 614 std::array<Input<T>, 8> result = { in get_sort_test_in() 615 Input<T>({std::array<T, 0>{ }}), in get_sort_test_in() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | Compression.h | 33 void compress(ArrayRef<uint8_t> Input, 37 Error uncompress(ArrayRef<uint8_t> Input, uint8_t *UncompressedBuffer, 40 Error uncompress(ArrayRef<uint8_t> Input, 55 void compress(ArrayRef<uint8_t> Input, 59 Error uncompress(ArrayRef<uint8_t> Input, uint8_t *UncompressedBuffer, 62 Error uncompress(ArrayRef<uint8_t> Input,
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | module_file_info.m | 48 // CHECK: Input file: {{.*}}DependsOnModulePrivate.h 49 // CHECK-NEXT: Input file: {{.*}}Other.h 50 // CHECK-NEXT: Input file: {{.*}}SubFramework.h 51 // CHECK-NEXT: Input file: {{.*}}not_coroutines.h 52 // CHECK-NEXT: Input file: {{.*}}not_cxx.h 53 // CHECK-NEXT: Input file: {{.*}}other.h 54 // CHECK-NEXT: Input file: {{.*}}module.map 55 // CHECK-NEXT: Input file: {{.*}}DependsOnModule.h 56 // CHECK-NEXT: Input file: {{.*}}module_private.map 57 // CHECK-NEXT: Input file: {{.*}}module.map
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | IntrinsicsRISCV.td | 190 // Input: (pointer, vl) 199 // Input: (passthru, pointer, vl) 209 // Input: (passthru, pointer, vl) 292 // Input: (vector_in, pointer, vl) 757 // Input: (vector_in, vl) 766 // Input: (vector_in, mask, vl) 793 // Input: (vector_in, vl) 811 // Input: (vl) 818 // Input: (passthru, vl) 949 // Input: (value, pointer, vl) [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-yaml-numeric-parser-fuzzer/ |
| H A D | yaml-numeric-parser-fuzzer.cpp | 40 std::string Input(reinterpret_cast<const char *>(Data), Size); in LLVMFuzzerTestOneInput() 41 llvm::erase_value(Input, 0); in LLVMFuzzerTestOneInput() 42 if (!Input.empty() && llvm::yaml::isNumeric(Input) != isNumericRegex(Input)) in LLVMFuzzerTestOneInput()
|