Home
last modified time | relevance | path

Searched refs:Shape (Results 1 - 25 of 146) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp97 coro::Shape &Shape; member in __anon24999::CoroCloner
109 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner() argument
111 : OrigF(OrigF), NewF(nullptr), Suffix(Suffix), Shape(Shape), in CoroCloner()
113 assert(Shape.ABI == coro::ABI::Switch); in CoroCloner()
117 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner() argument
119 : OrigF(OrigF), NewF(NewF), Suffix(Suffix), Shape(Shap in CoroCloner()
161 maybeFreeRetconStorage(IRBuilder< &Builder, const coro::Shape &Shape, Value *FramePtr, CallGraph *CG) maybeFreeRetconStorage() argument
173 replaceFallthroughCoroEnd(CoroEndInst *End, const coro::Shape &Shape, Value *FramePtr, bool InResume, CallGraph *CG) replaceFallthroughCoroEnd() argument
223 replaceUnwindCoroEnd(CoroEndInst *End, const coro::Shape &Shape, Value *FramePtr, bool InResume, CallGraph *CG) replaceUnwindCoroEnd() argument
250 replaceCoroEnd(CoroEndInst *End, const coro::Shape &Shape, Value *FramePtr, bool InResume, CallGraph *CG) replaceCoroEnd() argument
265 createResumeEntryBlock(Function &F, coro::Shape &Shape) createResumeEntryBlock() argument
395 createCloneDeclaration(Function &OrigF, coro::Shape &Shape, const Twine &Suffix, Module::iterator InsertBefore) createCloneDeclaration() argument
499 replaceSwiftErrorOps(Function &F, coro::Shape &Shape, ValueToValueMapTy *VMap) replaceSwiftErrorOps() argument
778 createClone(Function &F, const Twine &Suffix, coro::Shape &Shape, CoroCloner::Kind FKind) createClone() argument
786 removeCoroEnds(const coro::Shape &Shape, CallGraph *CG) removeCoroEnds() argument
792 replaceFrameSize(coro::Shape &Shape) replaceFrameSize() argument
820 setCoroInfo(Function &F, coro::Shape &Shape, ArrayRef<Function *> Fns) setCoroInfo() argument
844 updateCoroFrame(coro::Shape &Shape, Function *ResumeFn, Function *DestroyFn, Function *CleanupFn) updateCoroFrame() argument
986 handleNoSuspendCoroutine(coro::Shape &Shape) handleNoSuspendCoroutine() argument
1148 simplifySuspendPoints(coro::Shape &Shape) simplifySuspendPoints() argument
1170 splitSwitchCoroutine(Function &F, coro::Shape &Shape, SmallVectorImpl<Function *> &Clones) splitSwitchCoroutine() argument
1202 splitRetconCoroutine(Function &F, coro::Shape &Shape, SmallVectorImpl<Function *> &Clones) splitRetconCoroutine() argument
1345 splitCoroutine(Function &F, coro::Shape &Shape, SmallVectorImpl<Function *> &Clones) splitCoroutine() argument
[all...]
H A DCoroFrame.cpp102 SuspendCrossingInfo(Function &F, coro::Shape &Shape);
178 SuspendCrossingInfo::SuspendCrossingInfo(Function &F, coro::Shape &Shape) in SuspendCrossingInfo() argument
194 for (auto *CE : Shape.CoroEnds) in SuspendCrossingInfo()
207 for (auto *CSI : Shape.CoroSuspends) { in SuspendCrossingInfo()
395 static StructType *buildFrameType(Function &F, coro::Shape &Shape, in buildFrameType() argument
405 AllocaInst *PromiseAlloca = Shape.getPromiseAlloca(); in buildFrameType()
407 if (Shape in buildFrameType()
586 insertSpills(const SpillInfo &Spills, coro::Shape &Shape) insertSpills() argument
1138 lowerNonLocalAlloca(CoroAllocaAllocInst *AI, coro::Shape &Shape, SmallVectorImpl<Instruction*> &DeadInsts) lowerNonLocalAlloca() argument
1163 emitGetSwiftErrorValue(IRBuilder< &Builder, Type *ValueTy, coro::Shape &Shape) emitGetSwiftErrorValue() argument
1178 emitSetSwiftErrorValue(IRBuilder< &Builder, Value *V, coro::Shape &Shape) emitSetSwiftErrorValue() argument
1196 emitSetAndGetSwiftErrorValueAround(Instruction *Call, AllocaInst *Alloca, coro::Shape &Shape) emitSetAndGetSwiftErrorValueAround() argument
1226 eliminateSwiftErrorAlloca(Function &F, AllocaInst *Alloca, coro::Shape &Shape) eliminateSwiftErrorAlloca() argument
1257 eliminateSwiftErrorArgument(Function &F, Argument &Arg, coro::Shape &Shape, SmallVectorImpl<AllocaInst*> &AllocasToPromote) eliminateSwiftErrorArgument() argument
1294 eliminateSwiftError(Function &F, coro::Shape &Shape) eliminateSwiftError() argument
1325 buildCoroutineFrame(Function &F, Shape &Shape) buildCoroutineFrame() argument
[all...]
/third_party/typescript/tests/baselines/reference/
H A DstaticInterfaceAssignmentCompat.js2 class Shape {
3 static create(): Shape {
4 return new Shape();
9 create(): Shape;
12 var x: ShapeFactory = Shape;
16 var Shape = /** @class */ (function () {
17 function Shape() {
19 Shape.create = function () {
20 return new Shape();
22 return Shape;
[all...]
H A DmappedTypes2.js37 interface Shape {
58 function f0(s1: Shape, s2: Shape) {
63 function f1(shape: Shape) {
65 var frozen: Readonly<Shape>;
69 function f2(shape: Shape) {
71 var partial: Partial<Shape>;
72 var partial: Partial<Shape> = {};
75 function f3(shape: Shape) {
84 function f5(shape: Shape) {
[all...]
H A DkeyofAndIndexedAccessErrors.js2 class Shape {
20 type T10 = Shape["name"];
21 type T11 = Shape["foo"]; // Error
22 type T12 = Shape["name" | "foo"]; // Error
23 type T13 = Shape[any]; // Error
24 type T14 = Shape[string]; // Error
25 type T15 = Shape[number]; // Error
26 type T16 = Shape[boolean]; // Error
27 type T17 = Shape[void]; // Error
28 type T18 = Shape[undefine
[all...]
H A DmappedTypeErrors.js2 interface Shape {
25 type T10 = Pick<Shape, "name">;
26 type T11 = Pick<Shape, "foo">; // Error
27 type T12 = Pick<Shape, "name" | "foo">; // Error
28 type T13 = Pick<Shape, keyof Named>;
29 type T14 = Pick<Shape, keyof Point>; // Error
30 type T15 = Pick<Shape, never>;
31 type T16 = Pick<Shape, undefined>; // Error
34 let y: Pick<Shape, T>; // Error
38 let y: Pick<Shape,
[all...]
H A DkeyofAndIndexedAccess.js2 class Shape {
9 class TaggedShape extends Shape {
37 type K10 = keyof Shape; // "name" | "width" | "height" | "visible"
38 type K11 = keyof Shape[]; // "length" | "toString" | ...
39 type K12 = keyof Dictionary<Shape>; // string
44 type K17 = keyof (Shape | Item); // "name"
45 type K18 = keyof (Shape & Item); // "name" | "width" | "height" | "visible" | "price"
46 type K19 = keyof NumericallyIndexed<Shape> // never
50 type K20 = KeyOf<Shape>; // "name" | "width" | "height" | "visible"
51 type K21 = KeyOf<Dictionary<Shape>>; // strin
[all...]
H A DpartiallyDiscriminantedUnions.js34 type Shape = Circle | Square;
35 type Shapes = Shape | Array<Shape>;
37 function isShape(s : Shapes): s is Shape {
H A DdiscriminatedUnionTypes1.js18 type Shape = Square | Rectangle | Circle;
20 function area1(s: Shape) {
35 function area2(s: Shape) {
47 function area3(s: Shape) {
56 function area4(s: Shape) {
/third_party/node/deps/v8/src/objects/
H A Dhash-table-inl.h24 template <typename Derived, typename Shape>
25 HashTable<Derived, Shape>::HashTable(Address ptr) : HashTableBase(ptr) { in HashTable()
29 template <typename Derived, typename Shape>
30 ObjectHashTableBase<Derived, Shape>::ObjectHashTableBase(Address ptr) in ObjectHashTableBase()
31 : HashTable<Derived, Shape>(ptr) {} in ObjectHashTableBase()
134 template <typename Derived, typename Shape>
135 Handle<Map> HashTable<Derived, Shape>::GetMap(ReadOnlyRoots roots) { in GetMap()
154 template <typename Derived, typename Shape>
156 InternalIndex HashTable<Derived, Shape>::FindEntry(IsolateT* isolate, Key key) { in FindEntry()
158 return FindEntry(isolate, roots, key, Shape in FindEntry()
[all...]
H A Ddictionary-inl.h28 template <typename Derived, typename Shape>
29 Dictionary<Derived, Shape>::Dictionary(Address ptr) in Dictionary()
30 : HashTable<Derived, Shape>(ptr) {} in Dictionary()
32 template <typename Derived, typename Shape>
33 Object Dictionary<Derived, Shape>::ValueAt(InternalIndex entry) { in ValueAt()
38 template <typename Derived, typename Shape>
39 Object Dictionary<Derived, Shape>::ValueAt(PtrComprCageBase cage_base, in ValueAt()
45 template <typename Derived, typename Shape>
46 base::Optional<Object> Dictionary<Derived, Shape>::TryValueAt( in TryValueAt()
63 template <typename Derived, typename Shape>
[all...]
/third_party/skia/experimental/graphite/src/geom/
H A DShape.h23 * Shape is effectively a std::variant over different geometric shapes, with the most complex
27 class Shape { class
34 Shape() {} in Shape() function in skgpu::Shape
35 Shape(const Shape& shape) { *this = shape; } in Shape() function in skgpu::Shape
36 Shape(Shape&&) = delete;
38 Shape(SkPoint p0, SkPoint p1) { this->setLine(p0, p1); } in Shape() function in skgpu::Shape
39 Shape(SkV2 p0, SkV2 p1) { this->setLine(p0, p1); } in Shape() function in skgpu::Shape
40 Shape(float in Shape() function in skgpu::Shape
41 explicit Shape(const Rect& rect) { this->setRect(rect); } Shape() function in skgpu::Shape
42 explicit Shape(const SkRect& rect) { this->setRect(rect); } Shape() function in skgpu::Shape
43 explicit Shape(const SkRRect& rrect) { this->setRRect(rrect); } Shape() function in skgpu::Shape
44 explicit Shape(const SkPath& path) { this->setPath(path); } Shape() function in skgpu::Shape
[all...]
H A DShape.cpp8 #include "experimental/graphite/src/geom/Shape.h"
16 Shape& Shape::operator=(const Shape& shape) { in operator =()
29 bool Shape::conservativeContains(const Rect& rect) const { in conservativeContains()
40 bool Shape::conservativeContains(float2 point) const { in conservativeContains()
51 bool Shape::closed() const { in closed()
62 bool Shape::convex(bool simpleFill) const { in convex()
72 Rect Shape::bounds() const { in bounds()
83 SkPath Shape
[all...]
/third_party/skia/experimental/xform/
H A DSkShape.h34 class Shape : public SkRefCnt { class
38 Shape(sk_sp<Xform> x = nullptr) : fXform(std::move(x)) {} in Shape() function in Shape
48 class GeoShape : public Shape {
52 GeoShape(sk_sp<Xform> x, const SkRect& r, SkColor c) : Shape(std::move(x)), fRect(r) { in GeoShape()
57 static sk_sp<Shape> Make(sk_sp<Xform> x, const SkRect& r, SkColor c) { in Make()
58 return sk_sp<Shape>(new GeoShape(std::move(x), r, c)); in Make()
64 class GroupShape : public Shape {
65 SkTDArray<Shape*> fArray;
67 GroupShape(sk_sp<Xform> x) : Shape(std::move(x)) {} in GroupShape()
74 static sk_sp<GroupShape> Make(sk_sp<Xform> x, sk_sp<Shape>
[all...]
/third_party/skia/experimental/sorttoy/
H A Dsorttoy.cpp88 static void save_files(int testID, Shape s, const SkBitmap& expected, const SkBitmap& actual) { in save_files()
95 SkString path = SkOSPath::Join(dir, s == Shape::kRect ? "rect-expected" : "oval-expected"); in save_files()
106 path = SkOSPath::Join(dir, s == Shape::kRect ? "rect-actual" : "oval-actual"); in save_files()
183 s.clip(sk_make_sp<ClipCmd>(ID(1), Shape::kRect, r)); in mcstack_test()
191 s.clip(sk_make_sp<ClipCmd>(ID(2), Shape::kRect, r)); in mcstack_test()
197 s.clip(sk_make_sp<ClipCmd>(ID(3), Shape::kRect, r)); in mcstack_test()
243 Shape shape,
248 for (Shape s : { Shape::kRect, Shape in sort_test()
[all...]
H A DCmds.h94 DrawCmd(ID, Shape, SkIRect, const FakePaint&); // for creating the test cases
95 DrawCmd(ID, PaintersOrder, Shape, SkIRect, const FakePaint&, sk_sp<FakeMCBlob> state);
112 fShape == Shape::kRect ? "Rect" : "Oval",
121 Shape fShape;
130 ClipCmd(ID, Shape, SkIRect); // for creating the test cases
131 ClipCmd(ID, PaintersOrder paintersOrderWhenAdded, Shape, SkIRect);
150 fShape == Shape::kRect ? "Rect" : "Oval",
168 Shape fShape;
H A DCmds.cpp46 Shape shape, in DrawCmd()
57 Shape shape, in DrawCmd()
69 static bool shared_contains(int x, int y, Shape s, SkIRect r) { in shared_contains()
70 if (s == Shape::kRect) { in shared_contains()
133 if (fShape == Shape::kRect) { in execute()
183 ClipCmd::ClipCmd(ID id, Shape shape, SkIRect r) in ClipCmd()
189 ClipCmd::ClipCmd(ID id, PaintersOrder paintersOrderWhenAdded, Shape shape, SkIRect r) in ClipCmd()
232 if (fShape == Shape::kRect) { in execute()
/third_party/skia/modules/skottie/src/text/
H A DRangeSelector.cpp223 { {0 ,0 }, {1 ,1}, 0 , 1 , 0.0f }, // Shape::kSquare
224 { {0 ,0 }, {1 ,1}, 0 , SK_FloatInfinity, 1.0f }, // Shape::kRampUp
225 { {0 ,0 }, {1 ,1}, SK_FloatNegativeInfinity, 1 , 1.0f }, // Shape::kRampDown
226 { {0 ,0 }, {1 ,1}, 0 , 1 , 0.5f }, // Shape::kTriangle
227 { {0 ,.5f}, {.5f,1}, 0 , 1 , 0.5f }, // Shape::kRound
228 { {.5f,0 }, {.5f,1}, 0 , 1 , 0.5f }, // Shape::kSmooth
272 static constexpr Shape gShapeMap[] = { in Make()
273 Shape::kSquare, // 'sh': 1 in Make()
274 Shape::kRampUp, // 'sh': 2 in Make()
275 Shape in Make()
[all...]
/third_party/jerryscript/tests/jerry/
H A Dobject-create.js47 // Shape - superclass
48 function Shape() { class
54 Shape.prototype.move = function(x, y) {
61 Shape.call(this); // call super constructor.
65 Rectangle.prototype = Object.create(Shape.prototype);
71 assert (rect instanceof Shape);
/third_party/skia/experimental/skrive/src/
H A DShape.cpp20 size_t parse_node<Shape>(StreamReader* sr, Shape* node) { in parse_node()
30 void Shape::onRevalidate() { in onRevalidate()
49 SkDebugf("[Shape::onRevalidate] %zu geos %zu fill(s) %zu stroke(s)\n", in onRevalidate()
53 void Shape::onRender(SkCanvas* canvas) const { in onRender()
/third_party/skia/experimental/skrive/tests/
H A DDomTypes.cpp25 check_type<skrive::Shape >(reporter, node, false); in DEF_TEST()
29 auto node = sk_make_sp<skrive::Shape>(); in DEF_TEST()
35 check_type<skrive::Shape >(reporter, node, true); in DEF_TEST()
45 check_type<skrive::Shape >(reporter, node, false); in DEF_TEST()
57 check_type<skrive::Shape >(reporter, node, false); in DEF_TEST()
/third_party/skia/experimental/graphite/src/
H A DDrawContext.h24 class Shape;
55 const Shape& shape,
61 const Shape& shape,
67 const Shape& shape,
H A DDevice.cpp25 #include "experimental/graphite/src/geom/Shape.h"
163 this->drawShape(Shape(localCoveringBounds), paint, kFillStyle, in drawPaint()
168 this->drawShape(Shape(r), paint, SkStrokeRec(paint)); in drawRect()
174 this->drawShape(Shape(SkRRect::MakeOval(oval)), paint, SkStrokeRec(paint)); in drawOval()
178 this->drawShape(Shape(rr), paint, SkStrokeRec(paint)); in drawRRect()
184 this->drawShape(Shape(path), paint, SkStrokeRec(paint)); in drawPath()
198 this->drawShape(Shape(SkRRect::MakeOval(pointRect)), paint, kFillStyle); in drawPoints()
200 this->drawShape(Shape(pointRect), paint, kFillStyle); in drawPoints()
208 this->drawShape(Shape(points[i], points[(i + 1) % count]), paint, stroke); in drawPoints()
213 void Device::drawShape(const Shape
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp262 bool setShapeInfo(Value *V, ShapeInfo Shape) { in setShapeInfo() argument
263 assert(Shape && "Shape not set"); in setShapeInfo()
275 ShapeMap.insert({V, Shape}); in setShapeInfo()
276 LLVM_DEBUG(dbgs() << " " << Shape.NumRows << " x " << Shape.NumColumns in setShapeInfo()
443 ShapeInfo Shape = ShapeMap[V]; in propagateShapeBackward() local
445 if (setShapeInfo(U.get(), Shape)) in propagateShapeBackward()
561 ShapeInfo Shape) { in LowerLoad()
567 for (unsigned C = 0, E = Shape in LowerLoad()
560 LowerLoad(Instruction *Inst, Value *Ptr, Value *Stride, ShapeInfo Shape) LowerLoad() argument
588 LowerStore(Instruction *Inst, Value *Matrix, Value *Ptr, Value *Stride, ShapeInfo Shape) LowerStore() argument
813 ShapeInfo &Shape = I->second; VisitBinaryOperator() local
[all...]
/third_party/skia/experimental/graphite/src/render/
H A DStencilAndFillPathRenderer.cpp10 #include "experimental/graphite/src/geom/Shape.h"
67 size_t requiredVertexSpace(const Shape&) const override {
71 size_t requiredIndexSpace(const Shape&) const override {
77 const Shape& shape) const override {

Completed in 16 milliseconds

123456