LLVM 17.0.0git
Namespaces | Functions
SetOperations.h File Reference

This file defines generic set operations that may be used on set's of different types, and different element types. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

template<class S1Ty , class S2Ty >
bool llvm::set_union (S1Ty &S1, const S2Ty &S2)
 set_union(A, B) - Compute A := A u B, return whether A changed.
 
template<class S1Ty , class S2Ty >
void llvm::set_intersect (S1Ty &S1, const S2Ty &S2)
 set_intersect(A, B) - Compute A := A ^ B Identical to set_intersection, except that it works on set<>'s and is nicer to use.
 
template<class S1Ty , class S2Ty >
S1Ty llvm::set_difference (const S1Ty &S1, const S2Ty &S2)
 set_difference(A, B) - Return A - B
 
template<class S1Ty , class S2Ty >
void llvm::set_subtract (S1Ty &S1, const S2Ty &S2)
 set_subtract(A, B) - Compute A := A - B
 
template<class S1Ty , class S2Ty >
bool llvm::set_is_subset (const S1Ty &S1, const S2Ty &S2)
 set_is_subset(A, B) - Return true iff A in B
 

Detailed Description

This file defines generic set operations that may be used on set's of different types, and different element types.

Definition in file SetOperations.h.