Searched refs:FrameTy (Results 1 - 7 of 7) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroEarly.cpp | 91 auto *FrameTy = Int8Ptr; local 92 PointerType *FramePtrTy = FrameTy->getPointerTo(); 96 auto *Load = Builder.CreateLoad(FrameTy, BCI); 109 StructType *FrameTy = StructType::create(C, "NoopCoro.Frame"); local 110 auto *FramePtrTy = FrameTy->getPointerTo(); 114 FrameTy->setBody({FnPtrTy, FnPtrTy}); 126 Constant* NoopCoroConst = ConstantStruct::get(FrameTy, Values);
|
H A D | CoroInternal.h | 112 StructType *FrameTy; member in struct:llvm::coro::Shape 153 assert(FrameTy && "frame type not assigned"); 158 assert(FrameTy && "frame type not assigned"); 159 return cast<IntegerType>(FrameTy->getElementType(getSwitchIndexField())); 167 assert(FrameTy && "frame type not assigned"); 168 return cast<PointerType>(FrameTy->getElementType(SwitchFieldIndex::Resume)); 225 assert(FrameTy && "frame type not assigned");
|
H A D | CoroCleanup.cpp | 44 auto *FrameTy = StructType::get( local 46 PointerType *FramePtrTy = FrameTy->getPointerTo(); 50 auto *Gep = Builder.CreateConstInBoundsGEP2_32(FrameTy, FramePtr, 0, Index); 51 auto *Load = Builder.CreateLoad(FrameTy->getElementType(Index), Gep);
|
H A D | CoroElide.cpp | 105 auto *FrameTy = Resume->arg_begin()->getType()->getPointerElementType(); local 108 if (!Size) Size = DL.getTypeAllocSize(FrameTy); 109 if (!Align) Align = DL.getABITypeAlign(FrameTy); 148 auto FrameTy = ArrayType::get(Type::getInt8Ty(C), FrameSize); local 149 auto *Frame = new AllocaInst(FrameTy, DL.getAllocaAddrSpace(), "", InsertPt);
|
H A D | CoroSplit.cpp | 285 auto *FrameTy = Shape.FrameTy; local 287 FrameTy, FramePtr, Shape.getSwitchIndexField(), "index.addr"); 305 auto *GepIndex = Builder.CreateStructGEP(FrameTy, FramePtr, 313 FrameTy, FramePtr, Shape.getSwitchIndexField(), "index.addr"); 385 auto *GepIndex = Builder.CreateStructGEP(Shape.FrameTy, NewFramePtr, 632 auto FramePtrTy = Shape.FrameTy->getPointerTo(); 822 auto Size = DL.getTypeAllocSize(Shape.FrameTy); 872 Shape.FrameTy, Shape.FramePtr, coro::Shape::SwitchFieldIndex::Resume, 886 Shape.FrameTy, Shap [all...] |
H A D | CoroFrame.cpp | 532 StructType *FrameTy = [&] { local 545 auto *FramePtrTy = FrameTy->getPointerTo(); 593 B.finish(FrameTy); 622 return FrameTy; 727 StructType *FrameTy = Shape.FrameTy; local 728 PointerType *FramePtrTy = FrameTy->getPointerTo(); 774 return Builder.CreateInBoundsGEP(FrameTy, FramePtr, Indices); 788 : Builder.CreateLoad(FrameTy->getElementType(Index), G, 856 FrameTy, FramePt [all...] |
H A D | Coroutines.cpp | 231 Shape.FrameTy = nullptr;
|
Completed in 79 milliseconds