Home
last modified time | relevance | path

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

12

/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp106 coro::Shape &Shape; member in __anon877be0190111::CoroCloner
120 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner()
122 : OrigF(OrigF), NewF(nullptr), Suffix(Suffix), Shape(Shape), FKind(FKind), in CoroCloner()
124 assert(Shape.ABI == coro::ABI::Switch);
128 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in CoroCloner()
131 : OrigF(OrigF), NewF(NewF), Suffix(Suffix), Shape(Shap in CoroCloner()
118 CoroCloner(Function & OrigF,const Twine & Suffix,coro::Shape & Shape,Kind FKind) CoroCloner() argument
126 CoroCloner(Function & OrigF,const Twine & Suffix,coro::Shape & Shape,Function * NewF,AnyCoroSuspendInst * ActiveSuspend) CoroCloner() argument
171 maybeFreeRetconStorage(IRBuilder<> & Builder,const coro::Shape & Shape,Value * FramePtr,CallGraph * CG) maybeFreeRetconStorage() argument
228 replaceFallthroughCoroEnd(AnyCoroEndInst * End,const coro::Shape & Shape,Value * FramePtr,bool InResume,CallGraph * CG) replaceFallthroughCoroEnd() argument
325 markCoroutineAsDone(IRBuilder<> & Builder,const coro::Shape & Shape,Value * FramePtr) markCoroutineAsDone() argument
359 replaceUnwindCoroEnd(AnyCoroEndInst * End,const coro::Shape & Shape,Value * FramePtr,bool InResume,CallGraph * CG) replaceUnwindCoroEnd() argument
397 replaceCoroEnd(AnyCoroEndInst * End,const coro::Shape & Shape,Value * FramePtr,bool InResume,CallGraph * CG) replaceCoroEnd() argument
412 createResumeEntryBlock(Function & F,coro::Shape & Shape) createResumeEntryBlock() argument
559 createCloneDeclaration(Function & OrigF,coro::Shape & Shape,const Twine & Suffix,Module::iterator InsertBefore,AnyCoroSuspendInst * ActiveSuspend) createCloneDeclaration() argument
672 replaceSwiftErrorOps(Function & F,coro::Shape & Shape,ValueToValueMapTy * VMap) replaceSwiftErrorOps() argument
1168 createClone(Function & F,const Twine & Suffix,coro::Shape & Shape,CoroCloner::Kind FKind) createClone() argument
1174 updateAsyncFuncPointerContextSize(coro::Shape & Shape) updateAsyncFuncPointerContextSize() argument
1189 replaceFrameSizeAndAlignment(coro::Shape & Shape) replaceFrameSizeAndAlignment() argument
1226 setCoroInfo(Function & F,coro::Shape & Shape,ArrayRef<Function * > Fns) setCoroInfo() argument
1250 updateCoroFrame(coro::Shape & Shape,Function * ResumeFn,Function * DestroyFn,Function * CleanupFn) updateCoroFrame() argument
1480 handleNoSuspendCoroutine(coro::Shape & Shape) handleNoSuspendCoroutine() argument
1640 simplifySuspendPoints(coro::Shape & Shape) simplifySuspendPoints() argument
1681 splitSwitchCoroutine(Function & F,coro::Shape & Shape,SmallVectorImpl<Function * > & Clones,TargetTransformInfo & TTI) splitSwitchCoroutine() argument
1766 splitAsyncCoroutine(Function & F,coro::Shape & Shape,SmallVectorImpl<Function * > & Clones) splitAsyncCoroutine() argument
1863 splitRetconCoroutine(Function & F,coro::Shape & Shape,SmallVectorImpl<Function * > & Clones) splitRetconCoroutine() argument
2015 coro::Shape Shape(F, OptimizeFrame); splitCoroutine() local
2061 removeCoroEnds(const coro::Shape & Shape) removeCoroEnds() argument
2068 updateCallGraphAfterCoroutineSplit(LazyCallGraph::Node & N,const coro::Shape & Shape,const SmallVectorImpl<Function * > & Clones,LazyCallGraph::SCC & C,LazyCallGraph & CG,CGSCCAnalysisManager & AM,CGSCCUpdateResult & UR,FunctionAnalysisManager & FAM) updateCallGraphAfterCoroutineSplit() argument
2214 const coro::Shape Shape = run() local
[all...]
H A DCoroFrame.cpp130 SuspendCrossingInfo(Function &F, coro::Shape &Shape);
295 SuspendCrossingInfo::SuspendCrossingInfo(Function &F, coro::Shape &Shape) in SuspendCrossingInfo()
312 for (auto *CE : Shape.CoroEnds) in SuspendCrossingInfo()
325 for (auto *CSI : Shape.CoroSuspends) { in SuspendCrossingInfo()
659 coro::Shape &Shape); in addField()
761 coro::Shape &Shape) { in addFieldForAllocas()
292 SuspendCrossingInfo(Function & F,coro::Shape & Shape) SuspendCrossingInfo() argument
758 addFieldForAllocas(const Function & F,FrameDataInfo & FrameData,coro::Shape & Shape) addFieldForAllocas() argument
1105 buildFrameDebugInfo(Function & F,coro::Shape & Shape,FrameDataInfo & FrameData) buildFrameDebugInfo() argument
1296 buildFrameType(Function & F,coro::Shape & Shape,FrameDataInfo & FrameData) buildFrameType() argument
1724 insertSpills(const FrameDataInfo & FrameData,coro::Shape & Shape) insertSpills() argument
2500 lowerNonLocalAlloca(CoroAllocaAllocInst * AI,coro::Shape & Shape,SmallVectorImpl<Instruction * > & DeadInsts) lowerNonLocalAlloca() argument
2525 emitGetSwiftErrorValue(IRBuilder<> & Builder,Type * ValueTy,coro::Shape & Shape) emitGetSwiftErrorValue() argument
2540 emitSetSwiftErrorValue(IRBuilder<> & Builder,Value * V,coro::Shape & Shape) emitSetSwiftErrorValue() argument
2559 emitSetAndGetSwiftErrorValueAround(Instruction * Call,AllocaInst * Alloca,coro::Shape & Shape) emitSetAndGetSwiftErrorValueAround() argument
2588 eliminateSwiftErrorAlloca(Function & F,AllocaInst * Alloca,coro::Shape & Shape) eliminateSwiftErrorAlloca() argument
2614 eliminateSwiftErrorArgument(Function & F,Argument & Arg,coro::Shape & Shape,SmallVectorImpl<AllocaInst * > & AllocasToPromote) eliminateSwiftErrorArgument() argument
2650 eliminateSwiftError(Function & F,coro::Shape & Shape) eliminateSwiftError() argument
2730 sinkLifetimeStartMarkers(Function & F,coro::Shape & Shape,SuspendCrossingInfo & Checker) sinkLifetimeStartMarkers() argument
2809 collectFrameAlloca(AllocaInst * AI,coro::Shape & Shape,const SuspendCrossingInfo & Checker,SmallVectorImpl<AllocaInfo> & Allocas,const DominatorTree & DT) collectFrameAlloca() argument
3067 buildCoroutineFrame(Function & F,Shape & Shape,const std::function<bool (Instruction &)> & MaterializableCallback) buildCoroutineFrame() argument
[all...]
H A DCoroutines.cpp148 static void clear(coro::Shape &Shape) { in clear()
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;
156 Shape.AllocaSpillBlock = nullptr; in createCoroSave()
171 void coro::Shape in buildFrom()
145 clear(coro::Shape & Shape) clear() argument
[all...]
H A DCoroInternal.h80 struct LLVM_LIBRARY_VISIBILITY Shape { argument
268 Shape() = default; in OptimizeFrame()
269 explicit Shape(Function &F, bool OptimizeFrame = false) in OptimizeFrame()
278 Function &F, Shape &Shape, TargetTransformInfo &TTI,
79 struct LLVM_LIBRARY_VISIBILITY Shape { global() struct
81 CoroEndsShape global() argument
82 CoroSizesShape global() argument
83 CoroAlignsShape global() argument
84 CoroSuspendsShape global() argument
85 SwiftErrorOpsShape global() argument
88 SwitchFieldIndexShape global() argument
102 ABIShape global() argument
104 FrameTyShape global() argument
105 FrameAlignShape global() argument
106 FrameSizeShape global() argument
107 FramePtrShape global() argument
108 AllocaSpillBlockShape global() argument
111 OptimizeFrameShape global() argument
113 SwitchLoweringStorageShape global() argument
124 RetconLoweringStorageShape global() argument
132 AsyncLoweringStorageShape global() argument
145 __anon9395a70f020aShape global() argument
151 getSwitchCoroIdShape getSwitchCoroId() argument
156 getRetconCoroIdShape getRetconCoroId() argument
162 getAsyncCoroIdShape getAsyncCoroId() argument
167 getSwitchIndexFieldShape getSwitchIndexField() argument
172 getIndexTypeShape getIndexType() argument
177 getIndexShape getIndex() argument
181 getSwitchResumePointerTypeShape getSwitchResumePointerType() argument
187 getResumeFunctionTypeShape getResumeFunctionType() argument
204 getRetconResultTypesShape getRetconResultTypes() argument
217 getRetconResumeTypesShape getRetconResumeTypes() argument
226 getResumeFunctionCCShape getResumeFunctionCC() argument
240 getPromiseAllocaShape getPromiseAlloca() argument
265 getInsertPtAfterFramePtrShape global() argument
275 OptimizeFrameShape global() argument
H A DCoroEarly.cpp90 static_assert(coro::Shape::SwitchFieldIndex::Resume == 0, in lowerCoroDone()
/freebsd-src/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-src/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); in port()
74 const std::vector<int64_t> &shape() const { return Shape; }
78 Shape == Other.Shape;
96 Other.Shape) {}
102 size_t ElementSize, const std::vector<int64_t> &Shape);
109 std::vector<int64_t> Shape;
105 std::vector<int64_t> Shape; global() variable
H A DVectorUtils.h55 const std::optional<VFInfo> Shape = in getVFABIMappings()
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)
104 /// Retrieve the Function with VFShape \p Shape. in getVectorizedFunction()
105 Function *getVectorizedFunction(const VFShape &Shape) const { in getVectorizedFunction()
106 if (Shape == VFShape::getScalarShape(CI.getFunctionType())) in getVectorizedFunction()
110 if (Info.Shape in getVectorizedFunction()
54 const std::optional<VFInfo> Shape = getVFABIMappings() local
103 getVectorizedFunction(const VFShape & Shape) getVectorizedFunction() argument
[all...]
/freebsd-src/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-src/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-src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TileConfig.cpp145 ShapeT Shape = VRM.getShape(Phys2Virt[I]); in INITIALIZE_PASS_DEPENDENCY()
146 for (auto &R : {Shape.getRow()->getReg(), Shape.getCol()->getReg()}) { in INITIALIZE_PASS_DEPENDENCY()
140 ShapeT Shape = VRM.getShape(Phys2Virt[I]); INITIALIZE_PASS_DEPENDENCY() local
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()
1050 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape()
1051 return Shape; in getTileShape()
1067 ShapeT Shape(&MO1, &MO2, MRI);
1068 VRM->assignVirt2Shape(VirtReg, Shape); in getRegAllocationHints()
1069 return Shape; in getRegAllocationHints()
1044 ShapeT Shape = getTileShape(SrcReg, VRM, MRI); getTileShape() local
1062 ShapeT Shape(&MO1, &MO2, MRI); getTileShape() local
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp591 bool setShapeInfo(Value *V, ShapeInfo Shape) { in supportsShapeInfo()
592 assert(Shape && "Shape not set"); in supportsShapeInfo()
598 if (VerifyShapeInfo && (SIter->second.NumRows != Shape.NumRows ||
599 SIter->second.NumColumns != Shape.NumColumns)) {
601 << SIter->second.NumColumns << " vs " << Shape.NumRows << "x"
602 << Shape.NumColumns << ") for " << *V << "\n"; in propagateShapeForward()
613 ShapeMap.insert({V, Shape}); in propagateShapeForward()
614 LLVM_DEBUG(dbgs() << " " << Shape.NumRows << " x " << Shape in propagateShapeForward()
529 setShapeInfo(Value * V,ShapeInfo Shape) setShapeInfo() argument
718 ShapeInfo Shape = ShapeMap[V]; propagateShapeBackward() local
1106 loadMatrix(Type * Ty,Value * Ptr,MaybeAlign MAlign,Value * Stride,bool IsVolatile,ShapeInfo Shape,IRBuilder<> & Builder) loadMatrix() argument
1147 LowerLoad(Instruction * Inst,Value * Ptr,MaybeAlign Align,Value * Stride,bool IsVolatile,ShapeInfo Shape) LowerLoad() argument
1209 LowerStore(Instruction * Inst,Value * Matrix,Value * Ptr,MaybeAlign A,Value * Stride,bool IsVolatile,ShapeInfo Shape) LowerStore() argument
2009 ShapeInfo &Shape = I->second; VisitBinaryOperator() local
2059 ShapeInfo &Shape = I->second; VisitUnaryOperator() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResource.h72 dxil::ResourceKind Shape;
82 : ResourceBase(I, R), Shape(R.getResourceKind()), GloballyCoherent(false), in UAVResource()
71 ResourceBase::Kinds Shape; global() variable
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-src/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-src/contrib/file/magic/Magdir/
H A Desri15 >32 lelong =0 type Null Shape
/freebsd-src/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-src/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-src/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-src/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-src/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-src/sys/contrib/dev/acpica/components/utilities/
H A Dutxface.c721 PldInfo->Shape = ACPI_PLD_GET_SHAPE (&Dword); in ACPI_EXPORT_SYMBOL()
/freebsd-src/sys/contrib/dev/acpica/include/
H A Dacbuffer.h241 UINT8 Shape; member

12