Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp106 coro::Shape &Shape; member in __anonb4c3247d0111::CoroCloner
120 : OrigF(OrigF), NewF(nullptr), Suffix(Suffix), Shape(Shape), in CoroCloner()
128 : OrigF(OrigF), NewF(NewF), Suffix(Suffix), Shape(Shape), in CoroCloner()
1226 static void setCoroInfo(Function &F, coro::Shape &Shape, in setCoroInfo() argument
1257 Shape.FrameTy, Shape.FramePtr, coro::Shape::SwitchFieldIndex::Resume, in updateCoroFrame()
1271 Shape.FrameTy, Shape.FramePtr, coro::Shape::SwitchFieldIndex::Destroy, in updateCoroFrame()
1640 static void simplifySuspendPoints(coro::Shape &Shape) { in simplifySuspendPoints() argument
2015 coro::Shape Shape(F, OptimizeFrame); in splitCoroutine() local
2061 static void removeCoroEnds(const coro::Shape &Shape) { in removeCoroEnds() argument
2068 LazyCallGraph::Node &N, const coro::Shape &Shape, in updateCallGraphAfterCoroutineSplit() argument
[all …]
H A DCoroFrame.cpp127 SuspendCrossingInfo(Function &F, coro::Shape &Shape);
656 coro::Shape &Shape);
1380 Shape.FrameSize = alignTo(Shape.FrameSize, Shape.FrameAlign); in buildFrameType()
2500 coro::Shape &Shape, in lowerNonLocalAlloca() argument
2525 coro::Shape &Shape) { in emitGetSwiftErrorValue() argument
2540 coro::Shape &Shape) { in emitSetSwiftErrorValue() argument
2588 coro::Shape &Shape) { in eliminateSwiftErrorAlloca() argument
2614 coro::Shape &Shape, in eliminateSwiftErrorArgument() argument
3067 Function &F, Shape &Shape, in buildCoroutineFrame() argument
3206 Shape.FrameTy = buildFrameType(F, Shape, FrameData); in buildCoroutineFrame()
[all …]
H A DCoroutines.cpp145 static void clear(coro::Shape &Shape) { in clear() argument
146 Shape.CoroBegin = nullptr; in clear()
147 Shape.CoroEnds.clear(); in clear()
148 Shape.CoroSizes.clear(); in clear()
149 Shape.CoroSuspends.clear(); in clear()
151 Shape.FrameTy = nullptr; in clear()
152 Shape.FramePtr = nullptr; in clear()
153 Shape.AllocaSpillBlock = nullptr; in clear()
168 void coro::Shape::buildFrom(Function &F) { in buildFrom()
449 Value *coro::Shape::emitAlloc(IRBuilder<> &Builder, Value *Size, in emitAlloc()
[all …]
H A DCoroInternal.h79 struct LLVM_LIBRARY_VISIBILITY Shape { struct
265 Shape() = default; argument
266 explicit Shape(Function &F, bool OptimizeFrame = false)
275 Function &F, Shape &Shape, argument
H A DCoroEarly.cpp90 static_assert(coro::Shape::SwitchFieldIndex::Resume == 0, in lowerCoroDone()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTileShapeInfo.h40 bool operator==(const ShapeT &Shape) const {
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-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTensorSpec.h62 const std::vector<int64_t> &Shape,
64 return TensorSpec(Name, Port, getDataType<T>(), sizeof(T), Shape);
70 const std::vector<int64_t> &shape() const { return Shape; } in shape()
74 Shape == Other.Shape;
92 Other.Shape) {} in TensorSpec()
98 size_t ElementSize, const std::vector<int64_t> &Shape);
105 std::vector<int64_t> Shape; variable
H A DVectorUtils.h54 const std::optional<VFInfo> Shape = in getVFABIMappings() local
60 if (Shape && (Shape->ScalarName == ScalarName)) { in getVFABIMappings()
61 assert(CI.getModule()->getFunction(Shape->VectorName) && in getVFABIMappings()
63 Mappings.push_back(*Shape); in getVFABIMappings()
88 if (!VF || Info.Shape.VF == *VF)
103 Function *getVectorizedFunction(const VFShape &Shape) const { in getVectorizedFunction() argument
104 if (Shape == VFShape::getScalarShape(CI.getFunctionType())) in getVectorizedFunction()
108 if (Info.Shape == Shape) in getVectorizedFunction()
/freebsd-14.2/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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DVFABIDemangler.h124 VFShape Shape; /// Classification of the vector function. member
132 unsigned ParamCount = Shape.Parameters.size(); in getParamIndexForOptionalMask()
134 if (Shape.Parameters[i].ParamKind == VFParamKind::GlobalPredicate) in getParamIndexForOptionalMask()
/freebsd-14.2/contrib/llvm-project/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.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.cpp1044 ShapeT Shape = getTileShape(SrcReg, VRM, MRI); in getTileShape() local
1045 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape()
1046 return Shape; in getTileShape()
1062 ShapeT Shape(&MO1, &MO2, MRI); in getTileShape() local
1063 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape()
1064 return Shape; in getTileShape()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp529 bool setShapeInfo(Value *V, ShapeInfo Shape) { in setShapeInfo() argument
530 assert(Shape && "Shape not set"); in setShapeInfo()
551 ShapeMap.insert({V, Shape}); in setShapeInfo()
552 LLVM_DEBUG(dbgs() << " " << Shape.NumRows << " x " << Shape.NumColumns in setShapeInfo()
718 ShapeInfo Shape = ShapeMap[V]; in propagateShapeBackward() local
720 if (setShapeInfo(U.get(), Shape)) in propagateShapeBackward()
1151 Shape, Builder), in LowerLoad()
2009 ShapeInfo &Shape = I->second; in VisitBinaryOperator() local
2012 MatrixTy A = getMatrix(Lhs, Shape, Builder); in VisitBinaryOperator()
2059 ShapeInfo &Shape = I->second; in VisitUnaryOperator() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResource.h71 ResourceBase::Kinds Shape; variable
81 : 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-14.2/contrib/llvm-project/llvm/lib/IR/
H A DVFABIDemangler.cpp499 const VFShape Shape({*EC, Parameters}); in tryDemangleForVFABI() local
500 return VFInfo({Shape, std::string(ScalarName), std::string(VectorName), ISA}); in tryDemangleForVFABI()
551 ElementCount VF = Info.Shape.VF; in createFunctionType()
553 for (auto VFParam : Info.Shape.Parameters) { in createFunctionType()
/freebsd-14.2/contrib/file/magic/Magdir/
H A Desri15 >32 lelong =0 type Null Shape
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DReplaceWithVeclib.cpp82 VectorType::get(Type::getInt1Ty(I.getContext()), Info.Shape.VF); in replaceWithTLIFunction()
178 for (auto VFParam : OptInfo->Shape.Parameters) { in replaceWithCallToVeclib()
/freebsd-14.2/sys/contrib/dev/acpica/components/debugger/
H A Ddbconvert.c496 ACPI_PLD_SET_SHAPE (&Dword, PldInfo->Shape); in AcpiDbEncodePldBuffer()
615 AcpiOsPrintf (ACPI_PLD_OUTPUT, "PLD_Shape", PldInfo->Shape); in AcpiDbDumpPldBuffer()
/freebsd-14.2/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInjectTLIMappings.cpp52 assert(Info->Shape.VF == VF && "Mangled name does not match VF"); in addVariantDeclaration()
/freebsd-14.2/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-14.2/sys/contrib/dev/acpica/components/utilities/
H A Dutxface.c721 PldInfo->Shape = ACPI_PLD_GET_SHAPE (&Dword); in ACPI_EXPORT_SYMBOL()
/freebsd-14.2/sys/contrib/dev/acpica/include/
H A Dacbuffer.h241 UINT8 Shape; member

12