LLVM 20.0.0git
Macros | Functions
CoroAnnotationElide.cpp File Reference
#include "llvm/Transforms/Coroutines/CoroAnnotationElide.h"
#include "llvm/Analysis/CGSCCPassManager.h"
#include "llvm/Analysis/LazyCallGraph.h"
#include "llvm/Analysis/OptimizationRemarkEmitter.h"
#include "llvm/IR/Analysis.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Transforms/Utils/CallGraphUpdater.h"
#include "llvm/Transforms/Utils/Cloning.h"
#include <cassert>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "coro-annotation-elide"
 

Functions

static InstructiongetFirstNonAllocaInTheEntryBlock (Function *F)
 
static ValueallocateFrameInCaller (Function *Caller, uint64_t FrameSize, Align FrameAlign)
 
static void processCall (CallBase *CB, Function *Caller, Function *NewCallee, uint64_t FrameSize, Align FrameAlign)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "coro-annotation-elide"

Definition at line 34 of file CoroAnnotationElide.cpp.

Function Documentation

◆ allocateFrameInCaller()

static Value * allocateFrameInCaller ( Function Caller,
uint64_t  FrameSize,
Align  FrameAlign 
)
static

◆ getFirstNonAllocaInTheEntryBlock()

static Instruction * getFirstNonAllocaInTheEntryBlock ( Function F)
static

Definition at line 36 of file CoroAnnotationElide.cpp.

References F, I, and llvm_unreachable.

Referenced by allocateFrameInCaller().

◆ processCall()

static void processCall ( CallBase CB,
Function Caller,
Function NewCallee,
uint64_t  FrameSize,
Align  FrameAlign 
)
static