Searched refs:FrameTy (Results 1 – 7 of 7) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroEarly.cpp | 91 auto *FrameTy = Int8Ptr; in lowerCoroDone() local 92 PointerType *FramePtrTy = FrameTy->getPointerTo(); in lowerCoroDone() 96 auto *Load = Builder.CreateLoad(FrameTy, BCI); in lowerCoroDone() 109 StructType *FrameTy = StructType::create(C, "NoopCoro.Frame"); in lowerCoroNoop() local 110 auto *FramePtrTy = FrameTy->getPointerTo(); in lowerCoroNoop() 114 FrameTy->setBody({FnPtrTy, FnPtrTy}); in lowerCoroNoop() 126 Constant* NoopCoroConst = ConstantStruct::get(FrameTy, Values); in lowerCoroNoop()
|
| H A D | CoroInternal.h | 122 StructType *FrameTy; member 187 assert(FrameTy && "frame type not assigned"); in getSwitchIndexField() 192 assert(FrameTy && "frame type not assigned"); in getIndexType() 193 return cast<IntegerType>(FrameTy->getElementType(getSwitchIndexField())); in getIndexType() 201 assert(FrameTy && "frame type not assigned"); in getSwitchResumePointerType() 202 return cast<PointerType>(FrameTy->getElementType(SwitchFieldIndex::Resume)); in getSwitchResumePointerType()
|
| H A D | CoroCleanup.cpp | 44 auto *FrameTy = StructType::get( in lowerSubFn() local 46 PointerType *FramePtrTy = FrameTy->getPointerTo(); in lowerSubFn() 50 auto *Gep = Builder.CreateConstInBoundsGEP2_32(FrameTy, FramePtr, 0, Index); in lowerSubFn() 51 auto *Load = Builder.CreateLoad(FrameTy->getElementType(Index), Gep); in lowerSubFn()
|
| H A D | CoroElide.cpp | 113 auto *FrameTy = Resume->arg_begin()->getType()->getPointerElementType(); in getFrameLayout() local 116 if (!Size) Size = DL.getTypeAllocSize(FrameTy); in getFrameLayout() 117 if (!Align) Align = DL.getABITypeAlign(FrameTy); in getFrameLayout() 171 auto FrameTy = ArrayType::get(Type::getInt8Ty(C), FrameSize); in elideHeapAllocations() local 172 auto *Frame = new AllocaInst(FrameTy, DL.getAllocaAddrSpace(), "", InsertPt); in elideHeapAllocations()
|
| H A D | CoroFrame.cpp | 955 StructType *FrameTy = Shape.FrameTy; in buildFrameDebugInfo() local 973 *IndexTy = FrameTy->getElementType(IndexIndex); in buildFrameDebugInfo() 1036 Type *Ty = FrameTy->getElementType(Index); in buildFrameDebugInfo() 1098 StructType *FrameTy = [&] { in buildFrameType() local 1114 auto *FramePtrTy = FrameTy->getPointerTo(); in buildFrameType() 1166 B.finish(FrameTy); in buildFrameType() 1211 return FrameTy; in buildFrameType() 1487 StructType *FrameTy = Shape.FrameTy; in createFramePtr() local 1488 PointerType *FramePtrTy = FrameTy->getPointerTo(); in createFramePtr() 1520 StructType *FrameTy = Shape.FrameTy; in insertSpills() local [all …]
|
| H A D | CoroSplit.cpp | 348 auto *FrameTy = Shape.FrameTy; in createResumeEntryBlock() local 350 FrameTy, FramePtr, Shape.getSwitchIndexField(), "index.addr"); in createResumeEntryBlock() 368 auto *GepIndex = Builder.CreateStructGEP(FrameTy, FramePtr, in createResumeEntryBlock() 372 FrameTy->getTypeAtIndex(coro::Shape::SwitchFieldIndex::Resume))); in createResumeEntryBlock() 376 FrameTy, FramePtr, Shape.getSwitchIndexField(), "index.addr"); in createResumeEntryBlock() 448 auto *GepIndex = Builder.CreateStructGEP(Shape.FrameTy, NewFramePtr, in handleFinalSuspend() 770 auto *FramePtrTy = Shape.FrameTy->getPointerTo(); in deriveNewFramePointer() 797 auto FramePtrTy = Shape.FrameTy->getPointerTo(); in deriveNewFramePointer() 1075 auto Size = DL.getTypeAllocSize(Shape.FrameTy); in replaceFrameSize() 1309 auto *Frame = Builder.CreateAlloca(Shape.FrameTy); in handleNoSuspendCoroutine() [all …]
|
| H A D | Coroutines.cpp | 239 Shape.FrameTy = nullptr; in clear()
|