ΒΆvoid propagateIRFlags(
    llvm::Value* I,
    ArrayRef<llvm::Value*> VL,
    llvm::Value* OpValue = nullptr,
    bool IncludeWrapFlags = true)

Description

Get the intersection (logical and) of all of the potential IR flags of each scalar operation (VL) that will be converted into a vector (I). If OpValue is non-null, we only consider operations similar to OpValue when intersecting. Flag set: NSW, NUW (if IncludeWrapFlags is true), exact, and all of fast-math.

Declared at: llvm/include/llvm/Transforms/Utils/LoopUtils.h:418

Parameters

llvm::Value* I
ArrayRef<llvm::Value*> VL
llvm::Value* OpValue = nullptr
bool IncludeWrapFlags = true