Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp106 coro::Shape &Shape; member in __anon98d7ec870111::CoroCloner
120 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner() argument
122 : OrigF(OrigF), NewF(nullptr), Suffix(Suffix), Shape(Shape), FKind(FKind), in CoroCloner()
124 assert(Shape.ABI == coro::ABI::Switch); in CoroCloner()
128 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner() argument
131 : OrigF(OrigF), NewF(NewF), Suffix(Suffix), Shape(Shape), in CoroCloner()
132 FKind(Shape.ABI == coro::ABI::Async ? Kind::Async : Kind::Continuation), in CoroCloner()
134 assert(Shape.ABI == coro::ABI::Retcon || in CoroCloner()
135 Shape.ABI == coro::ABI::RetconOnce || Shape.ABI == coro::ABI::Async); in CoroCloner()
178 coro::Shape &Shape) { in lowerAwaitSuspend() argument
[all …]
H A DCoroFrame.cpp130 SuspendCrossingInfo(Function &F, coro::Shape &Shape);
295 SuspendCrossingInfo::SuspendCrossingInfo(Function &F, coro::Shape &Shape) in SuspendCrossingInfo() argument
312 for (auto *CE : Shape.CoroEnds) in SuspendCrossingInfo()
325 for (auto *CSI : Shape.CoroSuspends) { in SuspendCrossingInfo()
659 coro::Shape &Shape);
761 coro::Shape &Shape) { in addFieldForAllocas() argument
775 if (!Shape.OptimizeFrame) { in addFieldForAllocas()
796 for (auto *CoroSuspendInst : Shape.CoroSuspends) { in addFieldForAllocas()
1108 static void buildFrameDebugInfo(Function &F, coro::Shape &Shape, in buildFrameDebugInfo() argument
1119 assert(Shape.ABI == coro::ABI::Switch && in buildFrameDebugInfo()
[all …]
H A DCoroutines.cpp148 static void clear(coro::Shape &Shape) { in clear() argument
149 Shape.CoroBegin = nullptr; in clear()
150 Shape.CoroEnds.clear(); in clear()
151 Shape.CoroSizes.clear(); in clear()
152 Shape.CoroSuspends.clear(); in clear()
154 Shape.FrameTy = nullptr; in clear()
155 Shape.FramePtr = nullptr; in clear()
156 Shape.AllocaSpillBlock = nullptr; in clear()
171 void coro::Shape::buildFrom(Function &F) { in buildFrom()
456 Value *coro::Shape::emitAlloc(IRBuilder<> &Builder, Value *Size, in emitAlloc()
[all …]
H A DCoroInternal.h80 struct LLVM_LIBRARY_VISIBILITY Shape { struct
268 Shape() = default; argument
269 explicit Shape(Function &F, bool OptimizeFrame = false)
278 Function &F, Shape &Shape, TargetTransformInfo &TTI, argument
H A DCoroEarly.cpp90 static_assert(coro::Shape::SwitchFieldIndex::Resume == 0, in lowerCoroDone()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTileShapeInfo.h9 /// \file Shape utility for AMX.
40 bool operator==(const ShapeT &Shape) const { in ShapeT()
41 MachineOperand *R = Shape.Row;
42 MachineOperand *C = Shape.Col;
50 return RowImm == Shape.getRowImm() && ColImm == Shape.getColImm();
54 bool operator!=(const ShapeT &Shape) const { return !(*this == Shape); }
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTensorSpec.h66 const std::vector<int64_t> &Shape,
68 return TensorSpec(Name, Port, getDataType<T>(), sizeof(T), Shape);
74 const std::vector<int64_t> &shape() const { return Shape; } in shape()
78 Shape == Other.Shape;
96 Other.Shape) {} in TensorSpec()
102 size_t ElementSize, const std::vector<int64_t> &Shape);
109 std::vector<int64_t> Shape; variable
H A DVectorUtils.h55 const std::optional<VFInfo> Shape = in getVFABIMappings() local
61 if (Shape && (Shape->ScalarName == ScalarName)) { in getVFABIMappings()
62 assert(CI.getModule()->getFunction(Shape->VectorName) && in getVFABIMappings()
64 Mappings.push_back(*Shape); in getVFABIMappings()
89 if (!VF || Info.Shape.VF == *VF)
105 Function *getVectorizedFunction(const VFShape &Shape) const { in getVectorizedFunction() argument
106 if (Shape == VFShape::getScalarShape(CI.getFunctionType())) in getVectorizedFunction()
110 if (Info.Shape == Shape) in getVectorizedFunction()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTensorSpec.cpp63 size_t ElementSize, const std::vector<int64_t> &Shape) in TensorSpec() argument
64 : Name(Name), Port(Port), Type(Type), Shape(Shape), in TensorSpec()
65 ElementCount(std::accumulate(Shape.begin(), Shape.end(), 1, in TensorSpec()
H A DVFABIDemangling.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TileConfig.cpp145 ShapeT Shape = VRM.getShape(Phys2Virt[I]); in INITIALIZE_PASS_DEPENDENCY() local
146 for (auto &R : {Shape.getRow()->getReg(), Shape.getCol()->getReg()}) { in INITIALIZE_PASS_DEPENDENCY()
H A DX86FastPreTileConfig.cpp389 ShapeT Shape = getShape(MRI, InTileReg); in convertPHI() local
390 Shape.getRow()->setIsKill(false); in convertPHI()
391 Shape.getCol()->setIsKill(false); in convertPHI()
392 RowPHI.addReg(Shape.getRow()->getReg()).addMBB(InMBB); in convertPHI()
393 ColPHI.addReg(Shape.getCol()->getReg()).addMBB(InMBB); in convertPHI()
H A DX86RegisterInfo.cpp1049 ShapeT Shape = getTileShape(SrcReg, VRM, MRI); in getTileShape() local
1050 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape()
1051 return Shape; in getTileShape()
1067 ShapeT Shape(&MO1, &MO2, MRI); in getTileShape() local
1068 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape()
1069 return Shape; in getTileShape()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp591 bool setShapeInfo(Value *V, ShapeInfo Shape) { in setShapeInfo() argument
592 assert(Shape && "Shape not set"); in setShapeInfo()
598 if (VerifyShapeInfo && (SIter->second.NumRows != Shape.NumRows || in setShapeInfo()
599 SIter->second.NumColumns != Shape.NumColumns)) { in setShapeInfo()
601 << SIter->second.NumColumns << " vs " << Shape.NumRows << "x" in setShapeInfo()
602 << Shape.NumColumns << ") for " << *V << "\n"; in setShapeInfo()
613 ShapeMap.insert({V, Shape}); in setShapeInfo()
614 LLVM_DEBUG(dbgs() << " " << Shape.NumRows << " x " << Shape.NumColumns in setShapeInfo()
726 ShapeInfo Shape = ShapeMap[V]; in propagateShapeBackward() local
728 if (setShapeInfo(U.get(), Shape)) in propagateShapeBackward()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResource.h72 dxil::ResourceKind Shape; variable
82 : ResourceBase(I, R), Shape(R.getResourceKind()), GloballyCoherent(false), in UAVResource()
H A DDXILResource.cpp239 printElementType(Shape, ExtProps.ElementType.value_or(ElementType::Invalid), in print()
244 printKind(Shape, 12, OS, /*SRV*/ false, HasCounter); in print()
304 ConstantAsMetadata::get(B.getInt32(static_cast<uint32_t>(Shape))); in write()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp81 VectorType::get(Type::getInt1Ty(II->getContext()), Info.Shape.VF); in replaceWithTLIFunction()
161 for (auto &VFParam : OptInfo->Shape.Parameters) { in replaceWithCallToVeclib()
/freebsd/contrib/file/magic/Magdir/
H A Desri15 >32 lelong =0 type Null Shape
/freebsd/sys/contrib/dev/acpica/components/debugger/
H A Ddbconvert.c498 ACPI_PLD_SET_SHAPE (&Dword, PldInfo->Shape); in AcpiDbEncodePldBuffer()
617 AcpiOsPrintf (ACPI_PLD_OUTPUT, "PLD_Shape", PldInfo->Shape); in AcpiDbDumpPldBuffer()
/freebsd/contrib/llvm-project/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.cpp404 VFTableShapeRecord &Shape) { in visitKnownRecord() argument
405 W->printNumber("VFEntryCount", Shape.getEntryCount()); in visitKnownRecord()
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslpld.c447 PldInfo.Shape = (UINT8) Value; in OpcDoPld()
759 ACPI_PLD_SET_SHAPE (&Dword, PldInfo->Shape); in OpcEncodePldBuffer()
/freebsd/sys/contrib/dev/acpica/components/utilities/
H A Dutxface.c721 PldInfo->Shape = ACPI_PLD_GET_SHAPE (&Dword); in ACPI_EXPORT_SYMBOL()
/freebsd/sys/contrib/dev/acpica/include/
H A Dacbuffer.h241 UINT8 Shape; member
/freebsd/sys/contrib/dev/acpica/components/disassembler/
H A Ddmbuffer.c929 AcpiDmFindNameByIndex(PldInfo->Shape, AcpiGbl_PldShapeList)); in AcpiDmPldBuffer()

12