Home
last modified time | relevance | path

Searched refs:Two (Results 1 – 25 of 252) sorted by relevance

1234567891011

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dinit-priority-attr.cpp10 class Two { class
15 Two( int ii, int jj ) { i = ii; j = jj; k = count++; }; in Two() function in Two
16 Two( void ) { i = 0; j = 0; k = count++; }; in Two() function in Two
22 extern Two foo;
23 extern Two goo;
24 extern Two coo[];
25 extern Two koo[];
27 Two foo __attribute__((init_priority(101))) ( 5, 6 );
31 Two goo __attribute__((init_priority(2,3))) ( 5, 6 ); // expected-error {{'init_priority' attribute…
34 Two coo[2] __attribute__((init_priority(100)));
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/limit-debug-info/
H A Dtwo.cpp3 Two::~Two() = default;
4 member::Two::~Two() = default;
5 array::Two::~Two() = default;
7 result::Two::Two(int member) : member(member) {} in Two() function in result::Two
8 result::Two::~Two() = default;
9 result::One result::Two::one() const { return One(member - 100); } in one()
H A Donetwo.h7 struct Two : One { struct
9 constexpr Two() = default; argument
10 ~Two() override;
20 struct Two { struct
23 constexpr Two() = default; argument
24 virtual ~Two();
35 struct Two { struct
39 virtual ~Two();
50 struct Two { struct
52 Two(int member); argument
[all …]
H A Dmain.cpp7 struct InheritsFromTwo : Two {
17 member::Two two;
22 array::Two array_of_two[3];
25 result::Two get_two() { return result::Two(224); } in get_two()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-doc/
H A DMergeTest.cpp32 NamespaceInfo Two; in TEST() local
33 Two.Name = "Namespace"; in TEST()
42 Two.ChildEnums.emplace_back(); in TEST()
101 RecordInfo Two; in TEST() local
102 Two.Name = "r"; in TEST()
113 Two.ChildEnums.emplace_back(); in TEST()
175 FunctionInfo Two; in TEST() local
176 Two.Name = "f"; in TEST()
238 EnumInfo Two; in TEST() local
239 Two.Name = "e"; in TEST()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dstwu-gta.ll5 %class.Two.0.5 = type { i32, i32, i32 }
7 @foo = external global %class.Two.0.5, align 4
11 …store i32 5, i32* getelementptr inbounds (%class.Two.0.5, %class.Two.0.5* @foo, i32 0, i32 0), ali…
12 …store i32 6, i32* getelementptr inbounds (%class.Two.0.5, %class.Two.0.5* @foo, i32 0, i32 1), ali…
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
H A Dallocate_shared.pass.cpp71 struct Two struct
75 Two(int v, int) : value(v) {++count;} in Two() argument
76 Two(Two const & o) : value(o.value) {++count;} in Two() argument
77 ~Two() {--count;} in ~Two() argument
80 int Two::count = 0;
127 std::shared_ptr<Two> p = std::allocate_shared<Two>(Alloc(), i, bad); in test()
128 assert(Two::count == 1); in test()
131 assert(Two::count == 0); in test()
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dforeach-variable-range.td6 int Two = 2;
16 foreach Index = Constants.Zero ... Constants.Two in {
23 foreach Index = Constants.Zero...Constants.Two in {
30 foreach Index = Constants.Zero ...Constants.Two in {
37 foreach Index = Constants.Zero... Constants.Two in {
44 foreach Index = 0 ... Constants.Two in {
51 foreach Index = 0...Constants.Two in {
58 foreach Index = 0 ...Constants.Two in {
65 foreach Index = 0... Constants.Two in {
101 foreach Index = {Constants.Zero...Constants.One, Constants.Two...Constants.Three} in {
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dcxx20-module-tmpl-1.cppm6 class Two;
22 template void TPL<One>::N<Two> (One *, Two *);
26 class Two;
42 template void TPL<One>::N<Two> (One *, Two *);
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dobjc-cstyle-args-in-methods.m16 [foo test:@"One", @"Two"];
17 [foo bad:@"One", @"Two"]; // expected-error {{too few arguments to method call}}
18 [foo bad:@"One", @"Two", 3.14];
19 [foo bad:@"One", @"Two", 3.14, @"Two"]; // expected-error {{too many arguments to method call}}
/llvm-project-15.0.7/clang/test/ASTMerge/class-template-partial-spec/Inputs/
H A Dclass-template-partial-spec2.cpp56 namespace Two { namespace
67 struct Child1: public Two::Three::Parent<unsigned> {
72 struct Child1<T, One::Two::Three::Parent<T>> {
78 namespace Dst { One::Child1<double, One::Two::Three::Parent<double>> Z0Dst; }
H A Dclass-template-partial-spec1.cpp58 namespace Two { namespace
65 namespace Two { namespace
76 struct Child1: public Two::Three::Parent<unsigned> {
81 struct Child1<T, One::Two::Three::Parent<T>> {
/llvm-project-15.0.7/clang/test/Modules/Inputs/wildcard-submodule-exports/
H A Dmodule.map3 module Two { header "A_two.h" }
8 module Two { header "B_two.h" }
16 module Two {
H A DC_two.h1 @import A.Two;
2 @import B.Two;
/llvm-project-15.0.7/clang/test/CodeGen/PowerPC/
H A Dppc32-and-aix-struct-return.c38 } Two; typedef
72 Two ret2(void) { return (Two){123}; } in ret2()
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Damdgcn-large-globals.cl6 // CHECK: @Two ={{.*}} local_unnamed_addr addrspace(1) global [6442450944 x i32] zeroinitializer, a…
7 global unsigned int Two[6442450944];
11 Two[id + 1] = id + 1;
/llvm-project-15.0.7/llvm/unittests/ADT/
H A DBitFieldsTest.cpp120 enum Enum : unsigned { Zero = 0, Two = 2, LAST = Two }; in TEST() enumerator
125 Bitfield::set<OrderingField>(Storage, Two); in TEST()
126 EXPECT_EQ(Bitfield::get<OrderingField>(Storage), Two); in TEST()
132 enum class Enum : unsigned { Zero = 0, Two = 2, LAST = Two }; in TEST() enumerator
137 Bitfield::set<OrderingField>(Storage, Enum::Two); in TEST()
138 EXPECT_EQ(Bitfield::get<OrderingField>(Storage), Enum::Two); in TEST()
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DSharedClusterTest.cpp31 auto *Two = new DestructNotifier(Queue, 2); in TEST() local
33 CM->ManageObject(Two); in TEST()
48 std::shared_ptr<DestructNotifier> TwoPtr = CM->GetSharedPointer(Two); in TEST()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DDJBTest.cpp18 StringLiteral Two; in TEST() member
53 SCOPED_TRACE("Comparing '" + T.One + "' and '" + T.Two + "'"); in TEST()
54 EXPECT_EQ(caseFoldingDjbHash(T.One), caseFoldingDjbHash(T.Two)); in TEST()
H A DInstructionCostTest.cpp86 auto Two = InstructionCost(2); in TEST_F() local
91 EXPECT_EQ(Max * Two, Max); in TEST_F()
92 EXPECT_EQ(Min * Two, Min); in TEST_F()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dalias-church-numerals.cpp13 template<template<typename> class F, typename X> using Two = Succ<One, F, X>; typedef
25 template<template<typename> class F, typename X> using Four = Add<Two, Two, F, X>;
/llvm-project-15.0.7/lldb/test/API/functionalities/tail_call_frames/cross_dso/
H A DTwo.mk1 DYLIB_NAME := Two
2 DYLIB_C_SOURCES := Two.c
/llvm-project-15.0.7/lldb/test/API/lang/c/conflicting-symbol/
H A DTwo.mk1 DYLIB_NAME := Two
2 DYLIB_C_SOURCES := Two.c TwoConstant.c
/llvm-project-15.0.7/llvm/test/Analysis/BasicAA/
H A Dphi-and-select.ll15 ; Two PHIs in the same block.
34 ; Two selects with the same condition.
44 ; Two PHIs with disjoint sets of inputs.
73 ; Two selects with disjoint sets of arms.
/llvm-project-15.0.7/llvm/examples/Fibonacci/
H A Dfibonacci.cpp64 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in CreateFibFunction() local
76 Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond"); in CreateFibFunction()
88 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction()

1234567891011