Searched refs:FrameTy (Results 1 - 7 of 7) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp45 auto *FrameTy = StructType::get( local
47 PointerType *FramePtrTy = FrameTy->getPointerTo();
51 auto *Gep = Builder.CreateConstInBoundsGEP2_32(FrameTy, FramePtr, 0, Index);
52 auto *Load = Builder.CreateLoad(FrameTy->getElementType(Index), Gep);
H A DCoroEarly.cpp96 auto *FrameTy = Int8Ptr; local
97 PointerType *FramePtrTy = FrameTy->getPointerTo();
114 StructType *FrameTy = StructType::create(C, "NoopCoro.Frame"); local
115 auto *FramePtrTy = FrameTy->getPointerTo();
119 FrameTy->setBody({FnPtrTy, FnPtrTy});
131 Constant* NoopCoroConst = ConstantStruct::get(FrameTy, Values);
H A DCoroInternal.h109 StructType *FrameTy; member in struct:llvm::coro::Shape
146 assert(FrameTy && "frame type not assigned");
147 return cast<IntegerType>(FrameTy->getElementType(SwitchFieldIndex::Index));
155 assert(FrameTy && "frame type not assigned");
156 return cast<PointerType>(FrameTy->getElementType(SwitchFieldIndex::Resume));
H A DCoroElide.cpp38 void elideHeapAllocations(Function *F, Type *FrameTy, AAResults &AA);
109 void Lowerer::elideHeapAllocations(Function *F, Type *FrameTy, AAResults &AA) { argument
110 LLVMContext &C = FrameTy->getContext();
131 auto *Frame = new AllocaInst(FrameTy, DL.getAllocaAddrSpace(), "", InsertPt);
247 auto *FrameTy = getFrameType(cast<Function>(ResumeAddrConstant)); local
248 elideHeapAllocations(CoroId->getFunction(), FrameTy, AA);
H A DCoroFrame.cpp402 StructType *FrameTy = StructType::create(C, Name); local
408 auto *FramePtrTy = FrameTy->getPointerTo();
467 FrameTy->setBody(Types);
479 = (Layout.getTypeAllocSize(FrameTy) <= Id->getStorageSize() &&
480 Layout.getABITypeAlignment(FrameTy) <= Id->getStorageAlignment());
485 return FrameTy;
590 StructType *FrameTy = Shape.FrameTy; local
591 PointerType *FramePtrTy = FrameTy->getPointerTo();
635 return Builder.CreateInBoundsGEP(FrameTy, FramePt
[all...]
H A DCoroSplit.cpp284 auto *FrameTy = Shape.FrameTy; local
286 FrameTy, FramePtr, coro::Shape::SwitchFieldIndex::Index, "index.addr");
304 auto *GepIndex = Builder.CreateStructGEP(FrameTy, FramePtr,
312 FrameTy, FramePtr, coro::Shape::SwitchFieldIndex::Index, "index.addr");
384 auto *GepIndex = Builder.CreateStructGEP(Shape.FrameTy, NewFramePtr,
624 auto FramePtrTy = Shape.FrameTy->getPointerTo();
800 auto Size = DL.getTypeAllocSize(Shape.FrameTy);
850 Shape.FrameTy, Shape.FramePtr, coro::Shape::SwitchFieldIndex::Resume,
864 Shape.FrameTy, Shap
[all...]
H A DCoroutines.cpp232 Shape.FrameTy = nullptr;

Completed in 162 milliseconds