clang 24.0.0git
TargetUtils.cpp File Reference
#include "clang/CodeGenUtils/TargetUtils.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Type.h"
#include "clang/Basic/AddressSpaces.h"
#include "clang/Basic/Builtins.h"
#include "clang/Basic/TargetBuiltins.h"
#include "clang/Basic/TargetInfo.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/TargetParser/Triple.h"
#include "clang/Basic/arm_fp16.inc"
#include "clang/Basic/arm_neon.inc"

Go to the source code of this file.

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.
namespace  clang::CodeGenUtils

Macros

#define GET_NEON_OVERLOAD_CHECK

Functions

llvm::StringRef clang::CodeGenUtils::getTargetBuiltinLibFunctionName (unsigned BuiltinID, const TargetInfo &Target)
 Returns the library function name that should be called for the library builtin BuiltinID when the target's library does not use the name derived from the builtin (e.g.
static bool clang::CodeGenUtils::isStreamingCompatible (const FunctionDecl *F)
ArmSMEInlinability clang::CodeGenUtils::getArmSMEInlinability (const FunctionDecl *Caller, const FunctionDecl *Callee)
 Determines if there are any Arm SME ABI issues with inlining Callee into Caller.
bool clang::CodeGenUtils::hasExtraNeonArgument (unsigned BuiltinID)
 Returns whether the Neon builtin BuiltinID takes a trailing argument that discriminates the operand type.
bool clang::CodeGenUtils::isAAPCS (const TargetInfo &TargetInfo)
 Helper method to check if the underlying ABI is AAPCS.
bool clang::CodeGenUtils::requiresAMDGPUProtectedVisibility (const Decl *D, bool HasHiddenVisibility)
 Returns whether D must be given protected visibility on AMDGPU.
bool clang::CodeGenUtils::spirNullPointerNeedsGenericCast (QualType QT, const llvm::Triple &Triple)
 Return true if a SPIR(-V) null pointer of type QT must be materialized as an addrspacecast from a generic null pointer, as the null bit pattern in non-generic address spaces is unspecified.

Macro Definition Documentation

◆ GET_NEON_OVERLOAD_CHECK

#define GET_NEON_OVERLOAD_CHECK