| /llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.eng/rand.eng.mers/ |
| H A D | values.pass.cpp | 50 typedef std::mt19937 E; in test1() typedef 72 where(E::word_size); in test1() 73 where(E::state_size); in test1() 74 where(E::shift_size); in test1() 75 where(E::mask_bits); in test1() 76 where(E::xor_mask); in test1() 113 where(E::word_size); in test2() 114 where(E::state_size); in test2() 115 where(E::shift_size); in test2() 116 where(E::mask_bits); in test2() [all …]
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriterStmt.cpp | 319 for (auto *E : S->labels()) Record.AddStmt(E); in VisitGCCAsmStmt() local 375 VisitExpr(E); in VisitCoroutineSuspendExpr() 394 VisitExpr(E); in VisitDependentCoawaitExpr() 411 if (E) in addConstraintSatisfaction() 434 VisitExpr(E); in VisitConceptSpecializationExpr() 452 VisitExpr(E); in VisitRequiresExpr() 547 VisitStmt(E); in VisitExpr() 608 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr() 622 (E->getDecl() == E->getFoundDecl()) && in VisitDeclRefExpr() 631 if (E->getDecl() != E->getFoundDecl()) in VisitDeclRefExpr() [all …]
|
| H A D | ASTReaderStmt.cpp | 262 for (auto E = Record.size(); Record.getIdx() != E; ) { in VisitSwitchStmt() local 476 VisitExpr(E); in VisitCoawaitExpr() 485 VisitExpr(E); in VisitCoyieldExpr() 493 VisitExpr(E); in VisitDependentCoawaitExpr() 526 VisitStmt(E); in VisitExpr() 536 VisitExpr(E); in VisitConstantExpr() 570 VisitExpr(E); in VisitSYCLUniqueStableNameExpr() 580 VisitExpr(E); in VisitPredefinedExpr() 590 VisitExpr(E); in VisitDeclRefExpr() 807 E->Satisfaction = E->isValueDependent() ? nullptr : in VisitConceptSpecializationExpr() [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.enum/ |
| H A D | p1.cpp | 5 E v; 7 E g() { return E::e1; } in g() 8 E h(); 33 E v; 34 E f() { return E::e1; } in f() 42 B<int>::E b1 = B<int>::E::e1; 44 B<char>::E b2 = B<char>::E::e2; 62 B<long>::E b6 = B<long>::E::e5; 75 C<long>::E c2 = C<long>::E::e5; 79 C<int>::E c3 = C<int>::E::e6; [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ComputeDependence.cpp | 80 if (E->isArgumentType()) in computeDependence() 115 return E->getLHS()->getDependence() | E->getRHS()->getDependence(); in computeDependence() 119 return E->getBase()->getDependence() | E->getRowIdx()->getDependence() | in computeDependence() 120 (E->getColumnIdx() ? E->getColumnIdx()->getDependence() in computeDependence() 161 return E->getLHS()->getDependence() | E->getRHS()->getDependence(); in computeDependence() 169 return E->getCond()->getDependence() | E->getLHS()->getDependence() | in computeDependence() 174 return E->getCommon()->getDependence() | E->getFalseExpr()->getDependence(); in computeDependence() 205 E->getCond()->getDependence() | E->getLHS()->getDependence() | in computeDependence() 597 for (auto *A : llvm::makeArrayRef(E->getArgs(), E->getNumArgs())) { in computeDependence() 645 for (auto *C : llvm::makeArrayRef(E->getSubExprs(), E->getNumSubExprs())) in computeDependence() [all …]
|
| H A D | ExprConstant.cpp | 126 E = E->IgnoreParens(); in tryUnwrapAllocSizeCall() 145 return E && E->getType()->isPointerType() && tryUnwrapAllocSizeCall(E); in isBaseAnAllocSizeCall() 8357 E, E->getType(), in VisitMaterializeTemporaryExpr() 9023 E = E->IgnoreParens(); in GetAlignOfExpr() 10958 return Success(E->getValue(), E); in VisitIntegerLiteral() 10961 return Success(E->getValue(), E); in VisitCharacterLiteral() 11581 return !E || !isa<MemberExpr>(E); in refersToCompleteObject() 12277 Success(0, E) : Error(E); in VisitBuiltinCallExpr() 12530 E = E->IgnoreParens(); in enqueue() 12532 Queue.back().E = E; in enqueue() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.util/rand.util.canonical/ |
| H A D | generate_canonical.pass.cpp | 25 E r; in main() 27 assert(f == truncate_fp((16807 - E::min()) / (static_cast<F>(E::max() - E::min()) + F(1)))); in main() 32 E r; in main() 39 E r; in main() 46 E r; in main() 79 (282475249 - E::min()) * (static_cast<F>(E::max() - E::min()) + F(1))) / in main() 80 … ((static_cast<F>(E::max() - E::min()) + F(1)) * (static_cast<F>(E::max() - E::min()) + F(1))))); in main() 89 (282475249 - E::min()) * (static_cast<F>(E::max() - E::min()) + F(1))) / in main() 90 … ((static_cast<F>(E::max() - E::min()) + F(1)) * (static_cast<F>(E::max() - E::min()) + F(1))))); in main() 99 (282475249 - E::min()) * (static_cast<F>(E::max() - E::min()) + F(1))) / in main() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | v8i1-masks.ll | 170 ; X32-NEXT: vmovaps {{.*#+}} ymm1 = [-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.… 178 ; X64-NEXT: vmovaps {{.*#+}} ymm1 = [-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.… 188 …X32-AVX2-NEXT: vbroadcastss {{.*#+}} ymm2 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1… 197 …X64-AVX2-NEXT: vbroadcastss {{.*#+}} ymm2 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1… 212 ; X32-NEXT: vmovaps {{.*#+}} ymm1 = [-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.… 223 ; X64-NEXT: vmovaps {{.*#+}} ymm1 = [-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.… 236 …X32-AVX2-NEXT: vbroadcastss {{.*#+}} ymm2 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1… 248 …X64-AVX2-NEXT: vbroadcastss {{.*#+}} ymm2 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1… 268 ; X32-NEXT: vmovaps {{.*#+}} ymm1 = [-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.… 281 ; X64-NEXT: vmovaps {{.*#+}} ymm1 = [-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.0E-1,-5.… [all …]
|
| H A D | recip-fastmath2.ll | 754 ; BDVER2-NEXT: vmovaps {{.*#+}} ymm2 = [1.0E+0,2.0E+0,3.0E+0,4.0E+0,5.0E+0,6.0E+0,7.0E+0,8.0E+0] 762 ; BTVER2-NEXT: vmovaps {{.*#+}} ymm2 = [1.0E+0,2.0E+0,3.0E+0,4.0E+0,5.0E+0,6.0E+0,7.0E+0,8.0E+0] 774 ; SANDY-NEXT: vmovaps {{.*#+}} ymm2 = [1.0E+0,2.0E+0,3.0E+0,4.0E+0,5.0E+0,6.0E+0,7.0E+0,8.0E+0] 785 ; HASWELL-NEXT: vmovaps {{.*#+}} ymm2 = [1.0E+0,2.0E+0,3.0E+0,4.0E+0,5.0E+0,6.0E+0,7.0E+0,8.0E+0] 805 ; AVX512-NEXT: vmovaps {{.*#+}} ymm2 = [1.0E+0,2.0E+0,3.0E+0,4.0E+0,5.0E+0,6.0E+0,7.0E+0,8.0E+0] 869 ; BTVER2-NEXT: vmovaps {{.*#+}} ymm2 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0] 883 ; SANDY-NEXT: vmovaps {{.*#+}} ymm2 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0] 1030 ; SANDY-NEXT: vmovaps {{.*#+}} ymm3 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0] 1276 …ps {{.*#+}} zmm2 = [1.0E+0,2.0E+0,3.0E+0,4.0E+0,5.0E+0,6.0E+0,7.0E+0,8.0E+0,9.0E+0,1.0E+1,1.1E+1,1… 1695 …ss {{.*#+}} zmm2 = [1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1.0E+0,1… [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ComputeDependence.h | 111 ExprDependence computeDependence(FullExpr *E); 113 ExprDependence computeDependence(ParenExpr *E); 126 ExprDependence computeDependence(VAArgExpr *E); 127 ExprDependence computeDependence(ChooseExpr *E); 128 ExprDependence computeDependence(NoInitExpr *E); 133 ExprDependence computeDependence(BlockExpr *E); 134 ExprDependence computeDependence(AsTypeExpr *E); 155 ExprDependence computeDependence(CXXNewExpr *E); 165 ExprDependence computeDependence(LambdaExpr *E, 179 ExprDependence computeDependence(MemberExpr *E); [all …]
|
| H A D | IgnoreExpr.h | 23 inline Expr *IgnoreExprNodesImpl(Expr *E) { return E; } in IgnoreExprNodesImpl() argument 36 LastE = E; in IgnoreExprNodes() 39 return E; in IgnoreExprNodes() 54 return E; in IgnoreImplicitCastsSingleStep() 71 return E; in IgnoreImplicitCastsExtraSingleStep() 87 return E; in IgnoreCastsSingleStep() 107 return E; in IgnoreBaseCastsSingleStep() 121 return E; in IgnoreImplicitSingleStep() 133 return E; in IgnoreElidableImplicitConstructorSingleStep() 146 return E; in IgnoreParensOnlySingleStep() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | BitmaskEnum.h | 72 template <typename E> 80 template <typename E> constexpr std::underlying_type_t<E> Mask() { 90 template <typename E> constexpr std::underlying_type_t<E> Underlying(E Val) { 102 constexpr E operator~(E Val) { 103 return static_cast<E>(~Underlying(Val) & Mask<E>()); 107 constexpr E operator|(E LHS, E RHS) { 112 constexpr E operator&(E LHS, E RHS) { 117 constexpr E operator^(E LHS, E RHS) { 125 E &operator|=(E &LHS, E RHS) { 131 E &operator&=(E &LHS, E RHS) { [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | consteval-return-void.cpp | 10 enum E {}; enum 12 constexpr E operator+(E,E) { return; } // expected-error {{non-void constexpr function 'operator+' … in operator +() argument 13 consteval E operator-(E,E) { return; } // expected-error {{non-void consteval function 'operator-'… in operator -() argument 14 template <typename T> constexpr E operator+(E,E) { return; } // expected-error {{non-void constexpr… in operator +() argument 15 template <typename T> consteval E operator-(E,E) { return; } // expected-error {{non-void consteval… in operator -() argument 17 template <typename T> constexpr E operator*(E,E); 18 template <typename T> consteval E operator/(E,E); 19 template <> constexpr E operator*<int>(E,E) { return; } // expected-error {{non-void constexpr func… 20 template <> consteval E operator/<int>(E,E) { return; } // expected-error {{non-void consteval func…
|
| H A D | warn-unsequenced.cpp | 289 E operator+(E,E); 290 E operator-(E,E); 291 E operator*(E,E); 292 E operator/(E,E); 293 E operator%(E,E); 294 E operator^(E,E); 295 E operator&(E,E); 296 E operator|(E,E); 298 E operator<(E,E); 299 E operator>(E,E); [all …]
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexBody.cpp | 143 return IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitDeclRefExpr() 150 Loc = E->getBeginLoc(); in VisitMemberExpr() 192 E, E->getBaseType().getTypePtrOrNull(), Info, in VisitCXXDependentScopeMemberExpr() 216 return IndexCtx.handleReference(E->getDecl(), E->getLocation(), in VisitObjCIvarRefExpr() 264 if (isDynamic(E)) { in VisitObjCMessageExpr() 296 return IndexCtx.handleReference(E->getExplicitProperty(), E->getLocation(), in VisitObjCPropertyRefExpr() 318 return IndexCtx.handleReference(E->getPropertyDecl(), E->getMemberLoc(), in VisitMSPropertyRefExpr() 323 return IndexCtx.handleReference(E->getProtocol(), E->getProtocolIdLoc(), in VisitObjCProtocolExpr() 361 return IndexCtx.handleReference(E->getConstructor(), E->getLocation(), in VisitCXXConstructExpr() 379 for (DeclGroupRef::iterator I = DG.begin(), E = DG.end(); I != E; ++I) { in VisitDeclStmt() local [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyTraverse.h | 80 switch (E->opcode()) { in traverseByCase() 153 void push_back(T E) { Elems.push_back(E); } in push_back() argument 178 void push_back(bool E) { Success = Success && E; } in push_back() argument 268 return E; in reduceReturn() 276 return C && T && E; in reduceIfThenElse() 499 if (!E) { 503 if (Sub && E->block() && E->opcode() != COP_Variable) { 543 SS << E->value(); in printLiteralT() 841 if (E->parent()) in printBasicBlock() 877 printBlockLabel(SS, E->targetBlock(), E->index()); in printGoto() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.eng/rand.eng.sub/ |
| H A D | values.pass.cpp | 38 typedef std::ranlux24_base E; in test1() typedef 46 assert((E::min() == 0)); in test1() 50 where(E::word_size); in test1() 51 where(E::short_lag); in test1() 52 where(E::long_lag); in test1() 53 where(E::default_seed); in test1() 67 assert((E::min() == 0)); in test2() 71 where(E::word_size); in test2() 72 where(E::short_lag); in test2() 73 where(E::long_lag); in test2() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.enum/ |
| H A D | enum.perms.pass.cpp | 27 typedef fs::perms E; in main() typedef 36 typedef check_bitmask_type<E, E::group_all, E::owner_all> BitmaskTester; in main() 40 E::none == ME(0) && in main() 47 E::group_read == ME(040) && in main() 48 E::group_write == ME(020) && in main() 49 E::group_exec == ME(010) && in main() 50 E::group_all == ME(070) && in main() 52 E::others_read == ME(04) && in main() 53 E::others_write == ME(02) && in main() 54 E::others_exec == ME(01) && in main() [all …]
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugLoc.cpp | 59 return createResolverError(E.Value0, E.Kind); in Interpret() 65 return createResolverError(E.Value0, E.Kind); in Interpret() 68 return createResolverError(E.Value1, E.Kind); in Interpret() 71 E.Loc}; in Interpret() 76 return createResolverError(E.Value0, E.Kind); in Interpret() 97 Base = SectionedAddress{E.Value0, E.SectionIndex}; in Interpret() 101 DWARFAddressRange{E.Value0, E.Value1, E.SectionIndex}, E.Loc}; in Interpret() 104 DWARFAddressRange{E.Value0, E.Value0 + E.Value1, E.SectionIndex}, in Interpret() 105 E.Loc}; in Interpret() 165 if (E) { in dumpLocationList() [all …]
|
| /llvm-project-15.0.7/clang/lib/ARCMigrate/ |
| H A D | TransUnbridgedCasts.cpp | 87 bool VisitCastExpr(CastExpr *E) { in VisitCastExpr() argument 122 if (!E) return; in transformNonObjCToObjCCast() 125 if (isGlobalVar(E)) in transformNonObjCToObjCCast() 327 if (Removables->count(E)) { in tryRemoving() 328 Pass.TA.removeStmt(E); in tryRemoving() 351 if (isSelf(E->getSubExpr())) in transformObjCToNonObjCCast() 371 Stmt *parent = E; in transformObjCToNonObjCCast() 407 E = E->IgnoreParenCasts(); in getFamilyOfMessage() 435 if (arg == E || arg->IgnoreParenImpCasts() == E) in isPassedToCParamWithKnownOwnership() 450 bool isSelf(Expr *E) const { in isSelf() [all …]
|
| H A D | TransRetainReleaseDealloc.cpp | 63 if (E->isInstanceMessage() && E->getSelector() == FinalizeSel) in VisitObjCMessageExpr() 76 E->getBeginLoc(), E->getSourceRange()); in VisitObjCMessageExpr() 88 (E->getMethodFamily() != OMF_retain || isRemovable(E))) { in VisitObjCMessageExpr() 97 (E->getMethodFamily() != OMF_retain || isRemovable(E))) { in VisitObjCMessageExpr() 126 if (tryRemoving(E)) in VisitObjCMessageExpr() 246 if (!E) in getPreviousAndNextStmt() 290 if (!E) in getReferencedDecl() 293 E = E->IgnoreParenCasts(); in getReferencedDecl() 398 E = E->IgnoreParenCasts(); in isDelegateMessage() 411 assert(E); in isInAtFinally() [all …]
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 123 void VisitUnaryCoawait(UnaryOperator *E) { Visit(E->getSubExpr()); } in VisitUnaryCoawait() argument 141 void VisitDeclRefExpr(DeclRefExpr *E) { EmitAggLoadOfLValue(E); } in VisitDeclRefExpr() argument 143 void VisitUnaryDeref(UnaryOperator *E) { EmitAggLoadOfLValue(E); } in VisitUnaryDeref() argument 204 CGF.EmitPseudoObjectRValue(E, EnsureSlot(E->getType())); in VisitPseudoObjectExpr() 454 if (!E) in isTrivialFiller() 1104 E = E->IgnoreParens(); in isBlockVarRef() 1326 E->inheritedFromVBase(), E); in VisitCXXInheritedCtorInitExpr() 1496 E = E->IgnoreParens(); in isSimpleZero() 1622 EmitArrayInit(Dest.getAddress(), AType, E->getType(), E); in VisitInitListExpr() 1889 E = E->IgnoreParenNoopCasts(CGF.getContext()); in GetNumNonZeroBytesInInit() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/ |
| H A D | ctor_result_type.pass.cpp | 45 E e(5); in test1() 50 E e(5); in test1() 55 E e(5); in test1() 67 E e(7); in test2() 72 E e(0); in test2() 77 E e(4); in test2() 89 E e(3); in test3() 94 E e(5); in test3() 99 E e(7); in test3() 111 E e(7); in test4() [all …]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | UsedDeclVisitor.h | 33 auto *D = E->getDecl(); in VisitDeclRefExpr() 40 auto *D = E->getMemberDecl(); in VisitMemberExpr() 44 asImpl().Visit(E->getBase()); in VisitMemberExpr() 54 E->getBeginLoc(), in VisitCXXBindTemporaryExpr() 60 if (E->getOperatorNew()) in VisitCXXNewExpr() 61 asImpl().visitUsedDecl(E->getBeginLoc(), E->getOperatorNew()); in VisitCXXNewExpr() 62 if (E->getOperatorDelete()) in VisitCXXNewExpr() 63 asImpl().visitUsedDecl(E->getBeginLoc(), E->getOperatorDelete()); in VisitCXXNewExpr() 68 if (E->getOperatorDelete()) in VisitCXXDeleteExpr() 69 asImpl().visitUsedDecl(E->getBeginLoc(), E->getOperatorDelete()); in VisitCXXDeleteExpr() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/modernize/ |
| H A D | loop-convert-basic.cpp | 581 for (int I = 0, E = V.size(); I < E; ++I) { in f() local 590 for (int I = 0, E = V.size(); I < E; ++I) { in f() local 599 for (int I = 0, E = Pv->size(); I < E; ++I) { in f() local 630 for (int I = 0, E = V.size(); E > I; ++I) { in f() local 639 for (int I = 0, E = V.size(); I != E; ++I) { in f() local 648 for (int I = 0, E = V.size(); E != I; ++I) { in f() local 661 for (int I = 0, E = Constv.size(); I < E; ++I) { in constness() local 670 for (int I = 0, E = Constv.size(); I < E; ++I) { in constness() local 679 for (int I = 0, E = Pconstv->size(); I < E; ++I) { in constness() local 758 for (unsigned I = 0, E = NBE.size(); I < E; ++I) in NoBeginEndTest() local [all …]
|