Home
last modified time | relevance | path

Searched full:point (Results 1 – 25 of 4892) sorted by relevance

12345678910>>...196

/llvm-project/llvm/unittests/ADT/
H A DIntervalTreeTest.cpp15 // c) Query for specific interval point, covering points inside and outside
17 // d) Traversal for specific interval point, using the iterators.
38 void checkItem(TPoint Point, TItem Item, TPoint Left, TPoint Right, in checkItem() argument
40 EXPECT_TRUE(Item->contains(Point)); in checkItem()
60 bool left(const PointType &Point) const { return UUData::left(Point); } in TEST()
61 bool right(const PointType &Point) const { return UUData::right(Point); } in TEST()
62 bool contains(const PointType &Point) const { in TEST()
63 return UUData::contains(Point); in TEST()
72 auto CheckData = [](UUPoint Point, const UUData *Data, UUPoint Left, in TEST()
74 checkItem<UUPoint, const UUData *, UUValue>(Point, Data, Left, Right, in TEST()
[all …]
/llvm-project/clang/test/OpenMP/
H A Dcancellation_point_messages.cpp7 #pragma omp cancellation point // expected-error {{one of 'for', 'parallel', 'sections' or 'taskgro… in main()
11 #pragma omp cancellation point // expected-error {{one of 'for', 'parallel', 'sections' or 'taskgro… in main()
13point parallel untied allocate(argc) // expected-error {{unexpected OpenMP clause 'untied' in dire… in main()
14 #pragma omp cancellation point unknown // expected-error {{one of 'for', 'parallel', 'secti… in main()
17 #pragma omp cancellation point unknown // expected-error {{one of 'for', 'parallel', 'secti… in main()
19point sections( // expected-warning {{extra tokens at the end of '#pragma omp cancellation p… in main()
20point for, ) // expected-warning {{extra tokens at the end of '#pragma omp cancellation p… in main()
21point taskgroup() // expected-warning {{extra tokens at the end of '#pragma omp cancellation p… in main()
22point parallel, if // expected-warning {{extra tokens at the end of '#pragma omp cancellation p… in main()
24point for // expected-error {{'#pragma omp cancellation point' cannot be an immediate substatemen… in main()
[all …]
/llvm-project/flang/test/Semantics/OpenMP/
H A Dnested-cancellation-point.f905 ! 2.18.2 Cancellation Point Construct
11 !ERROR: CANCELLATION POINT TASKGROUP directive is not closely nested inside TASK or TASKLOOP
12 !$omp cancellation point taskgroup
14 !ERROR: CANCELLATION POINT SECTIONS directive is not closely nested inside SECTION or SECTIONS
15 !$omp cancellation point sections
17 …!ERROR: CANCELLATION POINT DO directive is not closely nested inside the construct that matches th…
18 !$omp cancellation point do
20 …!ERROR: CANCELLATION POINT PARALLEL directive is not closely nested inside the construct that matc…
21 !$omp cancellation point parallel
25 !$omp cancellation point sections
[all …]
/llvm-project/llvm/test/MC/RISCV/
H A Dzfa-invalid.s5 # CHECK-NO-RV64: error: operand must be 'rtz' floating-point rounding mode
6 # CHECK-NO-RV32: error: operand must be 'rtz' floating-point rounding mode
9 # CHECK-NO-RV64: error: operand must be 'rtz' floating-point rounding mode
10 # CHECK-NO-RV32: error: operand must be 'rtz' floating-point rounding mode
13 # CHECK-NO-RV64: error: operand must be 'rtz' floating-point rounding mode
14 # CHECK-NO-RV32: error: operand must be 'rtz' floating-point rounding mode
17 # CHECK-NO-RV64: error: operand must be 'rtz' floating-point rounding mode
18 # CHECK-NO-RV32: error: operand must be 'rtz' floating-point rounding mode
21 # CHECK-NO-RV64: error: operand must be 'rtz' floating-point rounding mode
22 # CHECK-NO-RV32: error: operand must be 'rtz' floating-point rounding mode
[all …]
H A Dzfa-valid.s21 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
26 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
31 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
36 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
41 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
46 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
51 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
56 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
61 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{$}}
66 # CHECK-NO-EXT: error: instruction requires the following: 'Zfa' (Additional Floating-Point){{
[all...]
H A Drv32c-valid.s
/llvm-project/clang-tools-extra/clangd/unittests/
H A DInsertionPointTests.cpp50 auto Point = [&](llvm::StringLiteral Prefix, Anchor::Dir Direction) { in TEST() local
54 EXPECT_EQ(Point("a", Anchor::Above), Code.point("a")); in TEST()
55 EXPECT_EQ(Point("a", Anchor::Below), Code.point("b")); in TEST()
56 EXPECT_EQ(Point("b", Anchor::Above), Code.point("b")); in TEST()
57 EXPECT_EQ(Point("b", Anchor::Below), Code.point("c")); in TEST()
58 EXPECT_EQ(Point("c", Anchor::Above), Code.point("c")); in TEST()
59 EXPECT_EQ(Point("c", Anchor::Below), Code.point("a2")); in TEST()
60 EXPECT_EQ(Point("", Anchor::Above), Code.point("a")); in TEST()
61 EXPECT_EQ(Point("", Anchor::Below), Code.point("end")); in TEST()
62 EXPECT_EQ(Point("no_match", Anchor::Below), Position{}); in TEST()
[all …]
/llvm-project/flang/test/Semantics/
H A Ddosemantics11.f9093 type point type
95 end type point
97 type, extends(point) :: color_point
101 type(point), target :: target_var
102 class(point), pointer :: p_or_c
116 type is ( point )
132 type point type
134 end type point
136 type, extends(point) :: color_point
140 type(point), target :: target_var
[all …]
/llvm-project/clang/test/Sema/
H A Dwarn-infinity-nan-disabled-win.cpp122 // no-inf-no-nan-warning@+2 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
123 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
126 // no-inf-no-nan-warning@+2 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
127 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
130 // no-inf-no-nan-warning@+4 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
131 // no-inf-no-nan-warning@+3 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
132 // no-inf-warning@+2 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
133 // no-nan-warning@+1 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
136 // no-inf-no-nan-warning@+4 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
137 // no-inf-no-nan-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point option in compareit()
[all...]
H A Dwarn-infinity-nan-disabled-lnx.cpp118 // no-inf-no-nan-warning@+4 {{use of infinity is undefined behavior due to the currently enabled floating-point options}} in compareit()
119 // no-inf-no-nan-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
120 // no-inf-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}} in compareit()
121 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
124 // no-inf-no-nan-warning@+4 {{use of infinity is undefined behavior due to the currently enabled floating-point options}} in compareit()
125 // no-inf-no-nan-warning@+3 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
126 // no-inf-warning@+2 {{use of infinity is undefined behavior due to the currently enabled floating-point options}} in compareit()
127 // no-inf-warning@+1 {{use of infinity via a macro is undefined behavior due to the currently enabled floating-point options}} in compareit()
130 // no-inf-no-nan-warning@+4 {{use of NaN is undefined behavior due to the currently enabled floating-point options}} in compareit()
131 // no-inf-no-nan-warning@+3 {{use of NaN via a macro is undefined behavior due to the currently enabled floating-point option in compareit()
[all...]
H A Dwarn-double-promotion.c16 …return f; //expected-warning{{implicit conversion increases floating-point precision: 'float' to … in ReturnDoubleFromFloat()
20 …return f; //expected-warning{{implicit conversion increases floating-point precision: 'float' to … in ReturnLongDoubleFromFloat()
24 …return d; //expected-warning{{implicit conversion increases floating-point precision: 'double' to… in ReturnLongDoubleFromDouble()
28 …d = f; //expected-warning{{implicit conversion increases floating-point precision: 'float' to 'do… in Assignment()
29 …ld = f; //expected-warning{{implicit conversion increases floating-point precision: 'float' to 'lo… in Assignment()
30 …ld = d; //expected-warning{{implicit conversion increases floating-point precision: 'double' to 'l… in Assignment()
40 …DoubleParameter(f); // expected-warning{{implicit conversion increases floating-point precision: '… in ArgumentPassing()
41 …LongDoubleParameter(f); // expected-warning{{implicit conversion increases floating-point precisio… in ArgumentPassing()
42 …LongDoubleParameter(d); // expected-warning{{implicit conversion increases floating-point precisio… in ArgumentPassing()
46 …f = f * d; // expected-warning{{implicit conversion increases floating-point precision: 'float' to… in BinaryOperator()
[all …]
H A Dbuiltins-elementwise-math.c40 // expected-error@-1 {{1st argument must be a signed integer or floating point type (was 'unsigned int')}} in test_builtin_elementwise_abs()
43 // expected-error@-1 {{1st argument must be a signed integer or floating point type (was 'unsigned4' (vector of 4 'unsigned int' values))}} in test_builtin_elementwise_abs()
98 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was 'int *')}} in test_builtin_elementwise_add_sat()
106 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was '_Complex float')}} in test_builtin_elementwise_sub_sat()
161 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was 'int *')}} in test_builtin_elementwise_sub_sat()
169 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was '_Complex float')}} in test_builtin_elementwise_max()
221 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was 'int *')}} in test_builtin_elementwise_min()
229 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was '_Complex float')}} in test_builtin_elementwise_min()
281 // expected-error@-1 {{1st argument must be a vector, integer or floating point type (was 'int *')}} in test_builtin_elementwise_bitreverse()
289 // expected-error@-1 {{1st argument must be a vector, integer or floating point typ in test_builtin_elementwise_bitreverse()
[all...]
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSchedule.td43 def WriteFAdd16 : SchedWrite; // 16-bit floating point addition/subtraction
44 def WriteFAdd32 : SchedWrite; // 32-bit floating point addition/subtraction
45 def WriteFAdd64 : SchedWrite; // 64-bit floating point addition/subtraction
46 def WriteFMul16 : SchedWrite; // 16-bit floating point multiply
47 def WriteFMul32 : SchedWrite; // 32-bit floating point multiply
48 def WriteFMul64 : SchedWrite; // 64-bit floating point multiply
49 def WriteFMA16 : SchedWrite; // 16-bit floating point fused multiply-add
50 def WriteFMA32 : SchedWrite; // 32-bit floating point fused multiply-add
51 def WriteFMA64 : SchedWrite; // 64-bit floating point fused multiply-add
52 def WriteFDiv16 : SchedWrite; // 16-bit floating point divid
[all...]
/llvm-project/llvm/include/llvm/ADT/
H A DIntervalTree.h28 // finding all intervals that overlap with any given point. At this time,
53 // IntervalReferences getContaining(PointT Point);
56 // find_iterator begin(PointType Point) const;
93 // MP: A middle point.
95 // point. They are sorted in ascending order by their beginning point.
97 // middle point. They are sorted in descending order by their ending point.
126 // MP: Middle point.
127 // IL: Intervals to the left (in ascending order by beginning point).
128 // IR: Intervals to the right (in descending order by ending point).
169 // a) Iterators over intervals overlapping the given point with very weak
[all …]
/llvm-project/mlir/include/mlir/Analysis/
H A DDataFlowFramework.h10 // The framework consists of a solver, which runs the fixed-point iteration and
54 /// Program point represents a specific location in the execution of a program.
57 /// Creates a new program point at the given location.
59 : block(parentBlock), point(pp) {}
61 /// Creates a new program point at the given operation.
68 /// Create a empty program point.
71 /// Create a new program point from the given program point.
72 ProgramPoint(const ProgramPoint &point) {
73 this->block = point
136 classof(const GenericProgramPoint * point) classof() argument
238 lookupState(PointT point) lookupState() argument
247 eraseState(PointT point) eraseState() argument
330 AnalysisState(ProgramPoint point) AnalysisState() argument
355 ProgramPoint point; global() variable
458 getOrCreate(PointT point) getOrCreate() argument
466 getOrCreateFor(ProgramPoint dependent,PointT point) getOrCreateFor() argument
498 getOrCreateState(PointT point) getOrCreateState() argument
[all...]
/llvm-project/clang/test/PCH/
H A Dpragma-floatcontrol.c2 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -include %s -verify -fsyntax-only -DSET
3 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -include %s -verify -fsyntax-only -DPUSH
4 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -include %s -verify -fsyntax-only -DPUS…
7 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -DSET -emit-pch -o %t
8 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -DSET -include-pch %t -emit-llvm -o - |…
9 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -ffp-contract=on -DSET -emit-pch -o %t
10 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -DSET -include-pch %t -emit-llvm -o - |…
11 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -menable-no-nans -DSET -emit-pch -o %t
12 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -DSET -include-pch %t -emit-llvm -o - |…
13 // RUN: %clang_cc1 -fexperimental-strict-floating-point %s -frounding-math -DSET -emit-pch -o %t
[all …]
/llvm-project/llvm/lib/Target/X86/
H A DX86Schedule.td23 // integer unit to the floating point unit.
218 // Floating point. This covers both scalar and vector operations.
244 defm WriteFAdd : X86SchedWritePair<ReadAfterVecLd>; // Floating point add/sub.
245 defm WriteFAddX : X86SchedWritePair<ReadAfterVecXLd>; // Floating point add/sub (XMM).
246 defm WriteFAddY : X86SchedWritePair<ReadAfterVecYLd>; // Floating point add/sub (YMM).
247 defm WriteFAddZ : X86SchedWritePair<ReadAfterVecYLd>; // Floating point add/sub (ZMM).
248 defm WriteFAdd64 : X86SchedWritePair<ReadAfterVecLd>; // Floating point double add/sub.
249 defm WriteFAdd64X : X86SchedWritePair<ReadAfterVecXLd>; // Floating point double add/sub (XMM).
250 defm WriteFAdd64Y : X86SchedWritePair<ReadAfterVecYLd>; // Floating point double add/sub (YMM).
251 defm WriteFAdd64Z : X86SchedWritePair<ReadAfterVecYLd>; // Floating point double add/sub (ZMM).
[all …]
/llvm-project/mlir/docs/
H A DQuantization.md5 narrow scope of techniques in use to enable conversion of floating-point
20 express fixed point and affine transformations via uniformly spaced point on the
29 ### Fixed point values
31 [Fixed point](https://en.wikipedia.org/wiki/Fixed-point_arithmetic) values are a
38 scaled values. For example, if the scale is $ \pi $, then fixed point values
41 point value with a given $ scale $ is $ \frac{scale}{2} $. Continuing the
57 [adding a Real-valued *zero point*, to a scaled value](https://en.wikipedia.org/wiki/Affine_transfo…
58 Alternatively (and equivalently), subtracting a zero point from an affine value results in a
66 [converted](#affine-to-fixed-point) to the equivalent scaled values.
79 value, the zero point must be an integer between the minimum and maximum affine
[all …]
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/
H A Dmain.cpp26 intint_map ii; // Set break point at this line. in main()
28 ii.emplace(0,0); // Set break point at this line. in main()
30 thefoo_rw(1); // Set break point at this line. in main()
33 thefoo_rw(1); // Set break point at this line. in main()
38 thefoo_rw(1); // Set break point at this line. in main()
44 thefoo_rw(1); // Set break point at this line. in main()
47 thefoo_rw(1); // Set break point at this line. in main()
51 thefoo_rw(1); // Set break point at this line. in main()
55 thefoo_rw(1); // Set break point at this line. in main()
58 thefoo_rw(1); // Set break point at this line. in main()
[all …]
/llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVCLOps.td122 Result Type, y and x must be floating-point or vector(2,3,4,8,16) of
123 floating-point values.
145 Result Type and x must be floating-point or vector(2,3,4,8,16) of
146 floating-point values.
168 Result Type and x must be floating-point or vector(2,3,4,8,16) of
169 floating-point values.
191 Result Type and x must be floating-point or vector(2,3,4,8,16) of
192 floating-point values.
214 Result Type and x must be floating-point or vector(2,3,4,8,16) of
215 floating-point value
[all...]
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/map/
H A Dmain.cpp25 ii[0] = 0; // Set break point at this line. in main()
32 thefoo_rw(1); // Set break point at this line. in main()
35 thefoo_rw(1); // Set break point at this line. in main()
40 thefoo_rw(1); // Set break point at this line. in main()
46 thefoo_rw(1); // Set break point at this line. in main()
49 thefoo_rw(1); // Set break point at this line. in main()
53 thefoo_rw(1); // Set break point at this line. in main()
57 thefoo_rw(1); // Set break point at this line. in main()
60 thefoo_rw(1); // Set break point at this line. in main()
65 thefoo_rw(1); // Set break point at this line. in main()
[all …]
/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp10 /// point.
35 // Finds the NamedDecl at a point in the source.
36 // \param Point the location in the source to search for the NamedDecl.
37 explicit NamedDeclOccurrenceFindingVisitor(const SourceLocation Point, in NamedDeclOccurrenceFindingVisitor() argument
41 Point(Point), Context(Context) {} in NamedDeclOccurrenceFindingVisitor()
61 // Determines if the Point is within Start and End.
63 // FIXME: Add tests for Point == End. in isPointWithin()
64 return Point == Start || Point == End || in isPointWithin()
66 Point) && in isPointWithin()
67 Context.getSourceManager().isBeforeInTranslationUnit(Point, End)); in isPointWithin()
[all …]
/llvm-project/libcxx/include/
H A Datomic266 struct atomic<floating-point-type> { // since C++20
267 using value_type = floating-point-type;
275 constexpr atomic(floating-point-type) noexcept;
280 void store(floating-point-type, memory_order = memory_order::seq_cst) volatile noexcept;
281 void store(floating-point-type, memory_order = memory_order::seq_cst) noexcept;
282 floating-point-type operator=(floating-point-type) volatile noexcept;
283 floating-point-type operator=(floating-point-type) noexcept;
284 floating-point
[all...]
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/
H A Dmain.cpp14 ii[0] = 0; // Set break point at this line. in main()
16 ii[2] = 0;// Set break point at this line. in main()
18 ii[4] = 0;// Set break point at this line. in main()
24 ii.clear();// Set break point at this line. in main()
28 si["zero"] = 0;// Set break point at this line. in main()
29 si["one"] = 1;// Set break point at this line. in main()
34 si.clear();// Set break point at this line. in main()
38 is[85] = "goofy";// Set break point at this line. in main()
43 is.clear();// Set break point at this line. in main()
47 ss["ciao"] = "hello";// Set break point at this line. in main()
[all …]
/llvm-project/llvm/include/llvm/Support/
H A DSMTAPI.h34 /// Returns true if the sort is a floating-point, calls isFloatSortImpl().
49 /// Returns the floating-point size, fails if the sort is not a floating-point
52 assert(isFloatSort() && "Not a floating-point sort!"); in getFloatSortSize()
83 /// Query the SMT solver and checks if a sort is floating-point.
156 // Returns an appropriate floating-point sort for the given bitwidth.
169 llvm_unreachable("Unsupported floating-point bitwidth!"); in getFloatSort()
178 // Returns a floating-point sort of width 16
181 // Returns a floating-point sort of width 32
184 // Returns a floating-point sort of width 64
187 // Returns a floating-point sort of width 128
[all …]

12345678910>>...196