clang  14.0.0git
Namespaces | Functions
TargetID.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/Triple.h"
#include <set>
Include dependency graph for TargetID.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




const llvm::SmallVector< llvm::StringRef, 4 > clang::getAllPossibleTargetIDFeatures (const llvm::Triple &T, llvm::StringRef Processor)
 Get all feature strings that can be used in target ID for Processor. More...
llvm::StringRef clang::getProcessorFromTargetID (const llvm::Triple &T, llvm::StringRef OffloadArch)
 Get processor name from target ID. More...
llvm::Optional< llvm::StringRef > clang::parseTargetID (const llvm::Triple &T, llvm::StringRef OffloadArch, llvm::StringMap< bool > *FeatureMap)
 Parse a target ID to get processor and feature map. More...
std::string clang::getCanonicalTargetID (llvm::StringRef Processor, const llvm::StringMap< bool > &Features)
 Returns canonical target ID, assuming Processor is canonical and all entries in Features are valid. More...
llvm::Optional< std::pair< llvm::StringRef, llvm::StringRef > > clang::getConflictTargetIDCombination (const std::set< llvm::StringRef > &TargetIDs)
 Get the conflicted pair of target IDs for a compilation or a bundled code object, assuming TargetIDs are canonicalized. More...