LLVM 22.0.0git
MaterializationUtils.cpp File Reference

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()

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

Definition at line 246 of file MaterializationUtils.cpp.

References llvm::dbgs(), and E().

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

◆ rewriteMaterializableInstructions()