A cache of analysis results for CodeExtractor.

Synopsis

Declared in <llvm/Transforms/Utils/CodeExtractor.h>

class CodeExtractorAnalysisCache;

Description

The operation CodeExtractor::extractCodeRegion is guaranteed not to invalidate this object. This object should conservatively be considered invalid if any other mutating operations on the IR occur.

Constructing this object is O(n) in the size of the function.

Member Functions

Name

Description

CodeExtractorAnalysisCache [constructor]

Construct an analysis cache for a function.

doesBlockContainClobberOfAddr

Check whether BB contains an instruction thought to load from, store to, or otherwise clobber the alloca Addr.

getAllocas

Get the allocas recorded when this analysis was created.

Created with MrDocs