/openbsd-current/gnu/llvm/llvm/lib/Transforms/Coroutines/ |
H A D | CoroSplit.cpp | 105 coro::Shape &Shape; member in class:__anon3309::CoroCloner 117 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, argument 119 : OrigF(OrigF), NewF(nullptr), Suffix(Suffix), Shape(Shape), 121 assert(Shape.ABI == coro::ABI::Switch); 125 CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape, argument 127 : OrigF(OrigF), NewF(NewF), Suffix(Suffix), Shape(Shap 169 maybeFreeRetconStorage(IRBuilder< &Builder, const coro::Shape &Shape, Value *FramePtr, CallGraph *CG) argument 226 replaceFallthroughCoroEnd(AnyCoroEndInst *End, const coro::Shape &Shape, Value *FramePtr, bool InResume, CallGraph *CG) argument 291 markCoroutineAsDone(IRBuilder< &Builder, const coro::Shape &Shape, Value *FramePtr) argument 305 replaceUnwindCoroEnd(AnyCoroEndInst *End, const coro::Shape &Shape, Value *FramePtr, bool InResume, CallGraph *CG) argument 343 replaceCoroEnd(AnyCoroEndInst *End, const coro::Shape &Shape, Value *FramePtr, bool InResume, CallGraph *CG) argument 358 createResumeEntryBlock(Function &F, coro::Shape &Shape) argument 507 createCloneDeclaration(Function &OrigF, coro::Shape &Shape, const Twine &Suffix, Module::iterator InsertBefore, AnyCoroSuspendInst *ActiveSuspend) argument 620 replaceSwiftErrorOps(Function &F, coro::Shape &Shape, ValueToValueMapTy *VMap) argument 1092 createClone(Function &F, const Twine &Suffix, coro::Shape &Shape, CoroCloner::Kind FKind) argument 1099 updateAsyncFuncPointerContextSize(coro::Shape &Shape) argument 1114 replaceFrameSizeAndAlignment(coro::Shape &Shape) argument 1151 setCoroInfo(Function &F, coro::Shape &Shape, ArrayRef<Function *> Fns) argument 1175 updateCoroFrame(coro::Shape &Shape, Function *ResumeFn, Function *DestroyFn, Function *CleanupFn) argument 1404 handleNoSuspendCoroutine(coro::Shape &Shape) argument 1565 simplifySuspendPoints(coro::Shape &Shape) argument 1606 splitSwitchCoroutine(Function &F, coro::Shape &Shape, SmallVectorImpl<Function *> &Clones, TargetTransformInfo &TTI) argument 1691 splitAsyncCoroutine(Function &F, coro::Shape &Shape, SmallVectorImpl<Function *> &Clones) argument 1788 splitRetconCoroutine(Function &F, coro::Shape &Shape, SmallVectorImpl<Function *> &Clones) argument 1997 removeCoroEnds(const coro::Shape &Shape) argument 2003 updateCallGraphAfterCoroutineSplit( LazyCallGraph::Node &N, const coro::Shape &Shape, const SmallVectorImpl<Function *> &Clones, LazyCallGraph::SCC &C, LazyCallGraph &CG, CGSCCAnalysisManager &AM, CGSCCUpdateResult &UR, FunctionAnalysisManager &FAM) argument 2145 const coro::Shape Shape = splitCoroutine( local [all...] |
H A D | CoroFrame.cpp | 114 SuspendCrossingInfo(Function &F, coro::Shape &Shape); 214 SuspendCrossingInfo::SuspendCrossingInfo(Function &F, coro::Shape &Shape) argument 230 for (auto *CE : Shape.CoroEnds) 243 for (auto *CSI : Shape.CoroSuspends) { 516 coro::Shape &Shape); 618 coro::Shape &Shape) { 616 addFieldForAllocas(const Function &F, FrameDataInfo &FrameData, coro::Shape &Shape) argument 972 buildFrameDebugInfo(Function &F, coro::Shape &Shape, FrameDataInfo &FrameData) argument 1145 buildFrameType(Function &F, coro::Shape &Shape, FrameDataInfo &FrameData) argument 1555 createFramePtr(coro::Shape &Shape) argument 1586 insertSpills(const FrameDataInfo &FrameData, coro::Shape &Shape) argument 2290 lowerNonLocalAlloca(CoroAllocaAllocInst *AI, coro::Shape &Shape, SmallVectorImpl<Instruction*> &DeadInsts) argument 2315 emitGetSwiftErrorValue(IRBuilder< &Builder, Type *ValueTy, coro::Shape &Shape) argument 2330 emitSetSwiftErrorValue(IRBuilder< &Builder, Value *V, coro::Shape &Shape) argument 2348 emitSetAndGetSwiftErrorValueAround(Instruction *Call, AllocaInst *Alloca, coro::Shape &Shape) argument 2378 eliminateSwiftErrorAlloca(Function &F, AllocaInst *Alloca, coro::Shape &Shape) argument 2404 eliminateSwiftErrorArgument(Function &F, Argument &Arg, coro::Shape &Shape, SmallVectorImpl<AllocaInst*> &AllocasToPromote) argument 2444 eliminateSwiftError(Function &F, coro::Shape &Shape) argument 2524 sinkLifetimeStartMarkers(Function &F, coro::Shape &Shape, SuspendCrossingInfo &Checker) argument 2609 collectFrameAlloca(AllocaInst *AI, coro::Shape &Shape, const SuspendCrossingInfo &Checker, SmallVectorImpl<AllocaInfo> &Allocas, const DominatorTree &DT) argument 2727 buildCoroutineFrame(Function &F, Shape &Shape) argument [all...] |
H A D | CoroInternal.h | 73 struct LLVM_LIBRARY_VISIBILITY Shape { struct in namespace:llvm::coro 256 Shape() = default; 257 explicit Shape(Function &F, bool OptimizeFrame = false) function in struct:llvm::coro::Shape 264 void buildCoroutineFrame(Function &F, Shape &Shape);
|
H A D | Coroutines.cpp | 149 static void clear(coro::Shape &Shape) { argument 150 Shape.CoroBegin = nullptr; 151 Shape.CoroEnds.clear(); 152 Shape.CoroSizes.clear(); 153 Shape.CoroSuspends.clear(); 155 Shape.FrameTy = nullptr; 156 Shape.FramePtr = nullptr; 157 Shape.AllocaSpillBlock = nullptr; 172 void coro::Shape [all...] |
H A D | CoroEarly.cpp | 90 static_assert(coro::Shape::SwitchFieldIndex::Resume == 0,
|
/openbsd-current/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | TileShapeInfo.h | 9 /// \file Shape utility for AMX. 41 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-current/gnu/llvm/llvm/include/llvm/Analysis/ |
H A D | TensorSpec.h | 58 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; } 70 Shape == Other.Shape; 88 Other.Shape) {} 94 size_t ElementSize, const std::vector<int64_t> &Shape); 101 std::vector<int64_t> Shape; member in class:llvm::final 57 createSpec(const std::string &Name, const std::vector<int64_t> &Shape, int Port = 0) argument
|
H A D | VectorUtils.h | 124 VFShape Shape; /// Classification of the vector function. member in struct:llvm::VFInfo 234 const std::optional<VFInfo> Shape = local 240 if (Shape && (Shape->ScalarName == ScalarName)) { 241 assert(CI.getModule()->getFunction(Shape->VectorName) && 243 Mappings.push_back(*Shape); 268 /// Retrieve the Function with VFShape \p Shape. 269 Function *getVectorizedFunction(const VFShape &Shape) const { 270 if (Shape == VFShape::getScalarShape(CI)) 274 if (Info.Shape [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Analysis/ |
H A D | TensorSpec.cpp | 61 size_t ElementSize, const std::vector<int64_t> &Shape) 62 : Name(Name), Port(Port), Type(Type), Shape(Shape), 63 ElementCount(std::accumulate(Shape.begin(), Shape.end(), 1, 60 TensorSpec(const std::string &Name, int Port, TensorType Type, size_t ElementSize, const std::vector<int64_t> &Shape) argument
|
H A D | VFABIDemangling.cpp | 454 const VFShape Shape({ElementCount::get(VF, IsScalable), Parameters}); 455 return VFInfo({Shape, std::string(ScalarName), std::string(VectorName), ISA});
|
/openbsd-current/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86TileConfig.cpp | 140 ShapeT Shape = VRM.getShape(Phys2Virt[I]); local 141 for (auto &R : {Shape.getRow()->getReg(), Shape.getCol()->getReg()}) {
|
H A D | X86FastPreTileConfig.cpp | 390 ShapeT Shape = getShape(MRI, InTileReg); local 391 Shape.getRow()->setIsKill(false); 392 Shape.getCol()->setIsKill(false); 393 RowPHI.addReg(Shape.getRow()->getReg()).addMBB(InMBB); 394 ColPHI.addReg(Shape.getCol()->getReg()).addMBB(InMBB);
|
H A D | X86RegisterInfo.cpp | 952 ShapeT Shape = getTileShape(SrcReg, VRM, MRI); 953 VRM->assignVirt2Shape(VirtReg, Shape); 954 return Shape; 968 ShapeT Shape(&MO1, &MO2, MRI); 969 VRM->assignVirt2Shape(VirtReg, Shape); 970 return Shape;
|
/openbsd-current/gnu/llvm/llvm/lib/Target/DirectX/ |
H A D | DXILResource.cpp | 235 Shape(static_cast<ResourceBase::Kinds>(R.getResourceKind())), 246 Shape, ExtProps.ElementType.value_or(ComponentType::Invalid), 8, OS); 250 printKind(Shape, 12, OS, /*SRV*/ false, HasCounter); 269 Shape = StringSwitch<ResourceBase::Kinds>(S) 274 assert(Shape != Kinds::Invalid && "Unsupported buffer type"); 355 ConstantAsMetadata::get(B.getInt32(static_cast<uint32_t>(Shape)));
|
H A D | DXILResource.h | 96 ResourceBase::Kinds Shape; member in class:llvm::UAVResource
|
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Scalar/ |
H A D | LowerMatrixIntrinsics.cpp | 531 bool setShapeInfo(Value *V, ShapeInfo Shape) { argument 532 assert(Shape && "Shape not set"); 544 ShapeMap.insert({V, Shape}); 545 LLVM_DEBUG(dbgs() << " " << Shape.NumRows << " x " << Shape.NumColumns 711 ShapeInfo Shape = ShapeMap[V]; local 713 if (setShapeInfo(U.get(), Shape)) 1095 /// Load a matrix with \p Shape starting at \p Ptr and using \p Stride between 1098 bool IsVolatile, ShapeInfo Shape, IRBuilde 1097 loadMatrix(Type *Ty, Value *Ptr, MaybeAlign MAlign, Value *Stride, bool IsVolatile, ShapeInfo Shape, IRBuilder<> &Builder) argument 1144 LowerLoad(Instruction *Inst, Value *Ptr, MaybeAlign Align, Value *Stride, bool IsVolatile, ShapeInfo Shape) argument 1212 LowerStore(Instruction *Inst, Value *Matrix, Value *Ptr, MaybeAlign A, Value *Stride, bool IsVolatile, ShapeInfo Shape) argument 1855 ShapeInfo &Shape = I->second; local 1905 ShapeInfo &Shape = I->second; local [all...] |
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
H A D | RecordName.cpp | 212 VFTableShapeRecord &Shape) { 213 Name = formatv("<vftable {0} methods>", Shape.getEntryCount()); 211 visitKnownRecord(CVType &CVR, VFTableShapeRecord &Shape) argument
|
H A D | TypeDumpVisitor.cpp | 403 VFTableShapeRecord &Shape) { 404 W->printNumber("VFEntryCount", Shape.getEntryCount()); 402 visitKnownRecord(CVType &CVR, VFTableShapeRecord &Shape) argument
|
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/ |
H A D | MLRegallocEvictAdvisor.cpp | 236 template <typename T> size_t getTotalSize(const std::vector<int64_t> &Shape) { argument 238 for (const auto V : Shape)
|
/openbsd-current/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanRecipes.cpp | 479 const VFShape Shape = VFShape::get(CI, State.VF, false /*HasGlobalPred*/); local 481 assert(VFDatabase(CI).getVectorizedFunction(Shape) != nullptr && 484 VectorF = VFDatabase(CI).getVectorizedFunction(Shape);
|
H A D | SLPVectorizer.cpp | 757 Mappings.front().Shape.VF != BaseMappings.front().Shape.VF || 758 Mappings.front().Shape.Parameters != 759 BaseMappings.front().Shape.Parameters) 5805 VFShape Shape = VFShape::get( 5808 Function *VecFunc = VFDatabase(*CI).getVectorizedFunction(Shape); 5828 VecFunc != VFDatabase(*CI2).getVectorizedFunction(Shape)) || 6100 auto Shape = VFShape::get(*CI, ElementCount::getFixed(static_cast<unsigned>( 6103 Function *VecFunc = VFDatabase(*CI).getVectorizedFunction(Shape); 9696 VFShape Shape [all...] |
H A D | LoopVectorize.cpp | 3468 VFShape Shape = VFShape::get(*CI, VF, false /*HasGlobalPred*/); 3469 Function *VecFunc = VFDatabase(*CI).getVectorizedFunction(Shape);
|
/openbsd-current/gnu/llvm/llvm/tools/llvm-pdbutil/ |
H A D | MinimalTypeDumper.cpp | 455 VFTableShapeRecord &Shape) { 454 visitKnownRecord(CVType &CVR, VFTableShapeRecord &Shape) argument
|