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 155 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 108 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 113 of file MultilibBuilder.cpp.
References Either().
MultilibSetBuilder & MultilibSetBuilder::Either | ( | const MultilibBuilder & | M1, |
const MultilibBuilder & | M2, | ||
const MultilibBuilder & | M3, | ||
const MultilibBuilder & | M4 | ||
) |
Definition at line 119 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 126 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 176 of file MultilibBuilder.cpp.
References clang::driver::MultilibBuilder::gccSuffix().
Referenced by findMipsCsMultilibs(), findMipsMtiMultilibs(), and findRISCVMultilibs().
MultilibSet MultilibSetBuilder::makeMultilibSet | ( | ) | const |
Definition at line 191 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 98 of file MultilibBuilder.cpp.
References Either(), clang::driver::MultilibBuilder::flag(), and clang::driver::MultilibBuilder::flags().
Referenced by findCSKYMultilibs(), findMipsAndroidMultilibs(), findMipsCsMultilibs(), findMipsImgMultilibs(), and findMipsMtiMultilibs().