Home
last modified time | relevance | path

Searched refs:Shape (Results 1 – 25 of 33) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp105 coro::Shape &Shape; member in __anon11dd32be0111::CoroCloner
117 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner() argument
119 : OrigF(OrigF), NewF(nullptr), Suffix(Suffix), Shape(Shape), in CoroCloner()
121 assert(Shape.ABI == coro::ABI::Switch); in CoroCloner()
125 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner() argument
127 : OrigF(OrigF), NewF(NewF), Suffix(Suffix), Shape(Shape), in CoroCloner()
128 FKind(Shape.ABI == coro::ABI::Async ? Kind::Async : Kind::Continuation), in CoroCloner()
130 assert(Shape.ABI == coro::ABI::Retcon || in CoroCloner()
131 Shape.ABI == coro::ABI::RetconOnce || Shape.ABI == coro::ABI::Async); in CoroCloner()
170 const coro::Shape &Shape, Value *FramePtr, in maybeFreeRetconStorage() argument
[all …]
H A DCoroFrame.cpp114 SuspendCrossingInfo(Function &F, coro::Shape &Shape);
214 SuspendCrossingInfo::SuspendCrossingInfo(Function &F, coro::Shape &Shape) in SuspendCrossingInfo() argument
230 for (auto *CE : Shape.CoroEnds) in SuspendCrossingInfo()
243 for (auto *CSI : Shape.CoroSuspends) { in SuspendCrossingInfo()
516 coro::Shape &Shape);
618 coro::Shape &Shape) { in addFieldForAllocas() argument
632 if (!Shape.OptimizeFrame) { in addFieldForAllocas()
653 for (auto *CoroSuspendInst : Shape.CoroSuspends) { in addFieldForAllocas()
972 static void buildFrameDebugInfo(Function &F, coro::Shape &Shape, in buildFrameDebugInfo() argument
983 assert(Shape.ABI == coro::ABI::Switch && in buildFrameDebugInfo()
[all …]
H A DCoroutines.cpp149 static void clear(coro::Shape &Shape) { in clear() argument
150 Shape.CoroBegin = nullptr; in clear()
151 Shape.CoroEnds.clear(); in clear()
152 Shape.CoroSizes.clear(); in clear()
153 Shape.CoroSuspends.clear(); in clear()
155 Shape.FrameTy = nullptr; in clear()
156 Shape.FramePtr = nullptr; in clear()
157 Shape.AllocaSpillBlock = nullptr; in clear()
172 void coro::Shape::buildFrom(Function &F) { in buildFrom()
453 Value *coro::Shape::emitAlloc(IRBuilder<> &Builder, Value *Size, in emitAlloc()
[all …]
H A DCoroInternal.h73 struct LLVM_LIBRARY_VISIBILITY Shape { struct
256 Shape() = default; argument
257 explicit Shape(Function &F, bool OptimizeFrame = false)
264 void buildCoroutineFrame(Function &F, Shape &Shape); argument
H A DCoroEarly.cpp90 static_assert(coro::Shape::SwitchFieldIndex::Resume == 0, in lowerCoroDone()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTileShapeInfo.h41 bool operator==(const ShapeT &Shape) const {
42 MachineOperand *R = Shape.Row;
43 MachineOperand *C = Shape.Col;
51 return RowImm == Shape.getRowImm() && ColImm == Shape.getColImm();
55 bool operator!=(const ShapeT &Shape) const { return !(*this == Shape); }
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DTensorSpec.h58 const std::vector<int64_t> &Shape,
60 return TensorSpec(Name, Port, getDataType<T>(), sizeof(T), Shape);
66 const std::vector<int64_t> &shape() const { return Shape; } in shape()
70 Shape == Other.Shape;
88 Other.Shape) {} in TensorSpec()
94 size_t ElementSize, const std::vector<int64_t> &Shape);
101 std::vector<int64_t> Shape; variable
H A DVectorUtils.h124 VFShape Shape; /// Classification of the vector function. member
234 const std::optional<VFInfo> Shape = in getVFABIMappings() local
240 if (Shape && (Shape->ScalarName == ScalarName)) { in getVFABIMappings()
241 assert(CI.getModule()->getFunction(Shape->VectorName) && in getVFABIMappings()
243 Mappings.push_back(*Shape); in getVFABIMappings()
269 Function *getVectorizedFunction(const VFShape &Shape) const { in getVectorizedFunction() argument
270 if (Shape == VFShape::getScalarShape(CI)) in getVectorizedFunction()
274 if (Info.Shape == Shape) in getVectorizedFunction()
/openbsd-src/gnu/llvm/llvm/docs/
H A DHowToSetUpLLVMStyleRTTI.rst33 class Shape {
35 Shape() {}
39 class Square : public Shape {
46 class Circle : public Shape {
56 #. In the header where you declare ``Shape``, you will want to ``#include
72 class Shape {
84 Shape() {}
99 ``Shape``. The reason for this is that since ``Shape`` is abstract
116 class Shape {
128 - Shape() {}
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DTensorSpec.cpp61 size_t ElementSize, const std::vector<int64_t> &Shape) in TensorSpec() argument
62 : Name(Name), Port(Port), Type(Type), Shape(Shape), in TensorSpec()
63 ElementCount(std::accumulate(Shape.begin(), Shape.end(), 1, in TensorSpec()
H A DVFABIDemangling.cpp454 const VFShape Shape({ElementCount::get(VF, IsScalable), Parameters}); in tryDemangleForVFABI() local
455 return VFInfo({Shape, std::string(ScalarName), std::string(VectorName), ISA}); in tryDemangleForVFABI()
/openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/
H A DDXILResource.cpp235 Shape(static_cast<ResourceBase::Kinds>(R.getResourceKind())), in UAVResource()
246 Shape, ExtProps.ElementType.value_or(ComponentType::Invalid), 8, OS); in print()
250 printKind(Shape, 12, OS, /*SRV*/ false, HasCounter); in print()
269 Shape = StringSwitch<ResourceBase::Kinds>(S) in parseSourceType()
274 assert(Shape != Kinds::Invalid && "Unsupported buffer type"); in parseSourceType()
355 ConstantAsMetadata::get(B.getInt32(static_cast<uint32_t>(Shape))); in write()
H A DDXILResource.h96 ResourceBase::Kinds Shape; variable
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86TileConfig.cpp140 ShapeT Shape = VRM.getShape(Phys2Virt[I]); in INITIALIZE_PASS_DEPENDENCY() local
141 for (auto &R : {Shape.getRow()->getReg(), Shape.getCol()->getReg()}) { in INITIALIZE_PASS_DEPENDENCY()
H A DX86FastPreTileConfig.cpp390 ShapeT Shape = getShape(MRI, InTileReg); in convertPHI() local
391 Shape.getRow()->setIsKill(false); in convertPHI()
392 Shape.getCol()->setIsKill(false); in convertPHI()
393 RowPHI.addReg(Shape.getRow()->getReg()).addMBB(InMBB); in convertPHI()
394 ColPHI.addReg(Shape.getCol()->getReg()).addMBB(InMBB); in convertPHI()
H A DX86RegisterInfo.cpp952 ShapeT Shape = getTileShape(SrcReg, VRM, MRI); in getTileShape() local
953 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape()
954 return Shape; in getTileShape()
968 ShapeT Shape(&MO1, &MO2, MRI); in getTileShape() local
969 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape()
970 return Shape; in getTileShape()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp531 bool setShapeInfo(Value *V, ShapeInfo Shape) { in setShapeInfo() argument
532 assert(Shape && "Shape not set"); in setShapeInfo()
544 ShapeMap.insert({V, Shape}); in setShapeInfo()
545 LLVM_DEBUG(dbgs() << " " << Shape.NumRows << " x " << Shape.NumColumns in setShapeInfo()
711 ShapeInfo Shape = ShapeMap[V]; in propagateShapeBackward() local
713 if (setShapeInfo(U.get(), Shape)) in propagateShapeBackward()
1098 bool IsVolatile, ShapeInfo Shape, IRBuilder<> &Builder) { in loadMatrix() argument
1101 Type *VecTy = FixedVectorType::get(EltTy, Shape.getStride()); in loadMatrix()
1104 for (unsigned I = 0, E = Shape.getNumVectors(); I < E; ++I) { in loadMatrix()
1107 Stride, Shape.getStride(), EltTy, Builder); in loadMatrix()
[all …]
/openbsd-src/usr.bin/file/magdir/
H A Desri15 >32 lelong =0 type Null Shape
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp212 VFTableShapeRecord &Shape) { in visitKnownRecord() argument
213 Name = formatv("<vftable {0} methods>", Shape.getEntryCount()); in visitKnownRecord()
H A DTypeDumpVisitor.cpp403 VFTableShapeRecord &Shape) { in visitKnownRecord() argument
404 W->printNumber("VFEntryCount", Shape.getEntryCount()); in visitKnownRecord()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp479 const VFShape Shape = VFShape::get(CI, State.VF, false /*HasGlobalPred*/); in execute() local
481 assert(VFDatabase(CI).getVectorizedFunction(Shape) != nullptr && in execute()
484 VectorF = VFDatabase(CI).getVectorizedFunction(Shape); in execute()
H A DSLPVectorizer.cpp757 Mappings.front().Shape.VF != BaseMappings.front().Shape.VF || in getSameOpcode()
758 Mappings.front().Shape.Parameters != in getSameOpcode()
759 BaseMappings.front().Shape.Parameters) in getSameOpcode()
5805 VFShape Shape = VFShape::get( in buildTree_rec() local
5808 Function *VecFunc = VFDatabase(*CI).getVectorizedFunction(Shape); in buildTree_rec()
5828 VecFunc != VFDatabase(*CI2).getVectorizedFunction(Shape)) || in buildTree_rec()
6100 auto Shape = VFShape::get(*CI, ElementCount::getFixed(static_cast<unsigned>( in getVectorCallCosts() local
6103 Function *VecFunc = VFDatabase(*CI).getVectorizedFunction(Shape); in getVectorCallCosts()
9696 VFShape Shape = in vectorizeTree() local
9700 CF = VFDatabase(*CI).getVectorizedFunction(Shape); in vectorizeTree()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMLRegallocEvictAdvisor.cpp236 template <typename T> size_t getTotalSize(const std::vector<int64_t> &Shape) { in getTotalSize() argument
238 for (const auto V : Shape) in getTotalSize()
/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp455 VFTableShapeRecord &Shape) { in visitKnownRecord() argument
/openbsd-src/gnu/llvm/clang/docs/
H A DClangFormattedStatus.rst7047 * - mlir/include/mlir/Dialect/Shape/IR
7052 * - mlir/include/mlir/Dialect/Shape/Transforms
7852 * - mlir/lib/Dialect/Shape/IR
7857 * - mlir/lib/Dialect/Shape/Transforms

12