LLVM  15.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::GenericSSAContext< Function > Class Reference

#include "llvm/IR/SSAContext.h"

Public Types

using BlockT = BasicBlock
 
using FunctionT = Function
 
using InstructionT = Instruction
 
using ValueRefT = Value *
 
using DominatorTreeT = DominatorTreeBase< BlockT, false >
 

Public Member Functions

void setFunction (Function &Fn)
 
FunctiongetFunction () const
 
Printable print (BasicBlock *Block) const
 
Printable print (Instruction *Inst) const
 
Printable print (Value *Value) const
 

Static Public Member Functions

static BasicBlockgetEntryBlock (Function &F)
 

Detailed Description

Definition at line 28 of file SSAContext.h.

Member Typedef Documentation

◆ BlockT

Definition at line 32 of file SSAContext.h.

◆ DominatorTreeT

Definition at line 36 of file SSAContext.h.

◆ FunctionT

Definition at line 33 of file SSAContext.h.

◆ InstructionT

Definition at line 34 of file SSAContext.h.

◆ ValueRefT

Definition at line 35 of file SSAContext.h.

Member Function Documentation

◆ getEntryBlock()

BasicBlock * SSAContext::getEntryBlock ( Function F)
static

Definition at line 25 of file SSAContext.cpp.

References F.

◆ getFunction()

Function* llvm::GenericSSAContext< Function >::getFunction ( ) const
inline

Definition at line 41 of file SSAContext.h.

References F.

◆ print() [1/3]

Printable SSAContext::print ( BasicBlock Block) const

Definition at line 39 of file SSAContext.cpp.

References BB, and getParent().

◆ print() [2/3]

Printable SSAContext::print ( Instruction Inst) const

Definition at line 35 of file SSAContext.cpp.

References print().

◆ print() [3/3]

Printable SSAContext::print ( Value Value) const

Definition at line 31 of file SSAContext.cpp.

References llvm::Value::print().

◆ setFunction()

void SSAContext::setFunction ( Function Fn)

Definition at line 29 of file SSAContext.cpp.

References F.


The documentation for this class was generated from the following files: