Home
last modified time | relevance | path

Searched +full:- +full:c (Results 1 – 25 of 1314) sorted by relevance

12345678910>>...53

/llvm-project/llvm/lib/Support/
H A DUnicodeCaseFold.cpp1 //===---------- Support/UnicodeCaseFold.cpp -------------------------------===//
3 // This file was generated by utils/unicode-case-fold.py from the Unicode
8 // utils/unicode-case-fold.py \
12 //===----------------------------------------------------------------------===//
16 int llvm::sys::unicode::foldCharSimple(int C) { in foldCharSimple() argument
17 if (C < 0x0041) in foldCharSimple()
18 return C; in foldCharSimple()
20 if (C <= 0x005a) in foldCharSimple()
21 return C + 32; in foldCharSimple()
23 if (C == 0x00b5) in foldCharSimple()
[all …]
/llvm-project/libcxx/test/std/re/re.traits/
H A Dvalue.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
24 for (char c = 0; c < '0'; ++c) in main() local
26 assert(t.value(c, 8) == -1); in main()
27 assert(t.value(c, 10) == -1); in main()
28 assert(t.value(c, 16) == -1); in main()
30 for (char c = '0'; c < '8'; ++c) in main() local
32 assert(t.value(c, 8) == c - '0'); in main()
33 assert(t.value(c, 10) == c - '0'); in main()
[all …]
/llvm-project/llvm/test/tools/llvm-cov/gcov/
H A Dbasic.test1 # Tests for compatibility between llvm-cov and gcov. These work by
2 # comparing llvm-cov against reference outputs generated by gcov 4.2.
6 UNSUPPORTED: system-windows
8 RUN: rm -rf %t
14 RUN: llvm-cov gcov test.c 2> %t.err | FileCheck %s --check-prefixes=OUT,OUTFILE --match-full-lines
15 RUN: FileCheck %s --check-prefix=C --match-full-lines --strict-whitespace < test.cpp.gcov
16 RUN: diff -ub test_no_options.h.gcov test.h.gcov
20 RUN: mkdir -p %t/objdir
22 RUN: llvm-cov gcov -o objdir test.c | FileCheck %s --check-prefixes=OUT,OUTFILE
23 RUN: FileCheck --input-file=test.cpp.gcov %s --check-prefix=OBJDIR
[all …]
/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMILexer.cpp1 //===- MILexer.cpp - Machine instructions lexer implementation --------
85 skipWhitespace(Cursor C) skipWhitespace() argument
91 isNewlineChar(char C) isNewlineChar() argument
94 skipComment(Cursor C) skipComment() argument
104 skipMachineOperandComment(Cursor C) skipMachineOperandComment() argument
118 isIdentifierChar(char C) isIdentifierChar() argument
128 Cursor C = Cursor(Value.substr(1, Value.size() - 2)); unescapeQuotedString() local
154 lexStringConstant(Cursor C,ErrorCallbackType ErrorCallback) lexStringConstant() argument
168 lexName(Cursor C,MIToken & Token,MIToken::TokenKind Type,unsigned PrefixLength,ErrorCallbackType ErrorCallback) lexName() argument
293 maybeLexIdentifier(Cursor C,MIToken & Token) maybeLexIdentifier() argument
305 maybeLexMachineBasicBlock(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexMachineBasicBlock() argument
340 maybeLexIndex(Cursor C,MIToken & Token,StringRef Rule,MIToken::TokenKind Kind) maybeLexIndex() argument
353 maybeLexIndexAndName(Cursor C,MIToken & Token,StringRef Rule,MIToken::TokenKind Kind) maybeLexIndexAndName() argument
376 maybeLexJumpTableIndex(Cursor C,MIToken & Token) maybeLexJumpTableIndex() argument
380 maybeLexStackObject(Cursor C,MIToken & Token) maybeLexStackObject() argument
384 maybeLexFixedStackObject(Cursor C,MIToken & Token) maybeLexFixedStackObject() argument
388 maybeLexConstantPoolItem(Cursor C,MIToken & Token) maybeLexConstantPoolItem() argument
392 maybeLexSubRegisterIndex(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexSubRegisterIndex() argument
401 maybeLexIRBlock(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexIRBlock() argument
411 maybeLexIRValue(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexIRValue() argument
421 maybeLexStringConstant(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexStringConstant() argument
429 lexVirtualRegister(Cursor C,MIToken & Token) lexVirtualRegister() argument
441 isRegisterChar(char C) isRegisterChar() argument
445 lexNamedVirtualRegister(Cursor C,MIToken & Token) lexNamedVirtualRegister() argument
455 maybeLexRegister(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexRegister() argument
480 maybeLexGlobalValue(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexGlobalValue() argument
497 maybeLexExternalSymbol(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexExternalSymbol() argument
505 maybeLexMCSymbol(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexMCSymbol() argument
552 isValidHexFloatingPointPrefix(char C) isValidHexFloatingPointPrefix() argument
556 lexFloatingPointLiteral(Cursor Range,Cursor C,MIToken & Token) lexFloatingPointLiteral() argument
572 maybeLexHexadecimalLiteral(Cursor C,MIToken & Token) maybeLexHexadecimalLiteral() argument
594 maybeLexNumericalLiteral(Cursor C,MIToken & Token) maybeLexNumericalLiteral() argument
619 maybeLexExclaim(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexExclaim() argument
639 symbolToken(char C) symbolToken() argument
670 maybeLexSymbol(Cursor C,MIToken & Token) maybeLexSymbol() argument
686 maybeLexNewline(Cursor C,MIToken & Token) maybeLexNewline() argument
695 maybeLexEscapedIRValue(Cursor C,MIToken & Token,ErrorCallbackType ErrorCallback) maybeLexEscapedIRValue() argument
720 auto C = skipComment(skipWhitespace(Cursor(Source))); lexMIToken() local
[all...]
/llvm-project/libcxx/test/std/iterators/iterator.range/
H A Dbegin-end.container.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03
13 // template <class C> constexpr auto begin(C& c) -> decltype(c.begin()); // const…
14 // template <class C> constexpr auto begin(const C& c) -> decltype(c.begin()); // const…
15 // template <class C> constexpr auto end(C& c) -> decltype(c.end()); // const…
16 // template <class C> constexpr auto end(const C& c) -> decltype(c.end()); // const…
18 // template <class C> constexpr auto cbegin(const C& c) noexcept(see-below) -> decltype(std::begin(
19 // template <class C> constexpr auto cend(const C& c) noexcept(see-below) -> decltype(std::end(c));…
[all …]
/llvm-project/llvm/test/Transforms/InstCombine/
H A Dicmp-shr-lt-gt.ll2 ; RUN: opt < %s -passes=instcombine -S | FileCheck %s
5 ; CHECK-LABEL: @lshrugt_01_00(
6 ; CHECK-NEXT: [[C:%.*]] = icmp ugt i4 [[X:%.*]], 1
7 ; CHECK-NEXT: ret i1 [[C]]
10 %c = icmp ugt i4 %s, 0
11 ret i1 %c
15 ; CHECK-LABE
[all...]
/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/
H A Derase_after_many.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
24 typedef std::forward_list<T> C; in main() typedef
26 C c(std::begin(t), std::end(t)); in main() local
28C::iterator i = c.erase_after(std::next(c.cbefore_begin(), 4), std::next(c.cbefore_begin(), 4)); in main()
29 assert(i == std::next(c.cbefore_begin(), 4)); in main()
30 assert(std::distance(c.begin(), c.end()) == 10); in main()
31 assert(*std::next(c.begin(), 0) == 0); in main()
32 assert(*std::next(c.begin(), 1) == 1); in main()
[all …]
/llvm-project/libc/utils/docgen/
H A Dstdbit.json
/llvm-project/libcxx/test/std/containers/unord/unord.multiset/
H A Dlocal_iterators.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
31 typedef std::unordered_multiset<int> C; in main() typedef
33 typedef C::local_iterator I; in main()
43 C c(a, a + sizeof(a)/sizeof(a[0])); in main() local
44 assert(c.bucket_count() >= 7); in main()
45 C::size_type b = c.bucket(0); in main()
46 I i = c.begin(b); in main()
47 I j = c.end(b); in main()
[all …]
/llvm-project/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
H A Derase_key.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
46 typedef std::unordered_multimap<int, std::string> C; in main() typedef
57 C c(a, a + sizeof(a)/sizeof(a[0])); in main() local
58 assert(c.erase(5) == 0); in main()
59 assert(c.size() == 6); in main()
60 typedef std::pair<C::const_iterator, C::const_iterator> Eq; in main()
61 Eq eq = c.equal_range(1); in main()
66 CheckConsecutiveKeys<C::const_iterator>(c.find(1), c.end(), 1, s); in main()
[all …]
/llvm-project/libcxx/test/std/containers/unord/unord.set/
H A Dlocal_iterators.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
31 typedef std::unordered_set<int> C; in main() typedef
33 typedef C::local_iterator I; in main()
43 C c(a, a + sizeof(a)/sizeof(a[0])); in main() local
44 assert(c.bucket_count() >= 5); in main()
45 C::size_type b = c.bucket(0); in main()
46 I i = c.begin(b); in main()
47 I j = c.end(b); in main()
[all …]
/llvm-project/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/
H A Dassign_move.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03
40 > C; in main() typedef
51 C c0(a, a + sizeof(a)/sizeof(a[0]), in main()
57 C c(a, a + 2, in main() local
63 c = std::move(c0); in main()
64 LIBCPP_ASSERT(c.bucket_count() == 7); in main()
65 assert(c.size() == 6); in main()
[all …]
H A Dassign_copy.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
39 > C; in main() typedef
50 C c0(a, a + sizeof(a)/sizeof(a[0]), in main()
56 C c(a, a + 2, in main() local
62 c = c0; in main()
63 LIBCPP_ASSERT(c.bucket_count() == 7); in main()
64 assert(c.size() == 6); in main()
65 CheckConsecutiveValues<C::const_iterator>(c.find(1), c.end(), 1, 2); in main()
[all …]
H A Dcopy.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
37 > C; in main() typedef
48 C c0(a, a + sizeof(a)/sizeof(a[0]), in main()
54 C c = c0; in main() local
55 LIBCPP_ASSERT(c.bucket_count() == 7); in main()
56 assert(c.size() == 6); in main()
57 CheckConsecutiveValues<C::const_iterator>(c.find(1), c.end(), 1, 2); in main()
58 CheckConsecutiveValues<C::const_iterator>(c.find(2), c.end(), 2, 2); in main()
[all …]
/llvm-project/libcxx/test/std/language.support/support.limits/support.limits.general/
H A Dtype_traits.version.compile.pass.cpp1 //===----------
[all...]
H A Dfunctional.version.compile.pass.cpp1 //===----------
[all...]
H A Dmemory.version.compile.pass.cpp1 //===----------
[all...]
H A Dutility.version.compile.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 // clang-format off
19 __cpp_lib_as_const 201510L [C++17]
20 __cpp_lib_constexpr_algorithms 201806L [C++20]
21 __cpp_lib_constexpr_utility 201811L [C++20]
22 __cpp_lib_constrained_equality 202403L [C++26]
23 __cpp_lib_exchange_function 201304L [C++14]
24 __cpp_lib_forward_like 202207L [C++23]
[all …]
/llvm-project/libcxx/test/std/containers/sequences/array/
H A Diterators.pass.cpp1 //===----------
37 check_noexcept(T & c) check_noexcept() argument
57 typedef std::array<int, 5> C; tests() typedef
65 typedef std::array<int, 0> C; tests() typedef
74 typedef std::array<int, 0> C; tests() typedef
83 typedef std::array<int, 1> C; tests() typedef
93 typedef std::array<int, 2> C; tests() typedef
104 typedef std::array<double, 3> C; tests() typedef
115 typedef std::array<NoDefault, 0> C; tests() typedef
125 typedef std::array<int, 5> C; tests() typedef
136 C c = {}; tests() local
153 typedef std::array<int, 0> C; tests() typedef
177 C c = {}; tests() local
[all...]
/llvm-project/libcxx/test/std/containers/sequences/vector/vector.capacity/
H A Dsize.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
24 typedef std::vector<int> C; in tests() typedef
25 C c; in tests() local
26 ASSERT_NOEXCEPT(c.size()); in tests()
27 assert(c.size() == 0); in tests()
28 c.push_back(C::value_type(2)); in tests()
29 assert(c.size() == 1); in tests()
30 c.push_back(C::value_type(1)); in tests()
[all …]
/llvm-project/libcxx/test/std/containers/
H A Dmap_allocator_requirement_test_templates.h1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
22 // UNSUPPORTED: c++03
37 cc->reset(); in testMapInsert()
39 // Testing C::insert(const value_type&) in testMapInsert()
40 Container c; in testMapInsert() local
42 cc->expect<const ValueTp&>(); in testMapInsert()
43 assert(c.insert(v).second); in testMapInsert()
44 assert(!cc->unchecked()); in testMapInsert()
[all …]
/llvm-project/libcxx/test/std/containers/sequences/vector/vector.modifiers/
H A Demplace.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03 && !stdlib=libc++
58 std::vector<A> c; in tests() local
59 std::vector<A>::iterator i = c.emplace(c.cbegin(), 2, 3.5); in tests()
60 assert(i == c.begin()); in tests()
61 assert(c.size() == 1); in tests()
62 assert(c.front().geti() == 2); in tests()
63 assert(c.front().getd() == 3.5); in tests()
[all …]
H A Demplace_back.pass.cpp1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03 && !stdlib=libc++
14 // return type is 'reference' in C++17; 'void' before
60 std::vector<A> c; in tests() local
62 A& r1 = c.emplace_back(2, 3.5); in tests()
63 assert(c.size() == 1); in tests()
64 assert(&r1 == &c.back()); in tests()
65 assert(c.front().geti() == 2); in tests()
[all …]
/llvm-project/compiler-rt/lib/builtins/
H A DCMakeLists.txt1 # This directory contains a large amount of C code which provides
3 # architecture-specific code in various subdirectories.
9 project(CompilerRTBuiltins C ASM)
25 include(base-config-ix)
43 # Simplified version of what's set in cmake/config-ix.cmake; not including
51 # When compiler-rt is being built standalone, possibly as a cross-compilation
56 "Turns on or off -fPIC for the builtin library source"
60 include(builtin-confi
[all...]
/llvm-project/llvm/test/MC/RISCV/
H A Drv32c-valid.s

12345678910>>...53