clang  16.0.0git
Classes | Enumerations | Functions
clang::Builtin Namespace Reference

Classes

class  Context
 Holds information about both target-independent and target-specific builtins, allowing easy queries by clients. More...
 
struct  Info
 
class  TargetFeatures
 TargetFeatures - This class is used to check whether the builtin function has the required tagert specific features. More...
 

Enumerations

enum  ID { NotBuiltin = 0, FirstTSBuiltin }
 

Functions

bool evaluateRequiredTargetFeatures (llvm::StringRef RequiredFatures, const llvm::StringMap< bool > &TargetFetureMap)
 Returns true if the required target features of a builtin function are enabled. More...
 

Enumeration Type Documentation

◆ ID

Enumerator
NotBuiltin 
FirstTSBuiltin 
Examples
/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp.

Definition at line 52 of file Builtins.h.

Function Documentation

◆ evaluateRequiredTargetFeatures()

bool clang::Builtin::evaluateRequiredTargetFeatures ( llvm::StringRef  RequiredFatures,
const llvm::StringMap< bool > &  TargetFetureMap 
)

Returns true if the required target features of a builtin function are enabled.

TargetFeatureMap maps a target feature to true if it is enabled and false if it is disabled.

Referenced by clang::CodeGen::CodeGenFunction::checkTargetFeatures().