clang 22.0.0git
SemaPPC.cpp File Reference
#include "clang/Sema/SemaPPC.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/CharUnits.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Type.h"
#include "clang/Basic/DiagnosticSema.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/TargetBuiltins.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Sema/Sema.h"
#include "llvm/ADT/APSInt.h"
#include "clang/Basic/BuiltinsPPC.def"
#include "clang/Basic/PPCTypes.def"

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.

Macros

#define CUSTOM_BUILTIN(Name, Intr, Types, Acc, Feature)
#define PPC_VECTOR_TYPE(Name, Id, Size)
#define PPC_VECTOR_TYPE(typeName, Id, size)

Functions

static bool clang::isPPC_64Builtin (unsigned BuiltinID)
static QualType clang::DecodePPCMMATypeFromStr (ASTContext &Context, const char *&Str, unsigned &Mask)
 DecodePPCMMATypeFromStr - This decodes one PPC MMA type descriptor from Str, advancing the pointer over the consumed characters.

Macro Definition Documentation

◆ CUSTOM_BUILTIN

#define CUSTOM_BUILTIN ( Name,
Intr,
Types,
Acc,
Feature )
Value:
case PPC::BI__builtin_##Name: \
return BuiltinPPCMMACall(TheCall, BuiltinID, Types);

◆ PPC_VECTOR_TYPE [1/2]

#define PPC_VECTOR_TYPE ( Name,
Id,
Size )
Value:
|| CoreType == Context.Id##Ty

◆ PPC_VECTOR_TYPE [2/2]

#define PPC_VECTOR_TYPE ( typeName,
Id,
size )
Value:
case size: \
Type = Context.Id##Ty; \
break;