class MemoryUse

Declaration

class MemoryUse : public MemoryUseOrDef { /* full declaration omitted */ };

Description

Represents read-only accesses to memory In particular, the set of Instructions that will be represented by MemoryUse's is exactly the set of Instructions for which AliasAnalysis::getModRefInfo returns "Ref".

Declared at: llvm/include/llvm/Analysis/MemorySSA.h:320

Inherits from: MemoryUseOrDef

Member Variables

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 29
public static MaximumAlignment = 1U << MaxAlignmentExponent

Method Overview

  • public MemoryUse(llvm::LLVMContext & C, llvm::MemoryAccess * DMA, llvm::Instruction * MI, llvm::BasicBlock * BB)
  • public static bool classof(const llvm::Value * MA)
  • public llvm::MemoryAccess * getOptimized() const
  • public bool isOptimized() const
  • public void print(llvm::raw_ostream & OS) const
  • public void resetOptimized()
  • public void setOptimized(llvm::MemoryAccess * DMA)

Inherited from MemoryUseOrDef:

Inherited from MemoryAccess:

Inherited from DerivedUser:

    Inherited from User:

    Inherited from Value:

    Methods

    MemoryUse(llvm::LLVMContext& C,
              llvm::MemoryAccess* DMA,
              llvm::Instruction* MI,
              llvm::BasicBlock* BB)

    Declared at: llvm/include/llvm/Analysis/MemorySSA.h:324

    Parameters

    llvm::LLVMContext& C
    llvm::MemoryAccess* DMA
    llvm::Instruction* MI
    llvm::BasicBlock* BB

    static bool classof(const llvm::Value* MA)

    Declared at: llvm/include/llvm/Analysis/MemorySSA.h:331

    Parameters

    const llvm::Value* MA

    llvm::MemoryAccess* getOptimized() const

    Declared at: llvm/include/llvm/Analysis/MemorySSA.h:346

    bool isOptimized() const

    Declared at: llvm/include/llvm/Analysis/MemorySSA.h:342

    void print(llvm::raw_ostream& OS) const

    Declared at: llvm/include/llvm/Analysis/MemorySSA.h:335

    Parameters

    llvm::raw_ostream& OS

    void resetOptimized()

    Declared at: llvm/include/llvm/Analysis/MemorySSA.h:350

    void setOptimized(llvm::MemoryAccess* DMA)

    Declared at: llvm/include/llvm/Analysis/MemorySSA.h:337

    Parameters

    llvm::MemoryAccess* DMA