Home
last modified time | relevance | path

Searched defs:Shape (Results 1 – 25 of 95) sorted by relevance

1234

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroInternal.h88 struct LLVM_LIBRARY_VISIBILITY Shape { struct
89 CoroBeginInst *CoroBegin;
90 SmallVector<CoroEndInst *, 4> CoroEnds;
91 SmallVector<CoroSizeInst *, 2> CoroSizes;
92 SmallVector<AnyCoroSuspendInst *, 4> CoroSuspends;
93 SmallVector<CallInst*, 2> SwiftErrorOps;
96 struct SwitchFieldIndex {
107 coro::ABI ABI;
109 StructType *FrameTy;
110 Instruction *FramePtr;
[all …]
DCoroSplit.cpp97 coro::Shape &Shape; member in __anon8874ecf00111::CoroCloner
109 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner()
117 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner()
162 const coro::Shape &Shape, Value *FramePtr, in maybeFreeRetconStorage()
174 const coro::Shape &Shape, Value *FramePtr, in replaceFallthroughCoroEnd()
223 static void replaceUnwindCoroEnd(CoroEndInst *End, const coro::Shape &Shape, in replaceUnwindCoroEnd()
250 static void replaceCoroEnd(CoroEndInst *End, const coro::Shape &Shape, in replaceCoroEnd()
265 static void createResumeEntryBlock(Function &F, coro::Shape &Shape) { in createResumeEntryBlock()
395 static Function *createCloneDeclaration(Function &OrigF, coro::Shape &Shape, in createCloneDeclaration()
499 static void replaceSwiftErrorOps(Function &F, coro::Shape &Shape, in replaceSwiftErrorOps()
[all …]
DCoroFrame.cpp178 SuspendCrossingInfo::SuspendCrossingInfo(Function &F, coro::Shape &Shape) in SuspendCrossingInfo()
395 static StructType *buildFrameType(Function &F, coro::Shape &Shape, in buildFrameType()
586 static Instruction *insertSpills(const SpillInfo &Spills, coro::Shape &Shape) { in insertSpills()
1139 coro::Shape &Shape, in lowerNonLocalAlloca()
1164 coro::Shape &Shape) { in emitGetSwiftErrorValue()
1179 coro::Shape &Shape) { in emitSetSwiftErrorValue()
1198 coro::Shape &Shape) { in emitSetAndGetSwiftErrorValueAround()
1227 coro::Shape &Shape) { in eliminateSwiftErrorAlloca()
1258 coro::Shape &Shape, in eliminateSwiftErrorArgument()
1294 static void eliminateSwiftError(Function &F, coro::Shape &Shape) { in eliminateSwiftError()
[all …]
/external/tensorflow/tensorflow/go/
Dshape.go29 type Shape struct { struct
30 dims []int64
50 func (s Shape) NumDimensions() int {
61 func (s Shape) Size(dim int) int64 {
70 func (s Shape) IsFullySpecified() bool {
84 func (s Shape) ToSlice() ([]int64, error) {
93 func (s Shape) String() string {
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dshape.h97 struct Shape { struct
98 Shape() : layout(Layout::UNKNOWN), dimensions() {} in Shape() function
100 explicit Shape(Layout t) : layout(t), dimensions(Size(t)) {} in Shape() function
102 Shape(Layout t, std::vector<int32_t> d) in Shape() function
139 std::string ToString(const Shape& s); argument
/external/tensorflow/tensorflow/lite/kernels/shim/
Dshape_test.cc24 TEST(Shape, Eq) { in TEST() argument
48 TEST(Shape, Compatible) { in TEST() argument
72 TEST(Shape, ToStr) { in TEST() argument
80 TEST(Shape, FullyDefined) { in TEST() argument
89 TEST(Shape, Dim) { in TEST() argument
96 TEST(Shape, AddDims) { in TEST() argument
Dshape.h41 Shape(const std::initializer_list<int>& o) : value_(o), has_value_(true) {} in Shape() function
43 explicit Shape(Args&&... args) // forward ctor args to that of std::vector in Shape() function
45 explicit Shape(const absl::Span<int> value) in Shape() function
Dtensor_view.h168 absl::Span<int> Shape() { return shape_; } in Shape() function
169 /*[[nodiscard]]*/ const absl::Span<int> Shape() const { return shape_; } in Shape() function
/external/gemmlowp/test/
Dbenchmark_meta_gemm.cc64 struct Shape { struct
73 Shape(std::int32_t n, std::int32_t m, std::int32_t k) in Shape() argument
76 void init() { in init()
104 double run_gemms(std::vector<Shape>* shapes) { in run_gemms() argument
Dbenchmark_all_sizes.cc206 struct Shape { struct
212 bool operator==(const Shape& s1, const Shape& s2) { in operator ==() argument
320 void run_benchmarks(std::map<Shape, float>* results) { in run_benchmarks()
/external/skia/src/gpu/graphite/geom/
DShape.h35 Shape() {} in Shape() function
36 Shape(const Shape& shape) { *this = shape; } in Shape() function
39 Shape(SkPoint p0, SkPoint p1) { this->setLine(p0, p1); } in Shape() function
40 Shape(SkV2 p0, SkV2 p1) { this->setLine(p0, p1); } in Shape() function
41 Shape(skvx::float2 p0, skvx::float2 p1) { this->setLine(p0, p1); } in Shape() function
42 explicit Shape(const Rect& rect) { this->setRect(rect); } in Shape() function
43 explicit Shape(const SkRect& rect) { this->setRect(rect); } in Shape() function
44 explicit Shape(const SkRRect& rrect) { this->setRRect(rrect); } in Shape() function
45 explicit Shape(const SkPath& path) { this->setPath(path); } in Shape() function
/external/tensorflow/tensorflow/core/kernels/
Ddeep_conv2d.h55 struct Shape { struct
56 Shape(int64_t r, int64_t c) : rows(r), cols(c) {} in Shape() function
61 virtual const Shape& filter_shape() const = 0; argument
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dunary_elementwise_tester.h35 inline UnaryElementwiseTester& Shape(std::initializer_list<int32_t> shape) { in Shape() function
44 const std::vector<int32_t>& Shape() const { return shape_; } in Shape() function
Dleaky_relu_tester.h34 inline LeakyReluTester& Shape(std::initializer_list<int32_t> shape) { in Shape() function
43 inline const std::vector<int32_t>& Shape() const { return shape_; } in Shape() function
Dsoftmax_tester.h35 inline SoftmaxTester& Shape(std::initializer_list<int32_t> shape) { in Shape() function
45 const std::vector<int32_t>& Shape() const { return shape_; } in Shape() function
Ddequantize_tester.h36 inline DequantizeTester& Shape(std::initializer_list<int32_t> shape) { in Shape() function
45 const std::vector<int32_t>& Shape() const { return shape_; } in Shape() function
Dquantized_unary_elementwise_tester.h38 inline QuantizedUnaryElementwiseTester& Shape( in Shape() function
48 const std::vector<int32_t>& Shape() const { return shape_; } in Shape() function
Dquantize_tester.h36 inline QuantizeTester& Shape(std::initializer_list<int32_t> shape) { in Shape() function
45 const std::vector<int32_t>& Shape() const { return shape_; } in Shape() function
Dquantized_leaky_relu_tester.h36 inline QuantizedLeakyReluTester& Shape(std::initializer_list<int32_t> shape) { in Shape() function
45 const std::vector<int32_t>& Shape() const { return shape_; } in Shape() function
/external/tensorflow/tensorflow/compiler/xla/service/
Dstable_sort_expander_test.cc248 [](const Shape&, const Shape&) { return false; })); in TEST_F()
285 [](const Shape&, const Shape&) { return false; })); in TEST_F()
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
DShape.java21 public final class Shape { class
108 Shape(long[] shape) { in Shape() method in Shape
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/javabeans/
DShape.java18 public interface Shape { interface
/external/clang/test/CodeGenObjC/
Ddebug-info-impl.m7 @interface Shape : NSObject interface
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dweights.h116 const DimsAdapter& Shape() const { return shape_; } in Shape() function
117 DimsAdapter& Shape() { return shape_; } in Shape() function
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_module_importer.h35 class Shape; variable

1234