clang
10.0.0git
|
#include "CodeGenTBAA.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Mangle.h"
#include "clang/AST/RecordLayout.h"
#include "clang/Basic/CodeGenOptions.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Type.h"
Go to the source code of this file.
Functions | |
static bool | TypeHasMayAlias (QualType QTy) |
static bool | isValidBaseType (QualType QTy) |
Check if the given type is a valid base type to be used in access tags. More... | |
Check if the given type is a valid base type to be used in access tags.
Definition at line 97 of file CodeGenTBAA.cpp.
References clang::Type::getAs(), clang::RecordDecl::getDefinition(), clang::CharUnits::getQuantity(), clang::CodeGen::CodeGenTBAA::getTypeInfo(), clang::ASTContext::getTypeSizeInChars(), clang::RecordDecl::hasFlexibleArrayMember(), clang::ASTContext::Int128Ty, clang::ASTContext::IntTy, clang::Type::isArrayType(), clang::TagDecl::isClass(), clang::Type::isPointerType(), clang::Type::isReferenceType(), clang::Type::isStdByteType(), clang::TagDecl::isStruct(), clang::ASTContext::LongLongTy, clang::ASTContext::LongTy, clang::MangleContext::mangleTypeName(), and clang::ASTContext::ShortTy.
Referenced by clang::CodeGen::CodeGenTBAA::getBaseTypeInfo(), clang::CodeGen::CodeGenTBAA::getTBAAStructInfo(), and clang::CodeGen::CodeGenTBAA::getTypeInfo().
Definition at line 79 of file CodeGenTBAA.cpp.
References clang::Type::getAs(), and clang::Type::getAsTagDecl().
Referenced by clang::CodeGen::CodeGenTBAA::getAccessInfo(), clang::CodeGen::CodeGenTBAA::getTBAAStructInfo(), clang::CodeGen::CodeGenTBAA::getTypeInfo(), and clang::CodeGen::CodeGenTBAA::getVTablePtrAccessInfo().