| /llvm-project-15.0.7/libcxx/test/libcxx/utilities/function.objects/func.require/ |
| H A D | bullet_7.pass.cpp | 253 typedef A const CA; in main() typedef 260 runTestCase< R(CA&, CA&), 2, ConstCaster >(); in main() 261 runTestCase< R(CA&, CA&, CA&), 3, ConstCaster >(); in main() 295 runFunctorTestCase<R(CA&, CA&), 2, LValueCaster, CC>(); in main() 296 runFunctorTestCase<R(CA&, CA&) const, 2, ConstCaster, CC>(); in main() 297 runFunctorTestCase<R(CA&, CA&) volatile, 2, VolatileCaster, CC>(); in main() 298 runFunctorTestCase<R(CA&, CA&) const volatile, 2, CVCaster, CC>(); in main() 299 runFunctorTestCase<R(CA&, CA&, CA&), 3, LValueCaster, CC>(); in main() 300 runFunctorTestCase<R(CA&, CA&, CA&) const, 3, ConstCaster, CC>(); in main() 301 runFunctorTestCase<R(CA&, CA&, CA&) volatile, 3, VolatileCaster, CC>(); in main() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/LineEditor/ |
| H A D | LineEditor.cpp | 61 LineEditor::CompletionAction CA = LE->getCompletionAction("", 0); in TEST_F() local 62 EXPECT_EQ(LineEditor::CompletionAction::AK_Insert, CA.Kind); in TEST_F() 63 EXPECT_EQ("foo", CA.Text); in TEST_F() 67 CA = LE->getCompletionAction("", 0); in TEST_F() 68 EXPECT_EQ(LineEditor::CompletionAction::AK_ShowCompletions, CA.Kind); in TEST_F() 69 ASSERT_EQ(2u, CA.Completions.size()); in TEST_F() 70 ASSERT_EQ("int foo()", CA.Completions[0]); in TEST_F() 71 ASSERT_EQ("int bar()", CA.Completions[1]); in TEST_F() 79 CA = LE->getCompletionAction("", 0); in TEST_F() 80 EXPECT_EQ(LineEditor::CompletionAction::AK_Insert, CA.Kind); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | CtorUtils.cpp | 39 Constant *CA = ConstantArray::get(ATy, CAList); in removeGlobalCtors() local 42 if (CA->getType() == OldCA->getType()) { in removeGlobalCtors() 43 GCL->setInitializer(CA); in removeGlobalCtors() 49 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(), in removeGlobalCtors() 50 CA, "", GCL->getThreadLocalMode()); in removeGlobalCtors() 68 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); in parseGlobalCtors() local 70 Result.reserve(CA->getNumOperands()); in parseGlobalCtors() 71 for (auto &V : CA->operands()) { in parseGlobalCtors() 92 ConstantArray *CA = dyn_cast<ConstantArray>(GV->getInitializer()); in findGlobalCtors() local 93 if (!CA) in findGlobalCtors() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
| H A D | construct_pair.pass.cpp | 44 Alloc CA(P); in test_no_inner_alloc() local 45 SA A(CA); in test_no_inner_alloc() 47 assert(checkConstruct<>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 48 assert(checkConstruct<>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc() 52 >(CA, ptr))); in test_no_inner_alloc() 67 Alloc CA(P); in test_no_inner_alloc() local 68 SA A(CA); in test_no_inner_alloc() 70 assert(checkConstruct<>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 75 >(CA, ptr))); in test_no_inner_alloc()
|
| H A D | construct_pair_rvalue.pass.cpp | 47 Alloc CA(P); in test_no_inner_alloc() local 48 SA A(CA); in test_no_inner_alloc() 51 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 52 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc() 56 >(CA, ptr))); in test_no_inner_alloc() 74 Alloc CA(P); in test_no_inner_alloc() local 75 SA A(CA); in test_no_inner_alloc() 78 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 83 >(CA, ptr))); in test_no_inner_alloc()
|
| H A D | construct_pair_values.pass.cpp | 46 Alloc CA(P); in test_no_inner_alloc() local 47 SA A(CA); in test_no_inner_alloc() 49 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 50 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc() 54 >(CA, ptr))); in test_no_inner_alloc() 71 Alloc CA(P); in test_no_inner_alloc() local 72 SA A(CA); in test_no_inner_alloc() 74 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 79 >(CA, ptr))); in test_no_inner_alloc()
|
| H A D | construct_pair_piecewise.pass.cpp | 47 Alloc CA(P); in test_no_inner_alloc() local 48 SA A(CA); in test_no_inner_alloc() 52 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 53 assert(checkConstruct<int const&&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc() 57 >(CA, ptr))); in test_no_inner_alloc() 74 Alloc CA(P); in test_no_inner_alloc() local 75 SA A(CA); in test_no_inner_alloc() 79 assert(checkConstruct<int&&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 84 >(CA, ptr))); in test_no_inner_alloc()
|
| H A D | construct_pair_const_lvalue_pair.pass.cpp | 47 Alloc CA(P); in test_no_inner_alloc() local 48 SA A(CA); in test_no_inner_alloc() 51 assert(checkConstruct<int&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 52 assert(checkConstruct<int const&>(ptr->second, UA_AllocLast, CA)); in test_no_inner_alloc() 56 >(CA, ptr))); in test_no_inner_alloc() 74 Alloc CA(P); in test_no_inner_alloc() local 75 SA A(CA); in test_no_inner_alloc() 78 assert(checkConstruct<int const&>(ptr->first, UA_AllocArg, CA)); in test_no_inner_alloc() 83 >(CA, ptr))); in test_no_inner_alloc()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/ |
| H A D | definitions-in-headers.hpp | 10 class CA { class 26 void CA::f2() { } in f2() 31 int CA::f3() { in f3() 39 void CA::CAA<T>::CAB::f4() { in f4() 125 CA a1;
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CallEvent.h | 509 static bool classof(const CallEvent *CA) { in classof() argument 547 static bool classof(const CallEvent *CA) { in classof() argument 548 return CA->getKind() == CE_Function; in classof() 655 static bool classof(const CallEvent *CA) { return CA->getKind() == CE_Block; } in classof() argument 687 static bool classof(const CallEvent *CA) { in classof() argument 729 static bool classof(const CallEvent *CA) { in classof() argument 730 return CA->getKind() == CE_CXXMember; in classof() 769 static bool classof(const CallEvent *CA) { in classof() argument 838 static bool classof(const CallEvent *CA) { in classof() argument 911 static bool classof(const CallEvent *CA) { in classof() argument [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | PopulateSwitch.cpp | 86 const SelectionTree::Node *CA = Sel.ASTSelection.commonAncestor(); in REGISTER_TWEAK() local 87 if (!CA) in REGISTER_TWEAK() 96 Switch = CA->ASTNode.get<SwitchStmt>(); in REGISTER_TWEAK() 98 if (const SelectionTree::Node *Parent = CA->outerImplicit().Parent) in REGISTER_TWEAK() 107 DeclCtx = &CA->getDeclContext(); in REGISTER_TWEAK()
|
| H A D | RemoveUsingNamespace.cpp | 106 auto *CA = Inputs.ASTSelection.commonAncestor(); in prepare() local 107 if (!CA) in prepare() 109 TargetDirective = CA->ASTNode.get<UsingDirectiveDecl>(); in prepare() 126 return isTopLevelDecl(CA); in prepare()
|
| /llvm-project-15.0.7/llvm/test/Transforms/Attributor/IPConstantProp/ |
| H A D | musttail-call.ll | 18 ; IS__TUNIT____-NEXT: [[CA:%.*]] = musttail call noalias noundef align 4294967296 i8* @side_effe… 19 ; IS__TUNIT____-NEXT: ret i8* [[CA]] 34 ; IS__CGSCC____-NEXT: [[CA:%.*]] = musttail call noalias noundef align 4294967296 i8* @side_effe… 35 ; IS__CGSCC____-NEXT: ret i8* [[CA]] 67 ; IS________OPM-NEXT: [[CA:%.*]] = musttail call noalias noundef align 4294967296 i8* @start(i8 … 68 ; IS________OPM-NEXT: ret i8* [[CA]] 73 ; IS________NPM-NEXT: [[CA:%.*]] = musttail call noalias noundef align 4294967296 i8* @start(i8 … 74 ; IS________NPM-NEXT: ret i8* [[CA]]
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFISelDAGToDAG.cpp | 88 bool fillConstantArray(const DataLayout &DL, const ConstantArray *CA, 357 else if (const ConstantArray *CA = dyn_cast<ConstantArray>(Init)) in getConstantFieldValue() local 358 total_size = DL.getTypeAllocSize(CA->getType()->getElementType()) * in getConstantFieldValue() 359 CA->getNumOperands(); in getConstantFieldValue() 416 if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) in fillGenericConstant() local 417 return fillConstantArray(DL, CA, Vals, Offset); in fillGenericConstant() 439 const ConstantArray *CA, in fillConstantArray() argument 441 for (unsigned i = 0, e = CA->getNumOperands(); i != e; ++i) { in fillConstantArray() 442 if (fillGenericConstant(DL, CA->getOperand(i), Vals, Offset) == false) in fillConstantArray() 444 Offset += DL.getTypeAllocSize(CA->getOperand(i)->getType()); in fillConstantArray()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 187 if (auto *CA = dyn_cast<ConstantDataArray>(Init)) { in lowerPrintfForGpu() local 188 if (CA->isString()) in lowerPrintfForGpu() 189 Str = CA->getAsCString(); in lowerPrintfForGpu() 255 auto *CA = dyn_cast<ConstantDataArray>(Init); in lowerPrintfForGpu() local 256 if (IsZeroValue || (CA && CA->isString())) { in lowerPrintfForGpu() 258 IsZeroValue ? 1 : (strlen(CA->getAsCString().data()) + 1); in lowerPrintfForGpu() 427 auto *CA = dyn_cast<ConstantDataArray>(Init); in lowerPrintfForGpu() local 428 if (IsZeroValue || (CA && CA->isString())) { in lowerPrintfForGpu() 429 S = IsZeroValue ? "" : CA->getAsCString().data(); in lowerPrintfForGpu()
|
| /llvm-project-15.0.7/lldb/test/Shell/SymbolFile/NativePDB/ |
| H A D | globals-fundamental.cpp | 19 char CA = 'A'; variable 300 char *PCA = &CA; 392 const char *CPCA = &CA; 486 char &RCA = CA; 566 const char &CRCA = CA;
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/utility.swap/ |
| H A D | swap_array.pass.cpp | 103 using CA = CopyOnly[42]; in main() typedef 106 static_assert(can_swap<CA&>(), ""); in main() 110 CA ca; in main()
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/ |
| H A D | CSKYISelDAGToDAG.cpp | 303 auto *CA = CurDAG->getMachineNode( in selectAddCarry() local 307 {Op0, Op1, SDValue(CA, 0)}); in selectAddCarry() 309 auto *CA = CurDAG->getMachineNode( in selectAddCarry() local 313 {Op0, Op1, SDValue(CA, 0)}); in selectAddCarry() 346 auto *CA = CurDAG->getMachineNode( in selectSubCarry() local 350 {Op0, Op1, SDValue(CA, 0)}); in selectSubCarry() 352 auto *CA = CurDAG->getMachineNode( in selectSubCarry() local 356 {Op0, Op1, SDValue(CA, 0)}); in selectSubCarry()
|
| /llvm-project-15.0.7/llvm/test/Transforms/SCCP/ |
| H A D | musttail-call.ll | 15 ; CHECK-NEXT: [[CA:%.*]] = musttail call i8* @side_effects(i8 0) 16 ; CHECK-NEXT: ret i8* [[CA]] 46 ; CHECK-NEXT: [[CA:%.*]] = musttail call i8* @start(i8 0) 47 ; CHECK-NEXT: ret i8* [[CA]]
|
| /llvm-project-15.0.7/clang/test/CXX/drs/ |
| H A D | dr10xx.cpp | 42 typedef const A CA; typedef 50 case 3: return CA(); in __anon251c60740102()
|
| H A D | dr4xx.cpp | 1033 typedef const A CA; typedef 1034 void CA::f() { in f() 1035 this->~CA(); in f() 1036 this->CA::~A(); in f() 1037 this->CA::A::~A(); in f() 1039 CA::A() {} in A() 1041 struct B : CA { 1042 B() : CA() {} in B() 1043 void f() { return CA::f(); } in f()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroElide.cpp | 150 for (auto *CA : CoroAllocs) { in elideHeapAllocations() local 151 CA->replaceAllUsesWith(False); in elideHeapAllocations() 152 CA->eraseFromParent(); in elideHeapAllocations() 310 else if (auto *CA = dyn_cast<CoroAllocInst>(U)) in processCoroId() local 311 CoroAllocs.push_back(CA); in processCoroId()
|
| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | AUTHORS | 7 2333 CA Leiden 29 Los Altos, CA
|
| /llvm-project-15.0.7/libcxx/test/libcxx/containers/sequences/deque/ |
| H A D | spare_block_handling.pass.cpp | 204 ContainerAdaptor<Queue> CA; in TEST_CASE() local 205 const D& d = CA.GetContainer(); in TEST_CASE() 206 Queue &q = CA; in TEST_CASE()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | InlineCost.cpp | 645 if (CA.analyze().isSuccess()) { in onLoweredCall() 648 Cost -= std::max(0, CA.getThreshold() - CA.getCost()); in onLoweredCall() 1119 if (CA.analyze().isSuccess()) { in onLoweredCall() 1121 CA.getCost()); in onLoweredCall() 2810 auto R = CA.analyze(); in getInliningCostEstimate() 2813 return CA.getCost(); in getInliningCostEstimate() 2923 InlineResult ShouldInline = CA.analyze(); in getInlineCost() 2925 LLVM_DEBUG(CA.dump()); in getInlineCost() 2930 if (CA.wasDecidedByCostBenefit()) { in getInlineCost() 2938 if (CA.wasDecidedByCostThreshold()) in getInlineCost() [all …]
|