LLVM 20.0.0git
Classes | Namespaces | Macros | Functions
MaterializationUtils.cpp File Reference
#include "llvm/Transforms/Coroutines/MaterializationUtils.h"
#include "CoroInternal.h"
#include "llvm/ADT/PostOrderIterator.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/ModuleSlotTracker.h"
#include "llvm/Transforms/Coroutines/SpillUtils.h"
#include <deque>

Go to the source code of this file.

Classes

struct  llvm::GraphTraits< RematGraph * >
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define DEBUG_TYPE   "coro-suspend-crossing"
 

Functions

static void rewriteMaterializableInstructions (const SmallMapVector< Instruction *, std::unique_ptr< RematGraph >, 8 > &AllRemats)
 
static void dumpRemats (StringRef Title, const SmallMapVector< Instruction *, std::unique_ptr< RematGraph >, 8 > &RM)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "coro-suspend-crossing"

Definition at line 28 of file MaterializationUtils.cpp.

Function Documentation

◆ dumpRemats()

static void dumpRemats ( StringRef  Title,
const SmallMapVector< Instruction *, std::unique_ptr< RematGraph >, 8 > &  RM 
)
static

Definition at line 245 of file MaterializationUtils.cpp.

References llvm::dbgs().

Referenced by llvm::coro::doRematerializations().

◆ rewriteMaterializableInstructions()

static void rewriteMaterializableInstructions ( const SmallMapVector< Instruction *, std::unique_ptr< RematGraph >, 8 > &  AllRemats)
static