| /llvm-project-15.0.7/lldb/test/API/functionalities/limit-debug-info/ |
| H A D | onetwo.h | 1 struct One { struct 4 virtual ~One(); 7 struct Two : One { 14 struct One { struct 17 virtual ~One(); 21 One one; 29 struct One { struct 36 One one[3]; 44 struct One { struct 59 void One(int); [all …]
|
| H A D | one.cpp | 3 One::~One() = default; 4 member::One::~One() = default; 5 array::One::~One() = default; 7 result::One::One(int member) : member(member) {} in One() function in result::One 8 result::One::~One() = default; 10 void func_shadow::One(int) {} in One() function in func_shadow 11 func_shadow::One::~One() = default; 12 void func_shadow::One(float) {} in One() function in func_shadow
|
| H A D | main.cpp | 3 struct InheritsFromOne : One { 12 member::One one; 21 array::One array_of_one[3]; 24 result::One get_one() { return result::One(124); } in get_one() 28 struct ShadowedOne : func_shadow::One {
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 25 APInt One; member 30 : Zero(std::move(Zero)), One(std::move(One)) {} in KnownBits() 59 return One; in getConstant() 68 One.clearAllBits(); in resetAll() 92 One.setAllBits(); in setAllOnes() 111 One.setSignBit(); in makeNegative() 122 return One; in getMinValue() 128 APInt Min = One; in getSignedMinValue() 212 One.insertBits(SubBits.One, BitPosition); in insertBits() 309 return KnownBits(LHS.Zero & RHS.Zero, LHS.One & RHS.One); in commonBits() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-doc/ |
| H A D | MergeTest.cpp | 17 NamespaceInfo One; in TEST() local 18 One.Name = "Namespace"; in TEST() 28 One.ChildEnums.emplace_back(); in TEST() 79 RecordInfo One; in TEST() local 80 One.Name = "r"; in TEST() 154 FunctionInfo One; in TEST() local 155 One.Name = "f"; in TEST() 161 One.IsMethod = true; in TEST() 229 EnumInfo One; in TEST() local 230 One.Name = "e"; in TEST() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 32 APInt CarryKnownOne = PossibleSumOne ^ LHS.One ^ RHS.One; in computeForAddCarry() 98 Result.One = One << ExtBits; in sextInReg() 146 APInt One = Val.One; in smax() local 161 One.setBitVal(SignBitPosition, Val.One[SignBitPosition]); in smin() 210 SpecificShift.One = LHS.One << ShiftAmt; in shl() 558 Known.One = LHS.One & LowBits; in urem() 579 Known.One = LHS.One & LowBits; in srem() 605 One &= RHS.One; in operator &=() 613 One |= RHS.One; in operator |=() 619 APInt Z = (Zero & RHS.Zero) | (One & RHS.One); in operator ^=() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | KnownBitsTest.cpp | 90 EXPECT_TRUE(KnownNSWComputed.One.isSubsetOf(KnownNSW.One)); in TestAddSubExhaustive() 226 EXPECT_TRUE(ComputedMul.One.isSubsetOf(KnownMul.One)); in TEST() 230 EXPECT_TRUE(ComputedMulHS.One.isSubsetOf(KnownMulHS.One)); in TEST() 238 EXPECT_TRUE(ComputedUDiv.One.isSubsetOf(KnownUDiv.One)); in TEST() 242 EXPECT_TRUE(ComputedURem.One.isSubsetOf(KnownURem.One)); in TEST() 246 EXPECT_TRUE(ComputedSRem.One.isSubsetOf(KnownSRem.One)); in TEST() 250 EXPECT_TRUE(ComputedShl.One.isSubsetOf(KnownShl.One)); in TEST() 254 EXPECT_TRUE(ComputedLShr.One.isSubsetOf(KnownLShr.One)); in TEST() 258 EXPECT_TRUE(ComputedAShr.One.isSubsetOf(KnownAShr.One)); in TEST() 276 EXPECT_TRUE(ComputedMul.One.isSubsetOf(KnownMul.One)); in TEST() [all …]
|
| H A D | KnownBitsTest.h | 26 for (unsigned One = 0; One < Max; ++One) { in ForeachKnownBits() local 28 Known.One = One; in ForeachKnownBits() 43 if ((Num & Known.Zero) != 0 || (~Num & Known.One) != 0) in ForeachNumInKnownBits()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | cxx20-module-tmpl-1.cppm | 5 class One; 20 template void TPL<One>::M (One *); 22 template void TPL<One>::N<Two> (One *, Two *); 25 class One; 40 template void TPL<One>::M (One *); 42 template void TPL<One>::N<Two> (One *, Two *);
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/ |
| H A D | KnownBitsTest.cpp | 29 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 55 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 88 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 122 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 160 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 197 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 242 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 259 EXPECT_EQ(256u, Res.One.getZExtValue()); in TEST_F() 374 EXPECT_EQ(3u, Res.One.getZExtValue()); in TEST_F() 1112 EXPECT_TRUE(Res.One.isZero()); in TEST_F() [all …]
|
| H A D | KnownBitsVectorTest.cpp | 42 EXPECT_EQ(0x20u, Res.One.getZExtValue()); in TEST_F() 84 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 120 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 156 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 194 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 226 EXPECT_EQ(Res.One.getZExtValue(), Res2.One.getZExtValue()); in TEST_F() 1020 EXPECT_TRUE(Res.One.isZero()); in TEST_F() 1458 EXPECT_TRUE(EqSizeRes.One.isZero()); in TEST_F() 1503 EXPECT_EQ(0u, Res.One.getZExtValue()); in TEST_F() 1511 EXPECT_EQ(0u, Res.One.getZExtValue()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ConstantRangeTest.cpp | 304 EXPECT_EQ(One, One); in TEST_F() 487 EXPECT_EQ(Some.intersectWith(One), One); in TEST_F() 488 EXPECT_EQ(Full.intersectWith(One), One); in TEST_F() 1032 EXPECT_EQ(One.umax(One), One); in TEST_F() 1062 EXPECT_EQ(One.smax(One), One); in TEST_F() 1085 EXPECT_EQ(Some.umin(One), One); in TEST_F() 1088 EXPECT_EQ(One.umin(One), One); in TEST_F() 1113 EXPECT_EQ(Some.smin(One), One); in TEST_F() 1117 EXPECT_EQ(One.smin(One), One); in TEST_F() 2245 for (unsigned One = 0; One < Max; ++One) { in TEST_F() local [all …]
|
| H A D | ConstantsTest.cpp | 35 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One)); in TEST() 55 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One)); in TEST() 59 EXPECT_EQ(Poison, ConstantExpr::getShl(One, One)); in TEST() 63 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero)); in TEST() 67 EXPECT_EQ(Poison, ConstantExpr::getLShr(One, One)); in TEST() 71 EXPECT_EQ(Poison, ConstantExpr::getAShr(One, One)); in TEST() 75 EXPECT_EQ(One, ConstantExpr::getMul(NegOne, One)); in TEST() 79 EXPECT_EQ(One, ConstantFoldBinaryInstruction(Instruction::SDiv, NegOne, One)); in TEST() 83 EXPECT_EQ(One, ConstantFoldBinaryInstruction(Instruction::SDiv, One, NegOne)); in TEST() 282 V.push_back(One); in TEST() [all …]
|
| H A D | DemandedBitsTest.cpp | 35 Known1Redacted.One = Known1.One & AB1; in TestBinOpExhaustive() 37 Known2Redacted.One = Known2.One & AB2; in TestBinOpExhaustive()
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | DIEHashTest.cpp | 67 DIEInteger One(1); in TEST_F() local 82 DIEInteger One(1); in TEST_F() local 98 DIEInteger One(1); in TEST_F() local 103 One); in TEST_F() 194 DIEInteger One(1); in TEST_F() local 351 DIEInteger One(1); in TEST_F() local 429 DIEInteger One(1); in TEST_F() local 507 DIEInteger One(1); in TEST_F() local 544 DIEInteger One(1); in TEST_F() local 563 DIEInteger One(1); in TEST_F() local [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
| H A D | allocate_shared.pass.cpp | 59 struct One struct 63 explicit One(int v) : value(v) {++count;} in One() function 64 One(One const & o) : value(o.value) {++count;} in One() function 65 ~One() {--count;} in ~One() argument 68 int One::count = 0; 120 std::shared_ptr<One> p = std::allocate_shared<One>(Alloc(), i); in test() 121 assert(One::count == 1); in test() 124 assert(One::count == 0); in test()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 289 RHSKnown.One.isSubsetOf(LHSKnown.One)) { in SimplifyDemandedUseBits() 320 (LHSKnown.One & RHSKnown.One & DemandedMask) != 0) { in SimplifyDemandedUseBits() 321 APInt NewMask = ~(LHSKnown.One & RHSKnown.One & DemandedMask); in SimplifyDemandedUseBits() 599 Known.One <<= ShiftAmt; in SimplifyDemandedUseBits() 610 Known.One.setSignBit(); in SimplifyDemandedUseBits() 675 Known.One.lshrInPlace(ShiftAmt); in SimplifyDemandedUseBits() 739 Known.One |= HighBits; in SimplifyDemandedUseBits() 788 Known.One = LHSKnown.One & LowBits; in SimplifyDemandedUseBits() 798 Known.One |= ~LowBits; in SimplifyDemandedUseBits() 895 Known.One = LHSKnown.One.shl(ShiftAmt) | in SimplifyDemandedUseBits() [all …]
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | StoreTest.cpp | 68 SVal One = Builder.makeIntVal(1, ASTCtxt.IntTy); in performTest() local 90 Store StX1 = SManager.Bind(StInit, LX1, One).getStore(); in performTest() 91 EXPECT_EQ(One, SManager.getBinding(StX1, LX1, ASTCtxt.IntTy)); in performTest() 95 SManager.BindDefaultInitial(StInit, LY1.getAsRegion(), One).getStore(); in performTest() 96 EXPECT_EQ(One, SManager.getBinding(StY1, LY1, ASTCtxt.IntTy)); in performTest() 97 EXPECT_EQ(One, *SManager.getDefaultBinding(StY1, LY1.getAsRegion())); in performTest() 136 SVal One = Builder.makeIntVal(1, Int); in performTest() local 137 Store StX = SManager.Bind(StInit, ZeroElement, One).getStore(); in performTest() 140 EXPECT_EQ(One, SManager.getBinding(StX, ZeroElement, Int)); in performTest()
|
| /llvm-project-15.0.7/clang/test/ASTMerge/class-template-partial-spec/Inputs/ |
| H A D | class-template-partial-spec2.cpp | 55 namespace One { namespace 72 struct Child1<T, One::Two::Three::Parent<T>> { 78 namespace Dst { One::Child1<double, One::Two::Three::Parent<double>> Z0Dst; } 79 One::Child1<int, float> Z1;
|
| H A D | class-template-partial-spec1.cpp | 57 namespace One { namespace 64 namespace One { namespace 81 struct Child1<T, One::Two::Three::Parent<T>> { 87 One::Child1<int, double> Z0Source;
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | enum-bool.cpp | 5 enum E { Zero, One }; enumerator 16 enum E : bool { Zero, One }; enumerator 27 enum class E { Zero, One }; enumerator 38 enum class E : bool { Zero, One }; enumerator
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | objc-cstyle-args-in-methods.m | 16 [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/mlir/docs/ |
| H A D | Bufferization.md | 23 conversion-based bufferization to One-Shot Bufferize. 25 ## What is One-Shot Bufferize? 31 One-Shot Bufferize is: 66 To reduce complexity, One-Shot Bufferize should be 113 `%0`, One-Shot Bufferize considers only two options: 190 ## Using One-Shot Bufferize 205 `allow-unknown-ops`. In that case, One-Shot Bufferize inserts 214 dialect conversion-based bufferization to One-Shot Bufferize. One-Shot Bufferize 218 One-Shot Bufferize can also be called programmatically with 358 ## Extending One-Shot Bufferize [all …]
|
| /llvm-project-15.0.7/clang/test/Modules/Inputs/wildcard-submodule-exports/ |
| H A D | module.map | 2 module One { header "A_one.h" } 7 module One { header "B_one.h" } 12 module One {
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 273 AB &= ~Known2.One; in determineLiveOperandBits() 275 AB &= ~(Known.One & ~Known2.One); in determineLiveOperandBits() 544 APInt Bound = (LHS.Zero & RHS.Zero) | (LHS.One & RHS.One); in determineLiveOperandBitsAddCarry() 562 NeededToMaintainCarryOne = LHS.One | ~RHS.One; in determineLiveOperandBitsAddCarry() 565 NeededToMaintainCarryOne = RHS.One | ~LHS.One; in determineLiveOperandBitsAddCarry() 570 APInt PossibleSumOne = LHS.One + RHS.One + CarryOne; in determineLiveOperandBitsAddCarry() 603 NRHS.Zero = RHS.One; in determineLiveOperandBitsSub() 604 NRHS.One = RHS.Zero; in determineLiveOperandBitsSub()
|