Return true if BB1 and BB2 contain the same elements ignoring order.

Synopsis

Declared in <llvm/Support/GenericLoopInfoImpl.h>

template<typename T>
bool
compareVectors(
    std::vector<T>& BB1,
    std::vector<T>& BB2);

Description

Both vectors are sorted in place before comparison.

Return Value

True if the sorted vectors are equal.

Parameters

Name

Description

BB1

First vector (sorted in place).

BB2

Second vector (sorted in place).

Created with MrDocs