LLVM 24.0.0git
llvm::ubi::Frame Struct Reference

Context for a function call. More...

#include "UBAwareInterpreter/ExecutorBase.h"

Public Member Functions

 Frame (Function &F, CallBase *CallSite, Frame *LastFrame, ArrayRef< AnyValue > Args, AnyValue &RetVal, const TargetLibraryInfoImpl &TLIImpl)

Public Attributes

Function & Func
Frame * LastFrame
CallBase * CallSite
ArrayRef< AnyValue > Args
AnyValue & RetVal
TargetLibraryInfo TLI
BasicBlock * BB
BasicBlock::iterator PC
FrameState State = FrameState::Entry
SmallVector< IntrusiveRefCntPtr< MemoryObject > > Allocas
DenseMap< Value *, AnyValue > ValueMap
Function * ResolvedCallee = nullptr
SmallVector< AnyValue > CalleeArgs
SmallVector< IntrusiveRefCntPtr< MemoryObject > > CalleeByValArgs
AnyValue CalleeRetVal
bool HasInaccessibleStackObjects = false

Detailed Description

Context for a function call.

This struct maintains the state during the execution of a function, including the control flow, values of executed instructions, and stack objects.

Definition at line 48 of file ExecutorBase.h.

Constructor & Destructor Documentation

◆ Frame()

llvm::ubi::Frame::Frame ( Function & F,
CallBase * CallSite,
Frame * LastFrame,
ArrayRef< AnyValue > Args,
AnyValue & RetVal,
const TargetLibraryInfoImpl & TLIImpl )

Definition at line 20 of file ExecutorBase.cpp.

References Args, assert(), BB, CallSite, F, Frame(), Func, LastFrame, PC, RetVal, TLI, and ValueMap.

Referenced by Frame().

Member Data Documentation

◆ Allocas

SmallVector<IntrusiveRefCntPtr<MemoryObject> > llvm::ubi::Frame::Allocas

Definition at line 61 of file ExecutorBase.h.

Referenced by llvm::ubi::InstExecutor::runMainLoop().

◆ Args

ArrayRef<AnyValue> llvm::ubi::Frame::Args

Definition at line 52 of file ExecutorBase.h.

Referenced by Frame(), and llvm::ubi::InstExecutor::runMainLoop().

◆ BB

BasicBlock* llvm::ubi::Frame::BB

Definition at line 56 of file ExecutorBase.h.

Referenced by llvm::ubi::ExecutorBase::dumpStackTrace(), and Frame().

◆ CalleeArgs

SmallVector<AnyValue> llvm::ubi::Frame::CalleeArgs

Definition at line 67 of file ExecutorBase.h.

◆ CalleeByValArgs

SmallVector<IntrusiveRefCntPtr<MemoryObject> > llvm::ubi::Frame::CalleeByValArgs

Definition at line 70 of file ExecutorBase.h.

◆ CalleeRetVal

AnyValue llvm::ubi::Frame::CalleeRetVal

Definition at line 71 of file ExecutorBase.h.

◆ CallSite

CallBase* llvm::ubi::Frame::CallSite

Definition at line 51 of file ExecutorBase.h.

Referenced by Frame(), and llvm::ubi::InstExecutor::runMainLoop().

◆ Func

Function& llvm::ubi::Frame::Func

Definition at line 49 of file ExecutorBase.h.

Referenced by Frame(), and llvm::ubi::InstExecutor::runMainLoop().

◆ HasInaccessibleStackObjects

bool llvm::ubi::Frame::HasInaccessibleStackObjects = false

Definition at line 72 of file ExecutorBase.h.

◆ LastFrame

Frame* llvm::ubi::Frame::LastFrame

Definition at line 50 of file ExecutorBase.h.

Referenced by llvm::ubi::ExecutorBase::dumpStackTrace(), and Frame().

◆ PC

◆ ResolvedCallee

Function* llvm::ubi::Frame::ResolvedCallee = nullptr

Definition at line 66 of file ExecutorBase.h.

◆ RetVal

AnyValue& llvm::ubi::Frame::RetVal

Definition at line 53 of file ExecutorBase.h.

Referenced by Frame(), and llvm::ubi::InstExecutor::runMainLoop().

◆ State

FrameState llvm::ubi::Frame::State = FrameState::Entry

Definition at line 58 of file ExecutorBase.h.

Referenced by llvm::ubi::InstExecutor::runMainLoop().

◆ TLI

TargetLibraryInfo llvm::ubi::Frame::TLI

Definition at line 55 of file ExecutorBase.h.

Referenced by Frame().

◆ ValueMap

DenseMap<Value *, AnyValue> llvm::ubi::Frame::ValueMap

Definition at line 63 of file ExecutorBase.h.

Referenced by Frame().


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