LLVM  14.0.0git
Functions
MemoryOpRemark.cpp File Reference
#include "llvm/Transforms/Utils/MemoryOpRemark.h"
#include "llvm/Analysis/OptimizationRemarkEmitter.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
Include dependency graph for MemoryOpRemark.cpp:

Go to the source code of this file.

Functions

static void inlineVolatileOrAtomicWithExtraArgs (bool *Inline, bool Volatile, bool Atomic, DiagnosticInfoIROptimization &R)
 
static Optional< uint64_tgetSizeInBytes (Optional< uint64_t > SizeInBits)
 
static Optional< StringRefnameOrNone (const Value *V)
 

Function Documentation

◆ getSizeInBytes()

static Optional<uint64_t> getSizeInBytes ( Optional< uint64_t SizeInBits)
static

Definition at line 147 of file MemoryOpRemark.cpp.

References llvm::None.

Referenced by getTypePartition().

◆ inlineVolatileOrAtomicWithExtraArgs()

static void inlineVolatileOrAtomicWithExtraArgs ( bool *  Inline,
bool  Volatile,
bool  Atomic,
DiagnosticInfoIROptimization R 
)
static

Definition at line 126 of file MemoryOpRemark.cpp.

◆ nameOrNone()

static Optional<StringRef> nameOrNone ( const Value V)
static

Definition at line 300 of file MemoryOpRemark.cpp.

References llvm::Value::getName(), llvm::Value::hasName(), and llvm::None.