MinAlign overloads

Synopses

Declared in <llvm/Support/MathExtras.h>

Fallback when arguments aren't integral.

constexpr
uint64_t
MinAlign(
    uint64_t A,
    uint64_t B);

A and B are either alignments or offsets. Return the minimum alignment that may be assumed after adding the two together.

template<
    typename U,
    typename V,
    typename T = common_uint<U, V>>
constexpr
T
MinAlign(
    U A,
    V B);

Return Value

The minimum alignment that may be assumed after adding A and B.

Parameters

Name

Description

A

First alignment or offset.

B

Second alignment or offset.

Created with MrDocs