clang 20.0.0git
|
This class can be used to create a MultilibSet, and contains helper functions to add combinations of multilibs before creating a MultilibSet instance with makeMultilibSet(). More...
#include "clang/Driver/MultilibBuilder.h"
Public Types | |
using | multilib_list = std::vector< MultilibBuilder > |
Public Member Functions | |
MultilibSetBuilder ()=default | |
MultilibSetBuilder & | Maybe (const MultilibBuilder &M) |
Add an optional Multilib segment. | |
MultilibSetBuilder & | Either (const MultilibBuilder &M1, const MultilibBuilder &M2) |
Add a set of mutually incompatible Multilib segments. | |
MultilibSetBuilder & | Either (const MultilibBuilder &M1, const MultilibBuilder &M2, const MultilibBuilder &M3) |
MultilibSetBuilder & | Either (const MultilibBuilder &M1, const MultilibBuilder &M2, const MultilibBuilder &M3, const MultilibBuilder &M4) |
MultilibSetBuilder & | Either (const MultilibBuilder &M1, const MultilibBuilder &M2, const MultilibBuilder &M3, const MultilibBuilder &M4, const MultilibBuilder &M5) |
MultilibSetBuilder & | Either (ArrayRef< MultilibBuilder > Ms) |
MultilibSetBuilder & | FilterOut (const char *Regex) |
Filter out those Multilibs whose gccSuffix matches the given expression. | |
MultilibSet | makeMultilibSet () const |
This class can be used to create a MultilibSet, and contains helper functions to add combinations of multilibs before creating a MultilibSet instance with makeMultilibSet().
Definition at line 96 of file MultilibBuilder.h.
using clang::driver::MultilibSetBuilder::multilib_list = std::vector<MultilibBuilder> |
Definition at line 98 of file MultilibBuilder.h.
|
default |
MultilibSetBuilder & MultilibSetBuilder::Either | ( | ArrayRef< MultilibBuilder > | Ms | ) |
Definition at line 152 of file MultilibBuilder.cpp.
References compose(), and clang::driver::MultilibBuilder::isValid().
MultilibSetBuilder & MultilibSetBuilder::Either | ( | const MultilibBuilder & | M1, |
const MultilibBuilder & | M2 | ||
) |
Add a set of mutually incompatible Multilib segments.
Definition at line 105 of file MultilibBuilder.cpp.
References Either().
Referenced by Either(), findAndroidArmMultilibs(), findCSKYMultilibs(), findMipsAndroidMultilibs(), findMipsCsMultilibs(), findMipsImgMultilibs(), findMipsMtiMultilibs(), findMipsMuslMultilibs(), findRISCVBareMetalMultilibs(), findRISCVMultilibs(), Maybe(), and selectRISCVMultilib().
MultilibSetBuilder & MultilibSetBuilder::Either | ( | const MultilibBuilder & | M1, |
const MultilibBuilder & | M2, | ||
const MultilibBuilder & | M3 | ||
) |
Definition at line 110 of file MultilibBuilder.cpp.
References Either().
MultilibSetBuilder & MultilibSetBuilder::Either | ( | const MultilibBuilder & | M1, |
const MultilibBuilder & | M2, | ||
const MultilibBuilder & | M3, | ||
const MultilibBuilder & | M4 | ||
) |
Definition at line 116 of file MultilibBuilder.cpp.
References Either().
MultilibSetBuilder & MultilibSetBuilder::Either | ( | const MultilibBuilder & | M1, |
const MultilibBuilder & | M2, | ||
const MultilibBuilder & | M3, | ||
const MultilibBuilder & | M4, | ||
const MultilibBuilder & | M5 | ||
) |
Definition at line 123 of file MultilibBuilder.cpp.
References Either().
MultilibSetBuilder & MultilibSetBuilder::FilterOut | ( | const char * | Regex | ) |
Filter out those Multilibs whose gccSuffix matches the given expression.
Definition at line 173 of file MultilibBuilder.cpp.
References clang::driver::MultilibBuilder::gccSuffix().
Referenced by findMipsCsMultilibs(), findMipsMtiMultilibs(), and findRISCVMultilibs().
MultilibSet MultilibSetBuilder::makeMultilibSet | ( | ) | const |
Definition at line 188 of file MultilibBuilder.cpp.
References clang::Result.
Referenced by findAndroidArmMultilibs(), findCSKYMultilibs(), findMipsAndroidMultilibs(), findMipsCsMultilibs(), findMipsImgMultilibs(), findMipsMtiMultilibs(), findMipsMuslMultilibs(), findRISCVBareMetalMultilibs(), findRISCVMultilibs(), and selectRISCVMultilib().
MultilibSetBuilder & MultilibSetBuilder::Maybe | ( | const MultilibBuilder & | M | ) |
Add an optional Multilib segment.
Definition at line 95 of file MultilibBuilder.cpp.
References Either(), clang::driver::MultilibBuilder::flag(), and clang::driver::MultilibBuilder::flags().
Referenced by findCSKYMultilibs(), findMipsAndroidMultilibs(), findMipsCsMultilibs(), findMipsImgMultilibs(), and findMipsMtiMultilibs().