Home
last modified time | relevance | path

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

12345678910>>...19

/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Coroutines/
H A DCoroInternal.h73 struct LLVM_LIBRARY_VISIBILITY Shape { struct
74 CoroBeginInst *CoroBegin;
75 SmallVector<AnyCoroEndInst *, 4> CoroEnds;
76 SmallVector<CoroSizeInst *, 2> CoroSizes;
77 SmallVector<CoroAlignInst *, 2> CoroAligns;
78 SmallVector<AnyCoroSuspendInst *, 4> CoroSuspends;
79 SmallVector<CallInst*, 2> SwiftErrorOps;
82 struct SwitchFieldIndex {
96 coro::ABI ABI;
98 StructType *FrameTy;
[all …]
H A DCoroSplit.cpp105 coro::Shape &Shape; member in __anon74b129c70111::CoroCloner
117 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner()
125 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner()
170 const coro::Shape &Shape, Value *FramePtr, in maybeFreeRetconStorage()
227 const coro::Shape &Shape, Value *FramePtr, in replaceFallthroughCoroEnd()
291 static void markCoroutineAsDone(IRBuilder<> &Builder, const coro::Shape &Shape, in markCoroutineAsDone()
305 static void replaceUnwindCoroEnd(AnyCoroEndInst *End, const coro::Shape &Shape, in replaceUnwindCoroEnd()
343 static void replaceCoroEnd(AnyCoroEndInst *End, const coro::Shape &Shape, in replaceCoroEnd()
358 static void createResumeEntryBlock(Function &F, coro::Shape &Shape) { in createResumeEntryBlock()
507 static Function *createCloneDeclaration(Function &OrigF, coro::Shape &Shape, in createCloneDeclaration()
[all …]
H A DCoroFrame.cpp214 SuspendCrossingInfo::SuspendCrossingInfo(Function &F, coro::Shape &Shape) in SuspendCrossingInfo()
618 coro::Shape &Shape) { in addFieldForAllocas()
972 static void buildFrameDebugInfo(Function &F, coro::Shape &Shape, in buildFrameDebugInfo()
1145 static StructType *buildFrameType(Function &F, coro::Shape &Shape, in buildFrameType()
1555 static void createFramePtr(coro::Shape &Shape) { in createFramePtr()
1586 static void insertSpills(const FrameDataInfo &FrameData, coro::Shape &Shape) { in insertSpills()
2291 coro::Shape &Shape, in lowerNonLocalAlloca()
2316 coro::Shape &Shape) { in emitGetSwiftErrorValue()
2331 coro::Shape &Shape) { in emitSetSwiftErrorValue()
2350 coro::Shape &Shape) { in emitSetAndGetSwiftErrorValueAround()
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
H A 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 …]
H A DCoroSplit.cpp97 coro::Shape &Shape; member in __anon8b66ae810111::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 …]
H A 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 …]
/aosp_15_r20/external/rust/android-crates-io/crates/darling_core/src/util/
Dshape.rs8 fn as_shape(&self) -> Shape; in as_shape()
12 fn as_shape(&self) -> Shape { in as_shape()
23 fn as_shape(&self) -> Shape { in as_shape()
33 fn as_shape(&self) -> Shape { in as_shape()
39 fn as_shape(&self) -> Shape { in as_shape()
49 fn as_shape(&self) -> Shape { in as_shape()
55 fn as_shape(&self) -> Shape { in as_shape()
62 pub enum Shape { enum
73 impl Shape { impl
84 impl fmt::Display for Shape { implementation
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/common/
H A 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
/aosp_15_r20/external/pytorch/torch/distributed/tensor/_ops/
H A D_view_ops.py41 Shape = Tuple[int, ...] variable
188 def expand(input_shape: Shape, shape: Shape) -> DimMap:
212 def normalize_sizes(sizes: Union[Shape, Tuple[Shape]]) -> Shape:
266 def dim_repeat(ndim: int, sizes: Shape) -> DimMap:
277 def infer_size(total_size: int, sizes: Shape) -> Shape:
297 def view_groups(from_size: Shape, to_size: Shape) -> DimMap:
408 def dim_squeeze(shape: Shape, dim: Optional[int] = None) -> DimMap:
427 def dim_view_as_real(shape: Shape) -> DimMap:
485 local_in_shape: Shape,
487 mesh_sizes: Shape,
/aosp_15_r20/external/gemmlowp/test/
H A 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
H A 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()
/aosp_15_r20/external/skia/src/gpu/graphite/geom/
H A DShape.h40 Shape() {} in Shape() function
41 Shape(const Shape& shape) { *this = shape; } in Shape() function
44 Shape(SkPoint p0, SkPoint p1) { this->setLine(p0, p1); } in Shape() function
45 Shape(SkV2 p0, SkV2 p1) { this->setLine(p0, p1); } in Shape() function
46 Shape(skvx::float2 p0, skvx::float2 p1) { this->setLine(p0, p1); } in Shape() function
47 explicit Shape(const Rect& rect) { this->setRect(rect); } in Shape() function
48 explicit Shape(const SkRect& rect) { this->setRect(rect); } in Shape() function
49 explicit Shape(const SkRRect& rrect) { this->setRRect(rrect); } in Shape() function
50 explicit Shape(const SkArc& arc) { this->setArc(arc); } in Shape() function
51 explicit Shape(const SkPath& path) { this->setPath(path); } in Shape() function
/aosp_15_r20/external/tensorflow/tensorflow/go/
H A 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 {
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/shim/
H A 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
H A 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
/aosp_15_r20/packages/modules/NeuralNetworks/common/types/include/
DOperationsUtils.h156 struct Shape { struct
165 bool SameShape(const Shape& in1, const Shape& in2); argument
/aosp_15_r20/packages/modules/NeuralNetworks/common/cpu_operations/
DGenerateProposals.cpp63 inline bool bboxTransformFloat32(const float* roiData, const Shape& roiShape, in bboxTransformFloat32()
437 bool boxWithNmsLimitFloat32Compute(float* scoresData, const Shape& scoresShape, in boxWithNmsLimitFloat32Compute()
503 T castTo(float val, const Shape&) { in castTo()
570 bool boxWithNmsLimitFloat32(const float* scoresData, const Shape& scoresShape, const float* roiData, in boxWithNmsLimitFloat32()
593 bool boxWithNmsLimitFloat16(const _Float16* scoresData, const Shape& scoresShape, in boxWithNmsLimitFloat16()
617 bool boxWithNmsLimitQuant(const uint8_t* scoresData, const Shape& scoresShape, in boxWithNmsLimitQuant()
640 bool boxWithNmsLimitQuant(const int8_t* scoresData, const Shape& scoresShape, in boxWithNmsLimitQuant()
1251 bool detectionPostprocessFloat32(const float* scoreData, const Shape& scoreShape, in detectionPostprocessFloat32()
DActivation.cpp54 bool reluFloat(const T* inputData, const Shape& inputShape, T* outputData, in reluFloat()
91 bool tanhFloat16(const _Float16* inputData, const Shape& inputShape, _Float16* outputData, in tanhFloat16()
101 bool tanhFloat32(const float* inputData, const Shape& inputShape, float* outputData, in tanhFloat32()
112 bool logisticFloat(const T* inputData, const Shape& inputShape, T* outputData, in logisticFloat()
127 inline bool reluXQuant8(const uint8_t* inputData, const Shape& inputShape, uint8_t* outputData, in reluXQuant8()
222 inline bool reluXQuant8Signed(const int8_t* inputData, const Shape& inputShape, int8_t* outputData, in reluXQuant8Signed()
/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/
H A 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
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/
H A Dstable_sort_expander_test.cc248 [](const Shape&, const Shape&) { return false; })); in TEST_F()
285 [](const Shape&, const Shape&) { return false; })); in TEST_F()
H A Dbfloat16_propagation.cc402 const ShapeIndex& index) { in DetermineInstructionPrecision()
432 [hlo, this](const Shape& /* subshape */, const ShapeIndex& index) { in DetermineInstructionPrecision()
472 const ShapeIndex& index) { in AdjustCalledComputationParameters()
517 const ShapeIndex& index) { in AdjustCalledComputationRoot()
577 const ShapeIndex& index) { in ResolveInconsistencyOfAliasingBuffersHelper()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/transformers/cuda/mem_eff_attention/iterators/
H A Dpredicated_tile_access_iterator_residual_last.h107 using Shape = Shape_; variable
466 using Shape = Shape_; variable
691 using Shape = Shape_; variable
913 using Shape = Shape_; variable
1247 using Shape = Shape_; variable
1466 using Shape = Shape_; variable
1687 using Shape = Shape_; variable
1914 using Shape = Shape_; variable
H A Dpredicated_tile_iterator_residual_last.h183 using Shape = Shape_; variable
479 using Shape = Shape_; variable
711 using Shape = Shape_; variable
940 using Shape = Shape_; variable
1231 using Shape = Shape_; variable
1458 using Shape = Shape_; variable
1687 using Shape = Shape_; variable
1916 using Shape = Shape_; variable
/aosp_15_r20/external/tensorflow/tensorflow/go/op/
H A Dwrappers.go120 func AccumulateNV2(scope *Scope, inputs []tf.Output, shape tf.Shape) (sum tf.Output) {
764 func AnonymousIterator(scope *Scope, output_types []tf.DataType, output_shapes []tf.Shape) (handle …
789 func AnonymousIteratorV2(scope *Scope, output_types []tf.DataType, output_shapes []tf.Shape) (handl…
809 func AnonymousIteratorV3(scope *Scope, output_types []tf.DataType, output_shapes []tf.Shape) (handl…
834 …tor(scope *Scope, devices []string, output_types []tf.DataType, output_shapes []tf.Shape) (handle …
854 …rV3(scope *Scope, devices []string, output_types []tf.DataType, output_shapes []tf.Shape) (handle …
875 func AnonymousMutableDenseHashTableValueShape(value tf.Shape) AnonymousMutableDenseHashTableAttr {
984 func AnonymousMutableHashTableOfTensorsValueShape(value tf.Shape) AnonymousMutableHashTableOfTensor…
1511 ….Output, transformations tf.Output, output_types []tf.DataType, output_shapes []tf.Shape) (handle …
1547 ….Output, transformations tf.Output, output_types []tf.DataType, output_shapes []tf.Shape) (handle …
[all …]
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cuda/cutlass_extensions/gemm/warp/
H A Dmma_tensorop_dequantizer.h128 using Shape = Shape_; variable
236 using Shape = Shape_; variable
323 using Shape = Shape_; variable
410 using Shape = Shape_; variable

12345678910>>...19