reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Coroutines/CoroEarly.cpp
   94   static_assert(coro::Shape::SwitchFieldIndex::Resume == 0,
lib/Transforms/Coroutines/CoroFrame.cpp
  102   SuspendCrossingInfo(Function &F, coro::Shape &Shape);
  178 SuspendCrossingInfo::SuspendCrossingInfo(Function &F, coro::Shape &Shape)
  395 static StructType *buildFrameType(Function &F, coro::Shape &Shape,
  586 static Instruction *insertSpills(const SpillInfo &Spills, coro::Shape &Shape) {
  612     Allocas.emplace_back(PromiseAlloca, coro::Shape::SwitchFieldIndex::Promise);
 1139                                         coro::Shape &Shape,
 1164                                      coro::Shape &Shape) {
 1179                                      coro::Shape &Shape) {
 1198                                                  coro::Shape &Shape) {
 1227                                       coro::Shape &Shape) {
 1258                                         coro::Shape &Shape,
 1294 static void eliminateSwiftError(Function &F, coro::Shape &Shape) {
 1325 void coro::buildCoroutineFrame(Function &F, Shape &Shape) {
lib/Transforms/Coroutines/CoroInternal.h
  238 void buildCoroutineFrame(Function &F, Shape &Shape);
lib/Transforms/Coroutines/CoroSplit.cpp
   96   coro::Shape &Shape;
  108   CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape,
  116   CoroCloner(Function &OrigF, const Twine &Suffix, coro::Shape &Shape,
  160 static void maybeFreeRetconStorage(IRBuilder<> &Builder, coro::Shape &Shape,
  171 static void replaceFallthroughCoroEnd(CoroEndInst *End, coro::Shape &Shape,
  221 static void replaceUnwindCoroEnd(CoroEndInst *End, coro::Shape &Shape,
  248 static void replaceCoroEnd(CoroEndInst *End, coro::Shape &Shape,
  263 static void createResumeEntryBlock(Function &F, coro::Shape &Shape) {
  284       FrameTy, FramePtr, coro::Shape::SwitchFieldIndex::Index, "index.addr");
  303                                  coro::Shape::SwitchFieldIndex::Resume,
  310           FrameTy, FramePtr, coro::Shape::SwitchFieldIndex::Index, "index.addr");
  383                                        coro::Shape::SwitchFieldIndex::Resume,
  393 static Function *createCloneDeclaration(Function &OrigF, coro::Shape &Shape,
  497 static void replaceSwiftErrorOps(Function &F, coro::Shape &Shape,
  777                              coro::Shape &Shape, CoroCloner::Kind FKind) {
  784 static void removeCoroEnds(coro::Shape &Shape, CallGraph *CG) {
  790 static void replaceFrameSize(coro::Shape &Shape) {
  818 static void setCoroInfo(Function &F, coro::Shape &Shape,
  842 static void updateCoroFrame(coro::Shape &Shape, Function *ResumeFn,
  848       Shape.FrameTy, Shape.FramePtr, coro::Shape::SwitchFieldIndex::Resume,
  862       Shape.FrameTy, Shape.FramePtr, coro::Shape::SwitchFieldIndex::Destroy,
  972 static void handleNoSuspendCoroutine(coro::Shape &Shape) {
 1134 static void simplifySuspendPoints(coro::Shape &Shape) {
 1156 static void splitSwitchCoroutine(Function &F, coro::Shape &Shape,
 1188 static void splitRetconCoroutine(Function &F, coro::Shape &Shape,
 1331 static void splitCoroutine(Function &F, coro::Shape &Shape,
 1350   coro::Shape Shape(F);
lib/Transforms/Coroutines/Coroutines.cpp
  225 static void clear(coro::Shape &Shape) {