Construct an AssumptionCache from a function by scanning all of its instructions.

Synopsis

Declared in <llvm/Analysis/AssumptionCache.h>

AssumptionCache(
    Function& F,
    TargetTransformInfo* TTI = nullptr);

Parameters

Name

Description

F

Function whose @llvm.assume calls are cached.

TTI

Optional target transform info used when scanning assumes.

Created with MrDocs