clang 24.0.0git
TargetUtils.h File Reference
#include "clang/Basic/BitmaskEnum.h"
#include "llvm/ADT/StringRef.h"
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
namespace  clang
 Top level wrappers for InstallAPI frontend operations.
namespace  clang::CodeGenUtils

Enumerations

enum class  clang::CodeGenUtils::ArmSMEInlinability : uint8_t {
  clang::CodeGenUtils::Ok = 0 , clang::CodeGenUtils::ErrorCalleeRequiresNewZA = 1 << 0 , clang::CodeGenUtils::ErrorCalleeRequiresNewZT0 = 1 << 1 , clang::CodeGenUtils::WarnIncompatibleStreamingModes = 1 << 2 ,
  clang::CodeGenUtils::ErrorIncompatibleStreamingModes = 1 << 3 , clang::CodeGenUtils::IncompatibleStreamingModes , clang::CodeGenUtils::LLVM_MARK_AS_BITMASK_ENUM =(ErrorIncompatibleStreamingModes)
}
 The Arm SME ABI issues that can prevent inlining one function into another. More...

Functions

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.
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.
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.