| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | UnicodeCaseFold.cpp | 48 if (C <= 0x0147 && C % 2 == 1) in foldCharSimple() 61 if (C <= 0x017d && C % 2 == 1) in foldCharSimple() 155 if (C <= 0x01b5 && C % 2 == 1) in foldCharSimple() 163 if (C <= 0x01bc && C % 4 == 0) in foldCharSimple() 183 if (C <= 0x01db && C % 2 == 1) in foldCharSimple() 361 if (C <= 0x04cd && C % 2 == 1) in foldCharSimple() 381 if (C <= 0x10cd && C % 6 == 5) in foldCharSimple() 458 if (C <= 0x1f5f && C % 2 == 1) in foldCharSimple() 585 if (C <= 0x2c6b && C % 2 == 1) in foldCharSimple() 602 if (C <= 0x2c75 && C % 3 == 2) in foldCharSimple() [all …]
|
| /llvm-project-15.0.7/llvm/bindings/go/llvm/ |
| H A D | ir.go | 1363 rv.C = C.LLVMBuildCondBr(b.C, ifv.C, thenb.C, elseb.C) 1393 v.C = C.LLVMBuildAdd(b.C, lhs.C, rhs.C, cname) 1417 v.C = C.LLVMBuildSub(b.C, lhs.C, rhs.C, cname) 1441 v.C = C.LLVMBuildMul(b.C, lhs.C, rhs.C, cname) 1507 v.C = C.LLVMBuildShl(b.C, lhs.C, rhs.C, cname) 1525 v.C = C.LLVMBuildAnd(b.C, lhs.C, rhs.C, cname) 1531 v.C = C.LLVMBuildOr(b.C, lhs.C, rhs.C, cname) 1614 v.C = C.LLVMBuildStore(b.C, val.C, p.C) 1672 v.C = C.LLVMBuildZExt(b.C, val.C, t.C, cname) 1678 v.C = C.LLVMBuildSExt(b.C, val.C, t.C, cname) [all …]
|
| H A D | target.go | 27 C C.LLVMTargetDataRef member 30 C C.LLVMTargetRef member 33 C C.LLVMTargetMachineRef member 149 return uint64(C.LLVMSizeOfTypeInBits(td.C, t.C)) 155 return uint64(C.LLVMStoreSizeOfType(td.C, t.C)) 161 return uint64(C.LLVMABISizeOfType(td.C, t.C)) 167 return int(C.LLVMABIAlignmentOfType(td.C, t.C)) 191 return int(C.LLVMElementAtOffset(td.C, t.C, C.ulonglong(offset))) 197 return uint64(C.LLVMOffsetOfElement(td.C, t.C, C.unsigned(element))) 229 return C.GoString(C.LLVMGetTargetName(t.C)) [all …]
|
| H A D | dibuilder.go | 97 d := C.LLVMCreateDIBuilder(m.C) 189 result := C.LLVMDIBuilderCreateLexicalBlockFile(d.ref, diScope.C, diFile.C, 579 d.m.Context().C, C.uint(l.Line), C.uint(l.Col), l.Scope.C, l.InlinedAt.C) 580 result := C.LLVMDIBuilderInsertDeclareAtEnd(d.ref, v.C, diVarInfo.C, expr.C, loc, bb.C) 588 d.m.Context().C, C.uint(l.Line), C.uint(l.Col), l.Scope.C, l.InlinedAt.C) 589 result := C.LLVMDIBuilderInsertDbgValueAtEnd(d.ref, v.C, diVarInfo.C, expr.C, loc, bb.C) 594 C.LLVMSetSubprogram(v.C, sp.C) 598 md.C = C.LLVMGetSubprogram(v.C) 615 md.C = C.LLVMTemporaryMDNode(c.C, ptr, C.size_t(nvals)) 620 C.LLVMMetadataReplaceAllUsesWith(md.C, new.C) [all …]
|
| H A D | executionengine.go | 28 C C.LLVMGenericValueRef member 31 C C.LLVMExecutionEngineRef member 64 g.C = C.LLVMCreateGenericValueOfInt(t.C, C.ulonglong(n), boolToLLVMBool(signed)) 72 g.C = C.LLVMCreateGenericValueOfFloat(t.C, C.double(n)) 140 g.C = C.LLVMRunFunction(ee.C, f.C, 146 C.LLVMFreeMachineCodeForFunction(ee.C, f.C) 152 C.LLVMRemoveModule(ee.C, m.C, &modtmp, nil) 158 C.LLVMFindFunction(ee.C, cname, &f.C) 167 td.C = C.LLVMGetExecutionEngineTargetData(ee.C) 172 C.LLVMAddGlobalMapping(ee.C, global.C, addr) [all …]
|
| H A D | transforms_scalar.go | 21 func (pm PassManager) AddAggressiveDCEPass() { C.LLVMAddAggressiveDCEPass(pm.C) } 24 func (pm PassManager) AddGVNPass() { C.LLVMAddGVNPass(pm.C) } 27 func (pm PassManager) AddJumpThreadingPass() { C.LLVMAddJumpThreadingPass(pm.C) } 28 func (pm PassManager) AddLICMPass() { C.LLVMAddLICMPass(pm.C) } 29 func (pm PassManager) AddLoopDeletionPass() { C.LLVMAddLoopDeletionPass(pm.C) } 30 func (pm PassManager) AddLoopRotatePass() { C.LLVMAddLoopRotatePass(pm.C) } 31 func (pm PassManager) AddLoopUnrollPass() { C.LLVMAddLoopUnrollPass(pm.C) } 32 func (pm PassManager) AddMemCpyOptPass() { C.LLVMAddMemCpyOptPass(pm.C) } 35 func (pm PassManager) AddSCCPPass() { C.LLVMAddSCCPPass(pm.C) } 38 C.LLVMAddScalarReplAggregatesPassWithThreshold(pm.C, C.int(threshold)) [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/ |
| H A D | MILexer.cpp | 52 assert(C.Ptr >= Ptr && C.Ptr <= End); in upto() 92 static bool isNewlineChar(char C) { return C == '\n' || C == '\r'; } in isNewlineChar() argument 106 if (C.peek() != '/' || C.peek(1) != '*') in skipMachineOperandComment() 109 while (C.peek() != '*' || C.peek(1) != '/') in skipMachineOperandComment() 120 return isalpha(C) || isdigit(C) || C == '_' || C == '-' || C == '.' || in isIdentifierChar() 157 for (C.advance(); C.peek() != '"'; C.advance()) { in lexStringConstant() 541 return C == 'H' || C == 'K' || C == 'L' || C == 'M' || C == 'R'; in isValidHexFloatingPointPrefix() 551 ((C.peek(1) == '-' || C.peek(1) == '+') && isdigit(C.peek(2))))) { in lexFloatingPointLiteral() 561 if (C.peek() != '0' || (C.peek(1) != 'x' && C.peek(1) != 'X')) in maybeLexHexadecimalLiteral() 583 if (!isdigit(C.peek()) && (C.peek() != '-' || !isdigit(C.peek(1)))) in maybeLexNumericalLiteral() [all …]
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | cfg-rich-constructors.cpp | 13 C(C *); 41 new C(new C()); in operatorNewWithConstructorWithOperatorNewWithContstructor() 53 new (new C()) C(); in operatorPlacementNewWithConstructorWithinPlacementArgument() 90 C c(new C()); in simpleVariableWithOperatorNewInConstructorArgument() 100 C c{new C()}; in simpleVariableWithOperatorNewInBraces() 114 C c = C::get(); in simpleVariableInitializedByValue() 153 C c = coin ? C::get() : C(0); in simpleVariableWithTernaryOperator() 168 C c = C(0); in simpleVariableWithElidableCopy() 220 const C &c = coin ? C::get() : C(0); in referenceVariableWithTernaryOperator() 270 D(double): C(C::get()), c1(new C(C::get())) {} in D() [all …]
|
| H A D | lifetime-extension.cpp | 71 C(bool x, C **after, C **before) : x(x), after(after), before(before) { in C() function in maintain_original_object_address_on_lifetime_extension::C 82 static C make(C **after, C **before) { return C(false, after, before); } in make() 101 C c = C(1, &after, &before); in f2() 123 const C &c = C(coin, &after, &before) ?: C(false, &after, &before); in f4() 199 C(const C &c) = delete; 201 C &operator=(C &&c) { in operator =() 219 C c = C(&x); in f1() 260 C(const C &c) : v(c.v) { in C() function in maintain_address_of_copies::C 274 C c = C(v); in f1() 285 const C &c = C::make(v); in f2() [all …]
|
| H A D | cast-value-notes.cpp | 82 (void)C; in evalReferences() 90 (void)C; in evalReferences_addrspace() 102 (void)C; in evalReferences_addrspace() 115 (void)C; in evalReferences_addrspace() 148 if (isa<Triangle>(C)) { in evalNonNullParamNonNullReturnReference() 170 (void)(1 / !C); in evalNonNullParamNonNullReturnReference() 228 (void)(1 / !C); in evalNonNullParamNonNullReturn() 257 (void)(1 / (bool)C); in evalNullParamNullReturn() 267 (void)(1 / !C); in evalZeroParamNonNullReturnPointer() 277 (void)(1 / !C); in evalZeroParamNonNullReturn() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | formatted_raw_ostream_test.cpp | 41 C << "a"; in TEST() 45 C << "bcdef"; in TEST() 50 C << "\n"; in TEST() 55 C << "foo\r"; in TEST() 62 C << "1\t"; in TEST() 64 C << "\t"; in TEST() 80 C << "\nabc"; in TEST() 82 C.flush(); in TEST() 144 C.flush(); in TEST() 152 C.flush(); in TEST() [all …]
|
| H A D | DataExtractorTest.cpp | 106 C.takeError(), in TEST() 142 C.takeError(), in TEST() 149 C.takeError(), in TEST() 157 C.takeError(), in TEST() 183 C.seek(3); in TEST() 186 C.seek(8); in TEST() 251 C.reset(), in TEST() 280 DE.getU8(C, S, 4); in TEST() 284 DE.getU8(C, S, 2); in TEST() 309 DE.skip(C, 4); in TEST() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/ |
| H A D | types.pass.cpp | 42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main() 43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main() 45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main() 46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() 48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main() 49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main() 59 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main() 62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main() 63 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/ |
| H A D | types.pass.cpp | 42 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main() 43 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main() 45 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main() 46 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 47 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() 48 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main() 49 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main() 59 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main() 62 …static_assert((std::is_same<C::value_type, std::pair<const C::key_type, C::mapped_type> >::value),… in main() 63 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/utility/pairs/pairs.pair/ |
| H A D | assign_tuple_like.pass.cpp | 31 T t(42, C{42}); in main() 32 P p(101, C{101}); in main() 33 C::reset_constructors(); in main() 36 assert(C::assigned == 1); in main() 47 C::reset_constructors(); in main() 50 assert(C::assigned == 1); in main() 57 using P = std::pair<C, C>; in main() 61 C::reset_constructors(); in main() 71 using P = std::pair<C, C>; in main() 75 C::reset_constructors(); in main() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ExprInspectionChecker.cpp | 221 reportBug(getArgumentValueString(CE, C), C); in analyzerEval() 250 reportBug(getArgumentValueString(CE, C), C); in analyzerCheckInlined() 272 C.getConstraintManager().printValue(Out, C.getState(), Sym); in printHelper() 300 reportBug("n/a", C); in analyzerValue() 309 QualType Ty = C.getSVal(Arg).getType(C.getASTContext()); in analyzerDumpSValType() 320 printAndReport(C, V); in analyzerDump() 343 getDynamicExtent(C.getState(), MR, C.getSValBuilder()); in analyzerDumpExtent() 370 C.getState()->dump(); in analyzerPrintState() 446 C); in analyzerDenote() 464 C.addTransition(C.getState()->set<DenotedSymbols>(Sym, E)); in analyzerDenote() [all …]
|
| H A D | ErrnoTesterChecker.cpp | 86 C.addTransition(setErrnoValue(C.getState(), C.getLocationContext(), in evalSetErrno() 99 C.addTransition(State); in evalGetErrno() 115 C.addTransition(StateSuccess); in evalSetErrnoIfError() 116 C.addTransition(StateFailure); in evalSetErrnoIfError() 131 nullptr, Call.getOriginExpr(), C.getLocationContext(), C.blockCount()); in evalSetErrnoIfErrorRange() 137 C.addTransition(StateSuccess); in evalSetErrnoIfErrorRange() 138 C.addTransition(StateFailure); in evalSetErrnoIfErrorRange() 158 C.addTransition(StateSuccess, in evalSetErrnoCheckState() 162 C.addTransition( in evalSetErrnoCheckState() 172 (*Fn)(C, Call); in evalCall() [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-cov/gcov/ |
| H A D | basic.test | 74 RUN: FileCheck --input-file=test.cpp.gcov %s --check-prefixes=C,C-A 79 RUN: FileCheck --input-file=test.cpp.gcov %s --check-prefixes=C,C-A,C-B 84 RUN: FileCheck %s --check-prefixes=C,C-A,C-B --match-full-lines --strict-whitespace < test.cpp.gcov 147 RUN: FileCheck --input-file=test.cpp.gcov %s --check-prefixes=C,C-A,C-B,C-U 194 C-NEXT: -: 3: 200 C-NEXT: -: 9: 207 C-NEXT: -: 11: 214 C-NEXT: -: 13: 223 C-NEXT: -: 17: 233 C-NEXT: -: 22: [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenOpenCLCXX/ |
| H A D | addrspace-of-this.clcpp | 19 C(C &&c) DEFAULT; 20 C(const C &c) DEFAULT; 21 C &operator=(const C &c) DEFAULT; 22 C &operator=(C &&c) & DEFAULT; 24 C operator+(const C& c) { 35 C::C() { v = 2; }; 37 C::C(C &&c) { v = c.v; } 39 C::C(const C &c) { v = c.v; } 41 C &C::operator=(const C &c) { 46 C &C::operator=(C &&c) & { [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/array/ |
| H A D | types.pass.cpp | 33 template <class C> 35 typedef std::iterator_traits<typename C::iterator> ItT; in test_iterators() 36 typedef std::iterator_traits<typename C::const_iterator> CItT; in test_iterators() 54 typedef std::array<T, 10> C; in main() typedef 59 test_iterators<C>(); in main() 64 …static_assert((std::is_same<C::reverse_iterator, std::reverse_iterator<C::iterator> >::value), ""); in main() 65 …static_assert((std::is_same<C::const_reverse_iterator, std::reverse_iterator<C::const_iterator> >:… in main() 76 typedef std::array<T, 0> C; in main() typedef 81 test_iterators<C>(); in main() 86 …static_assert((std::is_same<C::reverse_iterator, std::reverse_iterator<C::iterator> >::value), ""); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/ |
| H A D | types.pass.cpp | 41 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main() 42 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main() 44 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 45 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() 46 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main() 47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main() 57 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main() 58 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main() 60 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 61 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multiset/ |
| H A D | types.pass.cpp | 41 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main() 42 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main() 44 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 45 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() 46 static_assert((std::is_same<C::pointer, C::value_type*>::value), ""); in main() 47 static_assert((std::is_same<C::const_pointer, const C::value_type*>::value), ""); in main() 57 static_assert((std::is_same<C::hasher, std::hash<C::key_type> >::value), ""); in main() 58 static_assert((std::is_same<C::key_equal, std::equal_to<C::key_type> >::value), ""); in main() 60 static_assert((std::is_same<C::reference, C::value_type&>::value), ""); in main() 61 static_assert((std::is_same<C::const_reference, const C::value_type&>::value), ""); in main() [all …]
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | CommentToXML.cpp | 100 for (Comment::child_iterator I = C->child_begin(), E = C->child_end(); in FullCommentParts() 325 for (Comment::child_iterator I = C->child_begin(), E = C->child_end(); in visitParagraphComment() 461 visit(C); in visitFullComment() 489 if (!C) in visitNonStandaloneParagraphComment() 492 for (Comment::child_iterator I = C->child_begin(), E = C->child_end(); in visitNonStandaloneParagraphComment() 501 switch (C) { in appendToResultWithHTMLEscaping() 521 Result << C; in appendToResultWithHTMLEscaping() 776 if (C->isPositionValid() && C->getDepth() == 1) { in visitTParamCommandComment() 1069 visit(C); in visitFullComment() 1081 switch (C) { in appendToResultWithXMLEscaping() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | microsoft-abi-vbtables.cpp | 55 C c; 119 struct C { int c; }; argument 417 struct C { int c; }; struct 428 struct C { int c; }; argument 440 struct C { int c; }; struct 457 struct C { int c; }; struct 486 struct D : C, B {}; 488 struct F : C, E {}; 507 struct D : C, B {}; 508 struct E : C, D {}; [all …]
|
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | if.td | 5 // CHECK: class C 6 …C:y{3} }, 1, !if({ C:y{2} }, { C:x{0} }, !if({ C:y{1} }, { C:x{1} }, !if({ C:y{0} }, { C:x{2} }, ?… 7 class C<bits<3> x, bits<4> y, bit z> { 22 def C1 : C<{1, 0, 1}, {0, 1, 0, 1}, 0>; 23 def C2 : C<{0, 1, 0}, {1, 0, 1, 0}, 1>; 24 def C3 : C<{0, 0, 0}, {1, 0, 1, 0}, 0>; 25 def C4 : C<{0, 0, 0}, {0, 0, 0, 0}, 0>;
|