| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroSplit.cpp | 87 coro::Shape &Shape) { in lowerAwaitSuspend() argument 143 Shape.SymmetricTransfers.push_back(ResumeCall); in lowerAwaitSuspend() 152 static void lowerAwaitSuspends(Function &F, coro::Shape &Shape) { in lowerAwaitSuspends() argument 154 for (auto *AWS : Shape.CoroAwaitSuspends) in lowerAwaitSuspends() 155 lowerAwaitSuspend(Builder, AWS, Shape); in lowerAwaitSuspends() 159 const coro::Shape &Shape, Value *FramePtr, in maybeFreeRetconStorage() argument 161 assert(Shape.ABI == coro::ABI::Retcon || Shape.ABI == coro::ABI::RetconOnce); in maybeFreeRetconStorage() 162 if (Shape.RetconLowering.IsFrameInlineInStorage) in maybeFreeRetconStorage() 165 Shape.emitDealloc(Builder, FramePtr, CG); in maybeFreeRetconStorage() 215 const coro::Shape &Shape, Value *FramePtr, in replaceFallthroughCoroEnd() argument [all …]
|
| H A D | CoroCloner.h | 47 coro::Shape &Shape; variable 61 BaseCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in BaseCloner() argument 64 : OrigF(OrigF), Suffix(Suffix), Shape(Shape), in BaseCloner() 65 FKind(Shape.ABI == ABI::Async ? CloneKind::Async in BaseCloner() 69 assert(Shape.ABI == ABI::Retcon || Shape.ABI == ABI::RetconOnce || in BaseCloner() 70 Shape.ABI == ABI::Async); in BaseCloner() 76 BaseCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, in BaseCloner() argument 78 : OrigF(OrigF), Suffix(Suffix), Shape(Shape), FKind(FKind), in BaseCloner() 85 coro::Shape &Shape, Function *NewF, in createClone() argument 88 assert(Shape.ABI == ABI::Retcon || Shape.ABI == ABI::RetconOnce || in createClone() [all …]
|
| H A D | CoroFrame.cpp | 236 coro::Shape &Shape, bool OptimizeFrame); 338 coro::Shape &Shape, in addFieldForAllocas() argument 374 for (auto *CoroSuspendInst : Shape.CoroSuspends) { in addFieldForAllocas() 688 static void buildFrameDebugInfo(Function &F, coro::Shape &Shape, in buildFrameDebugInfo() argument 699 assert(Shape.ABI == coro::ABI::Switch && in buildFrameDebugInfo() 704 assert(Shape.getPromiseAlloca() && in buildFrameDebugInfo() 712 DFile, LineNum, Shape.FrameSize * 8, in buildFrameDebugInfo() 713 Shape.FrameAlign.value() * 8, llvm::DINode::FlagArtificial, nullptr, in buildFrameDebugInfo() 715 StructType *FrameTy = Shape.FrameTy; in buildFrameDebugInfo() 722 unsigned ResumeIndex = coro::Shape::SwitchFieldIndex::Resume; in buildFrameDebugInfo() [all …]
|
| H A D | SpillUtils.cpp | 74 lowerNonLocalAlloca(CoroAllocaAllocInst *AI, const coro::Shape &Shape, in lowerNonLocalAlloca() argument 77 auto Alloc = Shape.emitAlloc(Builder, AI->getSize(), nullptr); in lowerNonLocalAlloca() 85 Shape.emitDealloc(Builder, Alloc, nullptr); in lowerNonLocalAlloca() 153 const coro::Shape &CoroShape, in AllocaUseVisitor() 312 const coro::Shape &CoroShape; 416 static void collectFrameAlloca(AllocaInst *AI, const coro::Shape &Shape, in collectFrameAlloca() argument 420 if (Shape.CoroSuspends.empty()) in collectFrameAlloca() 425 if (AI == Shape.SwitchLowering.PromiseAlloca) in collectFrameAlloca() 437 (Shape.ABI != coro::ABI::Async && Shape.ABI != coro::ABI::Retcon && in collectFrameAlloca() 438 Shape.ABI != coro::ABI::RetconOnce); in collectFrameAlloca() [all …]
|
| H A D | Coroutines.cpp | 181 void coro::Shape::analyze(Function &F, in analyze() 342 void coro::Shape::invalidateCoroutine( in invalidateCoroutine() 372 assert(Shape.ABI == coro::ABI::Switch); in init() 374 for (auto *AnySuspend : Shape.CoroSuspends) { in init() 384 createCoroSave(Shape.CoroBegin, Suspend); in init() 389 void coro::AsyncABI::init() { assert(Shape.ABI == coro::ABI::Async); } in init() 392 assert(Shape.ABI == coro::ABI::Retcon || Shape.ABI == coro::ABI::RetconOnce); in init() 396 auto ResultTys = Shape.getRetconResultTypes(); in init() 397 auto ResumeTys = Shape.getRetconResumeTypes(); in init() 399 for (auto *AnySuspend : Shape.CoroSuspends) { in init() [all …]
|
| H A D | CoroInternal.h | 62 void normalizeCoroutine(Function &F, coro::Shape &Shape,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Coroutines/ |
| H A D | ABI.h | 43 BaseABI(Function &F, coro::Shape &S, in BaseABI() 45 : F(F), Shape(S), IsMaterializable(std::move(IsMaterializable)) {} in BaseABI() 55 virtual void splitCoroutine(Function &F, coro::Shape &Shape, 60 coro::Shape &Shape; variable 69 SwitchABI(Function &F, coro::Shape &S, in SwitchABI() 75 void splitCoroutine(Function &F, coro::Shape &Shape, 82 AsyncABI(Function &F, coro::Shape &S, in AsyncABI() 88 void splitCoroutine(Function &F, coro::Shape &Shape, 95 AnyRetconABI(Function &F, coro::Shape &S, in AnyRetconABI() 101 void splitCoroutine(Function &F, coro::Shape &Shape,
|
| H A D | SpillUtils.h | 40 const coro::Shape &Shape); 52 BasicBlock::iterator getSpillInsertionPt(const coro::Shape &, Value *Def,
|
| H A D | CoroSplit.h | 28 struct Shape; 33 std::function<std::unique_ptr<coro::BaseABI>(Function &, coro::Shape &)>;
|
| H A D | CoroShape.h | 53 struct Shape { struct 271 Shape() = default; argument 272 explicit Shape(Function &F) { in Shape() argument
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TileShapeInfo.h | 61 bool operator==(const ShapeT &Shape) const { 62 MachineOperand *R = Shape.Row; 63 MachineOperand *C = Shape.Col; 71 return RowImm == Shape.getRowImm() && ColImm == Shape.getColImm(); 75 bool operator!=(const ShapeT &Shape) const { return !(*this == Shape); } 147 for (auto *Shape : Shapes) { in deduceImm() 148 int64_t ImmShape = GetImm(Shape->getReg()); in deduceImm()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TileConfig.cpp | 104 ShapeT Shape = VRM.getShape(VirtReg); in collectVirtRegShapes() local 105 Phys2Shapes[Index] = std::move(Shape); in collectVirtRegShapes() 115 ShapeT Shape = VRM.getShape(VirtReg); in collectVirtRegShapes() local 116 assert(Shape.getShapeNum() == 2 && "Unexpected shape number!"); in collectVirtRegShapes() 119 ShapeT Shape0(Shape.getRow(0), Shape.getCol(0), MRI); in collectVirtRegShapes() 124 ShapeT Shape1(Shape.getRow(1), Shape.getCol(1), MRI); in collectVirtRegShapes() 191 ShapeT Shape = Phys2Shapes[I]; in runOnMachineFunction() local 192 if (!Shape.isValid()) in runOnMachineFunction() 197 for (auto &R : {Shape.getRow()->getReg(), Shape.getCol()->getReg()}) { in runOnMachineFunction()
|
| H A D | X86RegisterInfo.cpp | 1063 ShapeT Shape = getTileShape(SrcReg, VRM, MRI); in getTileShape() local 1064 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape() 1065 return Shape; in getTileShape() 1096 ShapeT Shape(&MO1, &MO2, MRI); in getTileShape() local 1097 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape() 1098 return Shape; in getTileShape() 1111 ShapeT Shape({&MO1, &MO2, &MO1, &MO3}, MRI); in getTileShape() local 1112 VRM->assignVirt2Shape(VirtReg, Shape); in getTileShape() 1113 return Shape; in getTileShape()
|
| H A D | X86FastPreTileConfig.cpp | 401 ShapeT Shape = getShape(MRI, InTileReg); in convertPHI() local 402 Shape.getRow()->setIsKill(false); in convertPHI() 403 Shape.getCol()->setIsKill(false); in convertPHI() 404 RowPHI.addReg(Shape.getRow()->getReg()).addMBB(InMBB); in convertPHI() 405 ColPHI.addReg(Shape.getCol()->getReg()).addMBB(InMBB); in convertPHI()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TensorSpec.h | 67 const std::vector<int64_t> &Shape, 69 return TensorSpec(Name, Port, getDataType<T>(), sizeof(T), Shape); 75 const std::vector<int64_t> &shape() const { return Shape; } in shape() 79 Shape == Other.Shape; 97 Other.Shape) {} in TensorSpec() 103 size_t ElementSize, const std::vector<int64_t> &Shape); 110 std::vector<int64_t> Shape; variable
|
| H A D | VectorUtils.h | 57 const std::optional<VFInfo> Shape = in getVFABIMappings() local 63 if (Shape && (Shape->ScalarName == ScalarName)) { in getVFABIMappings() 64 assert(CI.getModule()->getFunction(Shape->VectorName) && in getVFABIMappings() 66 Mappings.push_back(*Shape); in getVFABIMappings() 91 if (!VF || Info.Shape.VF == *VF) 107 Function *getVectorizedFunction(const VFShape &Shape) const { in getVectorizedFunction() argument 108 if (Shape == VFShape::getScalarShape(CI.getFunctionType())) in getVectorizedFunction() 112 if (Info.Shape == Shape) in getVectorizedFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TensorSpec.cpp | 63 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 D | VFABIDemangling.cpp | |
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | VFABIDemangler.h | 126 VFShape Shape; /// Classification of the vector function. member 134 unsigned ParamCount = Shape.Parameters.size(); in getParamIndexForOptionalMask() 136 if (Shape.Parameters[i].ParamKind == VFParamKind::GlobalPredicate) in getParamIndexForOptionalMask()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 662 bool setShapeInfo(Value *V, ShapeInfo Shape) { in setShapeInfo() argument 663 assert(Shape && "Shape not set"); in setShapeInfo() 669 if (VerifyShapeInfo && (SIter->second.NumRows != Shape.NumRows || in setShapeInfo() 670 SIter->second.NumColumns != Shape.NumColumns)) { in setShapeInfo() 672 << SIter->second.NumColumns << " vs " << Shape.NumRows << "x" in setShapeInfo() 673 << Shape.NumColumns << ") for " << *V << "\n"; in setShapeInfo() 684 ShapeMap.insert({V, Shape}); in setShapeInfo() 685 LLVM_DEBUG(dbgs() << " " << Shape.NumRows << " x " << Shape.NumColumns in setShapeInfo() 800 ShapeInfo Shape = ShapeMap[V]; in propagateShapeBackward() local 802 if (setShapeInfo(U.get(), Shape)) in propagateShapeBackward() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | VFABIDemangler.cpp | 508 const VFShape Shape({*EC, Parameters}); in tryDemangleForVFABI() local 509 return VFInfo({Shape, std::string(ScalarName), std::string(VectorName), ISA}); in tryDemangleForVFABI() 560 ElementCount VF = Info.Shape.VF; in createFunctionType() 562 for (auto VFParam : Info.Shape.Parameters) { in createFunctionType()
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | esri | 15 >32 lelong =0 type Null Shape
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ReplaceWithVeclib.cpp | 81 VectorType::get(Type::getInt1Ty(II->getContext()), Info.Shape.VF); in replaceWithTLIFunction() 176 for (auto &VFParam : OptInfo->Shape.Parameters) { in replaceWithCallToVeclib()
|
| /freebsd/sys/contrib/dev/acpica/components/debugger/ |
| H A D | dbconvert.c | 498 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 D | RecordName.cpp | 212 VFTableShapeRecord &Shape) { in visitKnownRecord() argument 213 Name = formatv("<vftable {0} methods>", Shape.getEntryCount()); in visitKnownRecord()
|