Searched refs:FrameTy (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
D | CoroEarly.cpp | 95 auto *FrameTy = Int8Ptr; in lowerCoroDone() local 96 PointerType *FramePtrTy = FrameTy->getPointerTo(); in lowerCoroDone() 100 auto *Gep = Builder.CreateConstInBoundsGEP1_32(FrameTy, BCI, 0); in lowerCoroDone() 114 StructType *FrameTy = StructType::create(C, "NoopCoro.Frame"); in lowerCoroNoop() local 115 auto *FramePtrTy = FrameTy->getPointerTo(); in lowerCoroNoop() 119 FrameTy->setBody({FnPtrTy, FnPtrTy}); in lowerCoroNoop() 131 Constant* NoopCoroConst = ConstantStruct::get(FrameTy, Values); in lowerCoroNoop()
|
D | CoroSplit.cpp | 94 auto *FrameTy = Shape.FrameTy; in createResumeEntryBlock() local 96 FrameTy, FramePtr, 0, coro::Shape::IndexField, "index.addr"); in createResumeEntryBlock() 113 auto *GepIndex = Builder.CreateConstInBoundsGEP2_32(FrameTy, FramePtr, 0, in createResumeEntryBlock() 120 FrameTy, FramePtr, 0, coro::Shape::IndexField, "index.addr"); in createResumeEntryBlock() 231 auto *GepIndex = Builder.CreateConstInBoundsGEP2_32(Shape.FrameTy, FramePtr, in handleFinalSuspend() 248 auto *FrameTy = Shape.FrameTy; in createClone() local 249 auto *FnPtrTy = cast<PointerType>(FrameTy->getElementType(0)); in createClone() 360 auto Size = DL.getTypeAllocSize(Shape.FrameTy); in replaceFrameSize() 404 Shape.FrameTy, Shape.FramePtr, 0, coro::Shape::ResumeField, in updateCoroFrame() 418 Shape.FrameTy, Shape.FramePtr, 0, coro::Shape::DestroyField, in updateCoroFrame() [all …]
|
D | CoroElide.cpp | 38 void elideHeapAllocations(Function *F, Type *FrameTy, AAResults &AA); 109 void Lowerer::elideHeapAllocations(Function *F, Type *FrameTy, AAResults &AA) { in elideHeapAllocations() argument 110 LLVMContext &C = FrameTy->getContext(); in elideHeapAllocations() 131 auto *Frame = new AllocaInst(FrameTy, DL.getAllocaAddrSpace(), "", InsertPt); in elideHeapAllocations() 247 auto *FrameTy = getFrameType(cast<Function>(ResumeAddrConstant)); in processCoroId() local 248 elideHeapAllocations(CoroId->getFunction(), FrameTy, AA); in processCoroId()
|
D | CoroInternal.h | 81 StructType *FrameTy; member 89 assert(FrameTy && "frame type not assigned"); in getIndexType() 90 return cast<IntegerType>(FrameTy->getElementType(IndexField)); in getIndexType()
|
D | CoroCleanup.cpp | 46 auto *FrameTy = StructType::get( in lowerSubFn() local 48 PointerType *FramePtrTy = FrameTy->getPointerTo(); in lowerSubFn() 52 auto *Gep = Builder.CreateConstInBoundsGEP2_32(FrameTy, FramePtr, 0, Index); in lowerSubFn()
|
D | CoroFrame.cpp | 379 StructType *FrameTy = StructType::create(C, Name); in buildFrameType() local 380 auto *FramePtrTy = FrameTy->getPointerTo(); in buildFrameType() 424 FrameTy->setBody(Types); in buildFrameType() 426 return FrameTy; in buildFrameType() 475 PointerType *FramePtrTy = Shape.FrameTy->getPointerTo(); in insertSpills() 478 Type *FrameTy = FramePtrTy->getElementType(); in insertSpills() local 500 auto *G = Builder.CreateConstInBoundsGEP2_32(FrameTy, FramePtr, 0, Index, in insertSpills() 555 FrameTy, FramePtr, 0, Index, in insertSpills() 592 Builder.CreateConstInBoundsGEP2_32(FrameTy, FramePtr, 0, P.second); in insertSpills() 941 Shape.FrameTy = buildFrameType(F, Shape, Spills); in buildCoroutineFrame()
|
D | Coroutines.cpp | 217 Shape.FrameTy = nullptr; in clear()
|