| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | SourceMgrTest.cpp | 22 std::string Output; member in __anon7599ec1f0111::SourceMgrTest 56 Output); in TEST_F() 66 Output); in TEST_F() 76 Output); in TEST_F() 86 Output); in TEST_F() 96 Output); in TEST_F() 106 Output); in TEST_F() 116 Output); in TEST_F() 126 Output); in TEST_F() 136 Output); in TEST_F() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/numeric.ops.gcd/ |
| H A D | gcd.pass.cpp | 40 template <typename Input1, typename Input2, typename Output> 47 assert(static_cast<Output>(out) == std::gcd(value1, value2)); in test0() 62 using Output = std::common_type_t<S1, S2>; in do_test() typedef 63 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test() 64 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test() 67 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 73 using Output = std::common_type_t<U1, U2>; in do_test() typedef 74 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test() 75 accumulate &= test0<U2, U1, Output>(TC.x, TC.y, TC.expect); in do_test() 78 using Output = std::common_type_t<S1, U2>; in do_test() typedef [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/numeric.ops/numeric.ops.lcm/ |
| H A D | lcm.pass.cpp | 37 template <typename Input1, typename Input2, typename Output> 44 assert(static_cast<Output>(out) == std::lcm(value1, value2)); in test0() 59 using Output = std::common_type_t<S1, S2>; in do_test() typedef 60 accumulate &= test0<S1, S2, Output>(TC.x, TC.y, TC.expect); in do_test() 61 accumulate &= test0<S1, S2, Output>(-TC.x, TC.y, TC.expect); in do_test() 64 accumulate &= test0<S2, S1, Output>(TC.x, TC.y, TC.expect); in do_test() 70 using Output = std::common_type_t<U1, U2>; in do_test() typedef 71 accumulate &= test0<U1, U2, Output>(TC.x, TC.y, TC.expect); in do_test() 72 accumulate &= test0<U2, U1, Output>(TC.x, TC.y, TC.expect); in do_test() 75 using Output = std::common_type_t<S1, U2>; in do_test() typedef [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/iterators/iterator.requirements/alg.req.mergeable/ |
| H A D | mergeable.compile.pass.cpp | 31 using Output = cpp17_output_iterator<int*>; typedef 32 static_assert( std::weakly_incrementable<Output>); 34 static_assert( std::indirectly_copyable<Input, Output>); 35 static_assert( std::indirectly_copyable<InputLong, Output>); 42 static_assert( std::mergeable<Input, Input, Output>); 43 static_assert( std::mergeable<Input, Input, Output, CompInt>); 58 static_assert(!std::input_iterator<Output>); 59 static_assert(!std::mergeable<Output, Input, Output>); 60 static_assert(!std::mergeable<Input, Output, Output>); 91 static_assert( std::mergeable<Input, Input, Output, GoodComp>); [all …]
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | InstrRefLDVTest.cpp | 2529 EXPECT_EQ(Output.size(), 0ul); in TEST_F() 2536 EXPECT_EQ(Output.size(), 0ul); in TEST_F() 2595 for (auto &Elem : Output) in TEST_F() 2598 Output.resize(4); in TEST_F() 2603 EXPECT_EQ(Output[0].size(), 0ul); in TEST_F() 2604 EXPECT_EQ(Output[1].size(), 0ul); in TEST_F() 2605 EXPECT_EQ(Output[2].size(), 0ul); in TEST_F() 2807 for (auto &Elem : Output) in TEST_F() 2810 Output.resize(3); in TEST_F() 3062 for (auto &Elem : Output) in TEST_F() [all …]
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | TildeExpressionResolver.cpp | 33 StringRef Expr, SmallVectorImpl<char> &Output) { in ResolveExact() argument 39 return !fs::real_path(Expr, Output, true); in ResolveExact() 43 StringSet<> &Output) { in ResolvePartial() argument 49 Output.clear(); in ResolvePartial() 69 Output.insert(Buffer); in ResolvePartial() 77 StringRef Expr, llvm::SmallVectorImpl<char> &Output) { in ResolveFullPath() argument 79 Output.assign(Expr.begin(), Expr.end()); in ResolveFullPath() 87 if (!ResolveExact(Left, Output)) { in ResolveFullPath() 88 Output.assign(Expr.begin(), Expr.end()); in ResolveFullPath() 92 Output.append(Expr.begin() + Left.size(), Expr.end()); in ResolveFullPath()
|
| /llvm-project-15.0.7/bolt/lib/Utils/ |
| H A D | Utils.cpp | 52 std::string Output = Name.str(); in getEscapedName() local 53 for (size_t I = 0; I < Output.size(); ++I) in getEscapedName() 54 if (Output[I] == ' ' || Output[I] == '\\') in getEscapedName() 55 Output.insert(I++, 1, '\\'); in getEscapedName() 57 return Output; in getEscapedName() 61 std::string Output = Name.str(); in getUnescapedName() local 62 for (size_t I = 0; I < Output.size(); ++I) in getUnescapedName() 63 if (Output[I] == '\\') in getUnescapedName() 64 Output.erase(I++, 1); in getUnescapedName() 66 return Output; in getUnescapedName()
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | CheckerRegistration.h | 24 llvm::raw_ostream &Output; variable 27 OnlyWarningsDiagConsumer(llvm::raw_ostream &Output) : Output(Output) {} in OnlyWarningsDiagConsumer() argument 31 Output << PD->getCheckerName() << ": "; in FlushDiagnosticsImpl() 32 Output << PD->getShortDescription() << '\n'; in FlushDiagnosticsImpl() 40 llvm::raw_ostream &Output; variable 43 PathDiagConsumer(llvm::raw_ostream &Output) : Output(Output) {} in PathDiagConsumer() argument 47 Output << PD->getCheckerName() << ": "; in FlushDiagnosticsImpl() 59 Output << Piece->getString() << " | "; in FlushDiagnosticsImpl() 61 Output << PD->getShortDescription() << '\n'; in FlushDiagnosticsImpl()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | YAMLTraits.cpp | 467 Output::Output(raw_ostream &yout, void *context, int WrapColumn) in Output() function in Output 470 Output::~Output() = default; 476 void Output::beginMapping() { in beginMapping() 513 void Output::endMapping() { in endMapping() 562 void Output::endFlowMapping() { in endFlowMapping() 567 void Output::beginDocuments() { in beginDocuments() 580 void Output::endDocuments() { in endDocuments() 591 void Output::endSequence() { in endSequence() 626 void Output::endFlowSequence() { in endFlowSequence() 669 void Output::endEnumScalar() { in endEnumScalar() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Option/ |
| H A D | Arg.cpp | 87 void Arg::renderAsInput(const ArgList &Args, ArgStringList &Output) const { in renderAsInput() 89 render(Args, Output); in renderAsInput() 93 Output.append(Values.begin(), Values.end()); in renderAsInput() 96 void Arg::render(const ArgList &Args, ArgStringList &Output) const { in render() 99 Output.append(Values.begin(), Values.end()); in render() 110 Output.push_back(Args.MakeArgString(OS.str())); in render() 115 Output.push_back(Args.GetOrMakeJoinedArgString( in render() 117 Output.append(Values.begin() + 1, Values.end()); in render() 121 Output.push_back(Args.MakeArgString(getSpelling())); in render() 122 Output.append(Values.begin(), Values.end()); in render()
|
| H A D | ArgList.cpp | 102 A->render(*this, Output); in addOptInFlag() 105 void ArgList::AddAllArgsExcept(ArgStringList &Output, in AddAllArgsExcept() argument 120 Arg->render(*this, Output); in AddAllArgsExcept() 129 void ArgList::AddAllArgs(ArgStringList &Output, in AddAllArgs() argument 132 AddAllArgsExcept(Output, Ids, Exclude); in AddAllArgs() 137 void ArgList::AddAllArgs(ArgStringList &Output, OptSpecifier Id0, in AddAllArgs() argument 141 Arg->render(*this, Output); in AddAllArgs() 150 Output.append(Values.begin(), Values.end()); in AddAllArgValues() 161 Output.push_back(MakeArgString(StringRef(Translation) + in AddAllArgsTranslated() 164 Output.push_back(Translation); in AddAllArgsTranslated() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/TestingSupport/ |
| H A D | MockTildeExpressionResolver.cpp | 39 SmallVectorImpl<char> &Output) { in ResolveExact() argument 40 Output.clear(); in ResolveExact() 48 Output.append(Dir.begin(), Dir.end()); in ResolveExact() 55 Output.append(User.getValue().begin(), User.getValue().end()); in ResolveExact() 62 StringSet<> &Output) { in ResolvePartial() argument 63 Output.clear(); in ResolvePartial() 76 Output.insert(QualifiedName); in ResolvePartial() 79 return !Output.empty(); in ResolvePartial()
|
| /llvm-project-15.0.7/llvm/tools/llvm-tapi-diff/ |
| H A D | DiffEngine.cpp | 194 std::vector<DiffOutput> Output; in getSingleIF() local 195 diffAttribute("Install Name", Output, in getSingleIF() 207 diffAttribute("InstallAPI", Output, in getSingleIF() 229 return Output; in getSingleIF() 316 std::vector<DiffOutput> Output; in findDifferences() local 318 Output.push_back(recordDifferences( in findDifferences() 326 Output.push_back(recordDifferences( in findDifferences() 340 Output.push_back( in findDifferences() 361 Output.push_back( in findDifferences() 383 Output.push_back( in findDifferences() [all …]
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | SPIRV.cpp | 22 const InputInfo &Output, in constructTranslateCommand() argument 30 if (Output.getType() == types::TY_PP_Asm) in constructTranslateCommand() 33 CmdArgs.append({"-o", Output.getFilename()}); in constructTranslateCommand() 38 Exec, CmdArgs, Input, Output)); in constructTranslateCommand() 42 const InputInfo &Output, in ConstructJob() argument 49 constructTranslateCommand(C, *this, JA, Output, Inputs[0], {}); in ConstructJob() 78 const InputInfo &Output, in ConstructJob() argument 88 CmdArgs.push_back(Output.getFilename()); in ConstructJob() 92 Inputs, Output)); in ConstructJob()
|
| H A D | Minix.cpp | 23 const InputInfo &Output, in ConstructJob() argument 33 CmdArgs.push_back(Output.getFilename()); in ConstructJob() 41 Exec, CmdArgs, Inputs, Output)); in ConstructJob() 45 const InputInfo &Output, in ConstructJob() argument 52 if (Output.isFilename()) { in ConstructJob() 54 CmdArgs.push_back(Output.getFilename()); in ConstructJob() 56 assert(Output.isNothing() && "Invalid output."); in ConstructJob() 98 Exec, CmdArgs, Inputs, Output)); in ConstructJob()
|
| H A D | Ananas.cpp | 26 const InputInfo &Output, in ConstructJob() argument 36 CmdArgs.push_back(Output.getFilename()); in ConstructJob() 44 Exec, CmdArgs, Inputs, Output)); in ConstructJob() 48 const InputInfo &Output, in ConstructJob() argument 81 if (Output.isFilename()) { in ConstructJob() 83 CmdArgs.push_back(Output.getFilename()); in ConstructJob() 85 assert(Output.isNothing() && "Invalid output."); in ConstructJob() 109 addLTOOptions(ToolChain, Args, CmdArgs, Output, Inputs[0], in ConstructJob() 134 Exec, CmdArgs, Inputs, Output)); in ConstructJob()
|
| H A D | AIX.cpp | 27 const InputInfo &Output, in ConstructJob() argument 56 assert((Output.isFilename() || Output.isNothing()) && "Invalid output."); in ConstructJob() 57 if (Output.isFilename()) { in ConstructJob() 59 CmdArgs.push_back(Output.getFilename()); in ConstructJob() 74 Exec, CmdArgs, Inputs, Output)); in ConstructJob() 78 const InputInfo &Output, in ConstructJob() argument 123 assert((Output.isFilename() || Output.isNothing()) && "Invalid output."); in ConstructJob() 124 if (Output.isFilename()) { in ConstructJob() 126 CmdArgs.push_back(Output.getFilename()); in ConstructJob() 194 Exec, CmdArgs, Inputs, Output)); in ConstructJob()
|
| H A D | XCore.cpp | 26 const InputInfo &Output, in ConstructJob() argument 34 CmdArgs.push_back(Output.getFilename()); in ConstructJob() 56 Exec, CmdArgs, Inputs, Output)); in ConstructJob() 60 const InputInfo &Output, in ConstructJob() argument 66 if (Output.isFilename()) { in ConstructJob() 68 CmdArgs.push_back(Output.getFilename()); in ConstructJob() 70 assert(Output.isNothing() && "Invalid output."); in ConstructJob() 85 Exec, CmdArgs, Inputs, Output)); in ConstructJob()
|
| /llvm-project-15.0.7/llvm/lib/Demangle/ |
| H A D | RustDemangle.cpp | 91 OutputBuffer Output; member in __anon798090d70111::Demangler 164 std::free(D.Output.getBuffer()); in rustDemangle() 168 D.Output += '\0'; in rustDemangle() 170 return D.Output.getBuffer(); in rustDemangle() 1011 Output += C; in print() 1018 Output += S; in print() 1025 Output << N; in printDecimalNumber() 1068 char *Buffer = Output.getBuffer(); in removeNullBytes() 1081 Output[0] = CodePoint; in encodeUTF8() 1092 Output[0] = 0xE0 | (CodePoint >> 12); in encodeUTF8() [all …]
|
| /llvm-project-15.0.7/llvm/utils/lit/tests/Inputs/shtest-shell/ |
| H A D | rm-unicode-0.txt | 3 # RUN: mkdir -p Output/中文 4 # RUN: echo "" > Output/中文/你好.txt 5 # RUN: rm Output/中文/你好.txt 6 # RUN: echo "" > Output/中文/你好.txt 7 # RUN: rm -r Output/中文
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | FloatingPointMode.h | 87 DenormalModeKind Output = DenormalModeKind::Invalid; member 96 Output(Out), Input(In) {} in DenormalMode() 118 return Output == Other.Output && Input == Other.Input; 126 return Input == Output; in isSimple() 130 return Output != DenormalModeKind::Invalid && in isValid() 181 Mode.Output = parseDenormalFPAttributeComponent(OutputStr); in parseDenormalFPAttribute() 185 Mode.Input = InputStr.empty() ? Mode.Output : in parseDenormalFPAttribute() 192 OS << denormalModeKindName(Output) << ',' << denormalModeKindName(Input); in print()
|
| /llvm-project-15.0.7/clang/test/Driver/ |
| H A D | hip-output-file-name.hip | 4 // Output bundled code objects for combined compilation. 15 // Output bundled PPE for one GPU for mixed compliation. 20 // Output unbundled PPE for one GPU for device only compilation. 25 // Output bundled PPE for two GPUs for mixed compilation. 30 // Output bundled PPE for two GPUs for mixed compilation with -save-temps. 35 // Output unbundled PPE for two GPUs for device only compilation. 40 // Output bundled PPE for two GPUs for device only compilation with --gpu-bundle-output. 50 // Output unbundled PPE for host only compilation. 62 // Output bundled PPE for two GPUs for mixed compilation. 67 // Output bundled PPE for two GPUs for mixed compilation. [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | TildeExpressionResolver.h | 35 llvm::SmallVectorImpl<char> &Output) = 0; 48 llvm::StringSet<> &Output) = 0; 53 llvm::SmallVectorImpl<char> &Output); 59 llvm::SmallVectorImpl<char> &Output) override; 60 bool ResolvePartial(llvm::StringRef Expr, llvm::StringSet<> &Output) override;
|
| /llvm-project-15.0.7/libc/benchmarks/automemcpy/lib/ |
| H A D | RandomFunctionGenerator.cpp | 174 Region Output; in As() local 175 Output.Span = *Span; in As() 176 return Output; in As() 184 Loop Output; in AsLoop() local 185 Output.Span = *Span; in AsLoop() 186 Output.BlockSize = BlockSize; in AsLoop() 187 return Output; in AsLoop() 197 AlignedLoop Output; in AsAlignedLoop() local 198 Output.Loop = *Loop; in AsAlignedLoop() 200 Output.AlignTo = AlignTo; in AsAlignedLoop() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/tweaks/ |
| H A D | ShowSelectionTreeTests.cpp | 24 const char *Output = R"(message: in TEST_F() local 33 EXPECT_EQ(apply("int fcall(int); int x = fca[[ll(2 +]]2);"), Output); in TEST_F() 35 Output = R"(message: in TEST_F() 42 EXPECT_EQ(apply("void x() { for (;;) br^eak; }"), Output); in TEST_F()
|