addAssumptions overloads

Synopses

Declared in <llvm/IR/Assumptions.h>

Appends the set of assumptions Assumptions to CB.

bool
addAssumptions(
    CallBase& CB,
    DenseSet<StringRef> const& Assumptions);

Appends the set of assumptions Assumptions to F.

bool
addAssumptions(
    Function& F,
    DenseSet<StringRef> const& Assumptions);

Return Value

  • true if any new assumptions were added to CB.

  • true if any new assumptions were added to F.

Parameters

Name

Description

CB

Call site to which the assumptions are appended.

Assumptions

Assumption strings to append.

F

Function to which the assumptions are appended.

Created with MrDocs