| /llvm-project-15.0.7/libcxx/test/std/numerics/complex.number/complex.ops/ |
| H A D | complex_divide_complex.pass.cpp | 46 switch (classify(testcases[i])) in test_edges() 49 switch (classify(testcases[j])) in test_edges() 52 assert(classify(r) == NaN); in test_edges() 55 assert(classify(r) == zero); in test_edges() 58 assert(classify(r) == zero); in test_edges() 61 assert(classify(r) == NaN); in test_edges() 64 assert(classify(r) == NaN); in test_edges() 69 switch (classify(testcases[j])) in test_edges() 72 assert(classify(r) == inf); in test_edges() 81 assert(classify(r) == NaN); in test_edges() [all …]
|
| H A D | complex_times_complex.pass.cpp | 48 switch (classify(testcases[i])) in test_edges() 51 switch (classify(testcases[j])) in test_edges() 54 assert(classify(r) == zero); in test_edges() 57 assert(classify(r) == zero); in test_edges() 60 assert(classify(r) == NaN); in test_edges() 63 assert(classify(r) == NaN); in test_edges() 66 assert(classify(r) == NaN); in test_edges() 71 switch (classify(testcases[j])) in test_edges() 80 assert(classify(r) == inf); in test_edges() 83 assert(classify(r) == NaN); in test_edges() [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/builtins/Unit/ |
| H A D | muldc3_test.c | 19 classify(double _Complex x) in classify() function 55 switch (classify(dividend)) in test__muldc3() 58 switch (classify(divisor)) in test__muldc3() 61 if (classify(r) != zero) in test__muldc3() 65 if (classify(r) != zero) in test__muldc3() 69 if (classify(r) != NaN) in test__muldc3() 73 if (classify(r) != NaN) in test__muldc3() 77 if (classify(r) != NaN) in test__muldc3() 83 switch (classify(divisor)) in test__muldc3() 110 switch (classify(divisor)) in test__muldc3() [all …]
|
| H A D | multc3_test.c | 20 classify(long double _Complex x) in classify() function 56 switch (classify(dividend)) in test__multc3() 59 switch (classify(divisor)) in test__multc3() 62 if (classify(r) != zero) in test__multc3() 66 if (classify(r) != zero) in test__multc3() 70 if (classify(r) != NaN) in test__multc3() 74 if (classify(r) != NaN) in test__multc3() 78 if (classify(r) != NaN) in test__multc3() 84 switch (classify(divisor)) in test__multc3() 111 switch (classify(divisor)) in test__multc3() [all …]
|
| H A D | divtc3_test.c | 24 classify(long double _Complex x) in classify() function 61 switch (classify(dividend)) in test__divtc3() 64 switch (classify(divisor)) in test__divtc3() 67 if (classify(r) != NaN) in test__divtc3() 71 if (classify(r) != zero) in test__divtc3() 79 if (classify(r) != NaN) in test__divtc3() 83 if (classify(r) != NaN) in test__divtc3() 89 switch (classify(divisor)) in test__divtc3() 92 if (classify(r) != inf) in test__divtc3() 120 switch (classify(divisor)) in test__divtc3() [all …]
|
| H A D | divxc3_test.c | 24 classify(long double _Complex x) in classify() function 60 switch (classify(dividend)) in test__divxc3() 63 switch (classify(divisor)) in test__divxc3() 66 if (classify(r) != NaN) in test__divxc3() 70 if (classify(r) != zero) in test__divxc3() 78 if (classify(r) != NaN) in test__divxc3() 82 if (classify(r) != NaN) in test__divxc3() 88 switch (classify(divisor)) in test__divxc3() 91 if (classify(r) != inf) in test__divxc3() 119 switch (classify(divisor)) in test__divxc3() [all …]
|
| H A D | divdc3_test.c | 19 classify(double _Complex x) in classify() function 55 switch (classify(dividend)) in test__divdc3() 58 switch (classify(divisor)) in test__divdc3() 61 if (classify(r) != NaN) in test__divdc3() 65 if (classify(r) != zero) in test__divdc3() 73 if (classify(r) != NaN) in test__divdc3() 77 if (classify(r) != NaN) in test__divdc3() 83 switch (classify(divisor)) in test__divdc3() 86 if (classify(r) != inf) in test__divdc3() 114 switch (classify(divisor)) in test__divdc3() [all …]
|
| H A D | divsc3_test.c | 19 classify(float _Complex x) in classify() function 55 switch (classify(dividend)) in test__divsc3() 58 switch (classify(divisor)) in test__divsc3() 61 if (classify(r) != NaN) in test__divsc3() 65 if (classify(r) != zero) in test__divsc3() 73 if (classify(r) != NaN) in test__divsc3() 77 if (classify(r) != NaN) in test__divsc3() 83 switch (classify(divisor)) in test__divsc3() 86 if (classify(r) != inf) in test__divsc3() 114 switch (classify(divisor)) in test__divsc3() [all …]
|
| H A D | mulsc3_test.c | 19 classify(float _Complex x) in classify() function 55 switch (classify(dividend)) in test__mulsc3() 58 switch (classify(divisor)) in test__mulsc3() 61 if (classify(r) != zero) in test__mulsc3() 65 if (classify(r) != zero) in test__mulsc3() 69 if (classify(r) != NaN) in test__mulsc3() 73 if (classify(r) != NaN) in test__mulsc3() 77 if (classify(r) != NaN) in test__mulsc3() 83 switch (classify(divisor)) in test__mulsc3() 114 switch (classify(divisor)) in test__mulsc3() [all …]
|
| H A D | mulxc3_test.c | 24 classify(long double _Complex x) in classify() function 60 switch (classify(dividend)) in test__mulxc3() 63 switch (classify(divisor)) in test__mulxc3() 66 if (classify(r) != zero) in test__mulxc3() 74 if (classify(r) != NaN) in test__mulxc3() 78 if (classify(r) != NaN) in test__mulxc3() 82 if (classify(r) != NaN) in test__mulxc3() 88 switch (classify(divisor)) in test__mulxc3() 101 if (classify(r) != inf) in test__mulxc3() 115 switch (classify(divisor)) in test__mulxc3() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/numerics/complex.number/complex.value.ops/ |
| H A D | polar.pass.cpp | 55 switch (classify(r)) in test_edges() 58 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) in test_edges() 60 int c = classify(z); in test_edges() 69 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) in test_edges() 71 int c = classify(z); in test_edges() 82 int c = classify(z); in test_edges() 87 assert(classify(z) == inf); in test_edges() 88 if (classify(theta) != NaN && classify(theta) != inf) in test_edges() 90 assert(classify(real(z)) != NaN); in test_edges() 91 assert(classify(imag(z)) != NaN); in test_edges() [all …]
|
| H A D | proj.pass.cpp | 44 switch (classify(testcases[i])) in test_edges() 59 assert(classify(r) == classify(testcases[i])); in test_edges()
|
| H A D | norm.pass.cpp | 35 switch (classify(testcases[i])) in test_edges()
|
| H A D | abs.pass.cpp | 35 switch (classify(testcases[i])) in test_edges()
|
| /llvm-project-15.0.7/lldb/unittests/ObjectFile/Breakpad/ |
| H A D | BreakpadRecordsTest.cpp | 16 TEST(Record, classify) { in TEST() argument 17 EXPECT_EQ(Record::Module, Record::classify("MODULE")); in TEST() 18 EXPECT_EQ(Record::Info, Record::classify("INFO")); in TEST() 19 EXPECT_EQ(Record::File, Record::classify("FILE")); in TEST() 20 EXPECT_EQ(Record::Func, Record::classify("FUNC")); in TEST() 21 EXPECT_EQ(Record::Inline, Record::classify("INLINE")); in TEST() 23 EXPECT_EQ(Record::Public, Record::classify("PUBLIC")); in TEST() 28 EXPECT_EQ(llvm::None, Record::classify("STACK")); in TEST() 30 EXPECT_EQ(llvm::None, Record::classify("CODE_ID")); in TEST() 34 EXPECT_EQ(Record::Line, Record::classify("deadbeef")); in TEST() [all …]
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | UninitializedValues.cpp | 329 classify(CO->getTrueExpr(), C); in classify() 330 classify(CO->getFalseExpr(), C); in classify() 347 classify(ME->getBase(), C); in classify() 356 classify(BO->getLHS(), C); in classify() 359 classify(BO->getRHS(), C); in classify() 387 classify(BO->getLHS(), Use); in VisitBinaryOperator() 389 classify(BO->getLHS(), Ignore); in VisitBinaryOperator() 396 classify(UO->getSubExpr(), Use); in VisitUnaryOperator() 401 classify(cast<Expr>(S), Use); in VisitOMPExecutableDirective() 422 classify(CE->getArg(0), Use); in VisitCallExpr() [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | ByteCodeExprGen.h | 101 llvm::Optional<PrimType> classify(const Expr *E) const { in classify() function 102 return E->isGLValue() ? PT_Ptr : classify(E->getType()); in classify() 104 llvm::Optional<PrimType> classify(QualType Ty) const { in classify() function 105 return Ctx.classify(Ty); in classify() 115 if (auto T = classify(Ty)) { in classifyPrim() 200 return emitConst(*Ctx.classify(Ty), NumBits, WrappedValue, E); in emitConst()
|
| H A D | ByteCodeExprGen.cpp | 135 if (Optional<PrimType> T = classify(LitTy)) in VisitIntegerLiteral() 163 Optional<PrimType> LT = classify(LHS->getType()); in VisitBinaryOperator() 164 Optional<PrimType> RT = classify(RHS->getType()); in VisitBinaryOperator() 169 if (Optional<PrimType> T = classify(BO->getType())) { in VisitBinaryOperator() 222 if (Optional<PrimType> T = classify(E->getType())) { in visitBool() 260 if (Optional<PrimType> T = classify(LV->getType())) { in dereference() 524 if (Optional<PrimType> T = classify(Exp)) in visitExpr() 535 if (Optional<PrimType> T = classify(VD->getType())) { in visitDecl()
|
| H A D | Program.cpp | 183 if (auto T = Ctx.classify(Ty)) { in createGlobal() 292 if (llvm::Optional<PrimType> T = Ctx.classify(FT)) { in getOrCreateRecord() 326 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor() 352 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor() 374 PrimType ElemTy = *Ctx.classify(CT->getElementType()); in createDescriptor()
|
| H A D | Context.cpp | 62 llvm::Optional<PrimType> Context::classify(QualType T) { in classify() function in Context 104 return classify(AT->getValueType()); in classify()
|
| H A D | EvalEmitter.cpp | 126 if (llvm::Optional<PrimType> T = Ctx.classify(FieldTy)) { in emitRetValue() 148 if (llvm::Optional<PrimType> T = Ctx.classify(FieldTy)) { in emitRetValue() 180 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { in emitRetValue()
|
| H A D | ByteCodeEmitter.cpp | 35 if (!Ty->isVoidType() && !Ctx.classify(Ty)) { in compileFunc() 44 if (llvm::Optional<PrimType> T = Ctx.classify(PD->getType())) { in compileFunc()
|
| H A D | ByteCodeStmtGen.cpp | 95 ReturnType = this->classify(F->getReturnType()); in visitFunc() 243 if (Optional<PrimType> T = this->classify(DT)) { in visitVarDecl()
|
| H A D | Context.h | 63 llvm::Optional<PrimType> classify(QualType T);
|
| /llvm-project-15.0.7/clang-tools-extra/clang-include-fixer/ |
| H A D | FuzzySymbolIndex.cpp | 54 CharType classify(char c) { in classify() function 80 CharType Type = classify(Text[I]); in tokenize()
|