Home
last modified time | relevance | path

Searched refs:Point (Results 1 – 25 of 217) sorted by relevance

123456789

/llvm-project-15.0.7/clang/test/OpenMP/
H A Dreduction_compound_op.cpp27 Point operator+(Point const &other) const; argument
28 Point operator-(Point const &other) const;
29 Point operator*(Point const &other) const;
30 Point operator&(Point const &other) const;
31 Point operator|(Point const &other) const;
36 Point &operator=(Point const &other);
38 Point &operator+=(Point const &other);
39 Point &operator*=(Point const &other);
40 Point &operator&=(Point const &other);
41 Point &operator|=(Point const &other);
[all …]
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.filter/iterator/
H A Darrow.pass.cpp26 struct Point { struct
35 static_assert(has_arrow<Point*>); // test the test argument
40 using value_type = Point;
49 Point* p_;
57 using value_type = Point;
62 Point& operator*() const;
73 Point* end() const;
101 test<Point*>(); in tests()
102 test<Point const*>(); in tests()
103 test<contiguous_iterator<Point*>>(); in tests()
[all …]
/llvm-project-15.0.7/bolt/lib/Passes/
H A DStackAllocationAnalysis.cpp60 int64_t SPOffset = SPT.getStateAt(Point)->first; in doKill()
75 Point.dump(); in doKill()
99 if (int Sz = MIB->getPopSize(Point)) { in computeNext()
100 Next = doKill(Point, Next, Sz); in computeNext()
103 if (MIB->isPush(Point)) { in computeNext()
104 Next.set(this->ExprToIdx[&Point]); in computeNext()
113 if (MIB->isLeave(Point)) in computeNext()
120 Next.set(this->ExprToIdx[&Point]); in computeNext()
124 if (BC.MII->get(Point.getOpcode()) in computeNext()
141 Next = doKill(Point, Next, Output - SPOffset); in computeNext()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DInsertionPointTests.cpp54 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()
110 auto Point = [&](Anchor A, AccessSpecifier Protection) { in TEST() local
[all …]
/llvm-project-15.0.7/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp37 explicit NamedDeclOccurrenceFindingVisitor(const SourceLocation Point, in NamedDeclOccurrenceFindingVisitor() argument
41 Point(Point), Context(Context) {} in NamedDeclOccurrenceFindingVisitor()
64 return Point == Start || Point == End || in isPointWithin()
66 Point) && in isPointWithin()
67 Context.getSourceManager().isBeforeInTranslationUnit(Point, End)); in isPointWithin()
71 const SourceLocation Point; // The location to find the NamedDecl. member in clang::tooling::__anon4d6fa2b10111::NamedDeclOccurrenceFindingVisitor
78 const SourceLocation Point) { in getNamedDeclAt() argument
80 NamedDeclOccurrenceFindingVisitor Visitor(Point, Context); in getNamedDeclAt()
89 SM.isBeforeInTranslationUnit(StartLoc, Point) != in getNamedDeclAt()
90 SM.isBeforeInTranslationUnit(EndLoc, Point)) in getNamedDeclAt()
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DStackPointerTracking.h42 std::pair<int, int> getStartingStateAtPoint(const MCInst &Point) { in getStartingStateAtPoint() argument
77 int computeNextSP(const MCInst &Point, int SPVal, int FPVal) { in computeNextSP() argument
80 if (int Sz = MIB->getPushSize(Point)) { in computeNextSP()
87 if (int Sz = MIB->getPopSize(Point)) { in computeNextSP()
100 if (MIB->isLeave(Point)) in computeNextSP()
105 if (this->BC.MII->get(Point.getOpcode()) in computeNextSP()
118 if (!MIB->evaluateStackOffsetExpr(Point, Output, SP, FP)) { in computeNextSP()
130 int computeNextFP(const MCInst &Point, int SPVal, int FPVal) { in computeNextFP() argument
140 if (this->BC.MII->get(Point.getOpcode()) in computeNextFP()
153 if (!MIB->evaluateStackOffsetExpr(Point, Output, SP, FP)) { in computeNextFP()
[all …]
H A DLivenessAnalysis.h89 BitVector getStartingStateAtPoint(const MCInst &Point) { in getStartingStateAtPoint() argument
97 BitVector computeNext(const MCInst &Point, const BitVector &Cur) { in computeNext() argument
99 bool IsCall = this->BC.MIB->isCall(Point); in computeNext()
103 this->BC.MIB->getWrittenRegs(Point, Written); in computeNext()
105 RA.getInstClobberList(Point, Written); in computeNext()
126 if (!this->BC.MIB->isCFI(Point)) { in computeNext()
127 if (BC.MIB->isCleanRegXOR(Point)) in computeNext()
132 RA.getInstUsedRegsList(Point, Used, /*GetClobbers*/ true); in computeNext()
138 const MCInstrDesc &InstInfo = BC.MII->get(Point.getOpcode()); in computeNext()
142 Used |= BC.MIB->getAliases(Point.getOperand(I).getReg(), in computeNext()
[all …]
H A DDataflowAnalysis.h233 StateTy &getOrCreateStateAt(MCInst &Point) { in getOrCreateStateAt() argument
239 if (Point.isBB()) in getOrCreateStateAt()
240 return getOrCreateStateAt(*Point.getBB()); in getOrCreateStateAt()
241 return getOrCreateStateAt(*Point.getInst()); in getOrCreateStateAt()
286 if (Point.isBB()) in getStateAt()
287 return getStateAt(*Point.getBB()); in getStateAt()
288 return getStateAt(*Point.getInst()); in getStateAt()
295 return getStateAt(PrevPoint[&Point]); in getStateBefore()
299 if (Point.isBB()) in getStateBefore()
300 return getStateAt(*Point.getBB()); in getStateBefore()
[all …]
H A DReachingDefOrUse.h85 BitVector getStartingStateAtPoint(const MCInst &Point) { in getStartingStateAtPoint() argument
117 BitVector computeNext(const MCInst &Point, const BitVector &Cur) { in computeNext() argument
122 if (doesXKillsY(&Point, *I)) { in computeNext()
127 if (!this->BC.MIB->isCFI(Point)) { in computeNext()
130 Next.set(this->ExprToIdx[&Point]); in computeNext()
135 RA.getInstClobberList(Point, Regs); in computeNext()
137 RA.getInstUsedRegsList(Point, Regs, false); in computeNext()
140 Next.set(this->ExprToIdx[&Point]); in computeNext()
/llvm-project-15.0.7/lldb/test/API/functionalities/var_path/
H A Dmain.cpp3 struct Point { struct
8 Point pt = { 1, 2 }; in main() argument
9 Point points[] = {{1010,2020}, {3030,4040}, {5050,6060}}; in main()
10 Point *pt_ptr = &points[1]; in main()
11 Point &pt_ref = pt; in main()
12 std::shared_ptr<Point> pt_sp(new Point{111,222}); in main()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A D2009-01-31-BigShift3.ll10 …{ [57 x i8], ptr, ptr, ptr, ptr, ptr, %struct.Point, i32, i32, %struct.Point, %struct.Point, %stru…
11 %struct.Point = type { double, double, double }
15 …%struct.Texture = type { %struct.Point, ptr, %struct.Point, %struct.Point, %struct.Point, ptr, ptr…
/llvm-project-15.0.7/clang/test/Index/
H A Dcomplete-macro-args.c1 struct Point { struct
10 void test(struct Point *p) { in test() argument
17 void test2(struct Point *p) { in test2()
23 void test3(struct Point *p) {
32 void test3(struct Point *p) {
36 void test3(struct Point *p) {
/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-globals/
H A Dmain.cpp1 struct Point { struct
4 Point(int X = 3, int Y = 2) : x(X), y(Y) {} in Point() argument
7 Point g_point(3,4);
8 Point* g_point_pointer = new Point(7,5);
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dtag-ambig.cpp5 typedef struct Point Point; typedef
8 class Point;
16 struct Point { }; struct in Test
17 virtual bool testMethod (Test::Point& p) = 0;
H A Dc99.cpp9 struct Point { int x; int y; int z[]; }; // expected-warning{{flexible array members are a C99 feat… argument
11 Point p1 = { .x = 17,
14 Point p2 = {
19 Point p3 = {
24 Point p4 = {
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DRangedConstraintManager.h35 Range(const llvm::APSInt &Point) : Range(Point, Point) {} in Range() argument
37 bool Includes(const llvm::APSInt &Point) const { in Includes() argument
38 return From() <= Point && Point <= To(); in Includes()
142 RangeSet add(RangeSet Original, const llvm::APSInt &Point);
160 RangeSet unite(RangeSet Original, llvm::APSInt Point);
205 RangeSet intersect(RangeSet What, llvm::APSInt Point);
318 RangeSet(Factory &F, const llvm::APSInt &Point) in RangeSet() argument
319 : RangeSet(F.getRangeSet(Point)) {} in RangeSet()
353 bool contains(llvm::APSInt Point) const { return containsImpl(Point); } in contains() argument
395 bool pin(llvm::APSInt &Point) const;
[all …]
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVScheduleV.td145 // 12. Vector Fixed-Point Arithmetic Instructions
165 // 13. Vector Floating-Point Instructions
177 // 13.5. Vector Widening Floating-Point Multiply
200 // 13.15. Vector Floating-Point Merge Instruction
202 // 13.16. Vector Floating-Point Move Instruction
249 // 16.2. Floating-Point Scalar Move Instructions
378 // 13. Vector Floating-Point Instructions
390 // 13.5. Vector Widening Floating-Point Multiply
416 // 13.16. Vector Floating-Point Move Instruction
622 // 14. Vector Floating-Point Instructions
[all …]
/llvm-project-15.0.7/llvm/test/MC/RISCV/
H A Drv64dc-valid.s15 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
16 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
20 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
21 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
26 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
27 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
31 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
32 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
H A Drv32dc-valid.s15 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
16 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
20 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
21 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
26 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
27 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
31 # CHECK-NO-EXT-D: error: instruction requires the following: 'D' (Double-Precision Floating-Point)
32 …uction requires the following: 'C' (Compressed Instructions), 'D' (Double-Precision Floating-Point)
H A Drv32fc-valid.s21 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
22 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
27 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
28 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
34 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
35 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
40 # CHECK-NO-EXT-F: error: instruction requires the following: 'F' (Single-Precision Floating-Point)
41 …uction requires the following: 'C' (Compressed Instructions), 'F' (Single-Precision Floating-Point)
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DAnalysis.cpp133 writeEscaped<kEscapeCsv>(OS, Point.Key.Config); in printInstructionRowCsv()
135 assert(!Point.Key.Instructions.empty()); in printInstructionRowCsv()
136 const MCInst &MCI = Point.keyInstruction(); in printInstructionRowCsv()
147 for (const auto &Measurement : Point.Measurements) { in printInstructionRowCsv()
226 if (!Point.Error.empty()) in makePointsPerSchedClass()
228 assert(!Point.Key.Instructions.empty()); in makePointsPerSchedClass()
231 const MCInst &MCI = Point.keyInstruction(); in makePointsPerSchedClass()
285 switch (Point.Mode) { in printPointHtml()
297 writeEscaped<kEscapeHtml>(OS, Point.Key.Config); in printPointHtml()
345 const auto &Point = Clustering.getPoints()[PointId]; in addPoint() local
[all …]
/llvm-project-15.0.7/clang/test/Analysis/
H A Duninit-vals.c168 struct Point { struct
172 struct Point getHalfPoint(void) { in getHalfPoint() argument
173 struct Point p; in getHalfPoint()
178 void use(struct Point p);
181 struct Point p = getHalfPoint(); // expected-note{{'p' initialized here}} in testUseHalfPoint()
187 struct Point p; in testUseHalfPoint2()
H A Dfields.c24 } Point; typedef
26 Point getit(void);
28 Point p; in test()
38 Point p = {42, 0}; in testLazyCompoundVal()
39 Point q; in testLazyCompoundVal()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dmagic-numbers.cpp153 struct Point { struct
157 explicit Point(T xval, T yval) noexcept : x{xval}, y{yval} { in Point() function
172 Point<T> origin;
176 …Rectangle(Point<T> origin_, Dimension<T> size_, T rotation_ = 0) noexcept : origin{origin_}, size{… in Rectangle()
179 bool contains(Point<T> point) const;
184 const geometry::Rectangle<double> mandelbrotCanvas{geometry::Point<double>{-2.5, -1}, geometry::Dim…
H A Disolate-declaration.cpp106 class Point { class
111 Point(double x, double y) : x(x), y(y) {} in Point() function in Point
115 Point TopLeft;
116 Point BottomRight;
119 Rectangle(Point TopLeft, Point BottomRight) : TopLeft(TopLeft), BottomRight(BottomRight) {} in Rectangle()
135 Point P1(0., 2.), P2{2., 0.}; in f5()

123456789