clang 22.0.0git
|
#include "CodeGenFunction.h"
#include "CodeGenModule.h"
#include "clang/CodeGen/CodeGenABITypes.h"
#include "clang/CodeGen/ConstantInitBuilder.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/Support/SipHash.h"
Go to the source code of this file.
Functions | |
static CGPointerAuthInfo | getPointerAuthInfoForPointeeType (CodeGenModule &CGM, QualType PointeeType) |
Return the natural pointer authentication for values of the given pointee type. | |
static CGPointerAuthInfo | getPointerAuthInfoForType (CodeGenModule &CGM, QualType PointerType) |
Return the natural pointer authentication for values of the given pointer type. | |
static std::pair< llvm::Value *, CGPointerAuthInfo > | emitLoadOfOrigPointerRValue (CodeGenFunction &CGF, const LValue &LV, SourceLocation Loc) |
static bool | isZeroConstant (const llvm::Value *Value) |
static bool | equalAuthPolicies (const CGPointerAuthInfo &Left, const CGPointerAuthInfo &Right) |
static llvm::Value * | getDiscriminatorOrZero (const CGPointerAuthInfo &Info, CGBuilderTy &Builder) |
|
static |
Definition at line 197 of file CGPointerAuth.cpp.
References clang::CodeGen::CodeGenFunction::CGM, clang::CodeGen::CodeGenFunction::EmitLoadOfScalar(), clang::CodeGen::CodeGenFunction::EmitPointerAuthInfo(), and getPointerAuthInfoForType().
Referenced by clang::CodeGen::CodeGenFunction::EmitOrigPointerRValue().
|
static |
Definition at line 287 of file CGPointerAuth.cpp.
Referenced by clang::CodeGen::CodeGenFunction::emitPointerAuthResign().
|
static |
Definition at line 301 of file CGPointerAuth.cpp.
References clang::CodeGen::CGPointerAuthInfo::getDiscriminator().
Referenced by clang::CodeGen::CodeGenFunction::emitPointerAuthResignCall().
|
static |
Return the natural pointer authentication for values of the given pointee type.
Definition at line 158 of file CGPointerAuth.cpp.
References clang::CodeGen::CodeGenModule::getFunctionPointerAuthInfo(), clang::Type::isFunctionType(), and clang::QualType::isNull().
|
static |
Return the natural pointer authentication for values of the given pointer type.
Definition at line 176 of file CGPointerAuth.cpp.
References clang::CodeGen::CodeGenModule::getContext(), clang::PointerType::getPointeeType(), clang::Type::isBlockPointerType(), and clang::Type::isSignableType().
Referenced by clang::CodeGen::CodeGenFunction::authPointerToPointerCast(), clang::CodeGen::CodeGenFunction::authPointerToPointerCast(), emitLoadOfOrigPointerRValue(), clang::CodeGen::CodeGenFunction::EmitOrigPointerRValue(), clang::CodeGen::CodeGenFunction::EmitPointerAuthQualify(), and clang::CodeGen::CodeGenFunction::EmitPointerAuthUnqualify().
|
static |
Definition at line 281 of file CGPointerAuth.cpp.
Referenced by clang::CodeGen::CodeGenFunction::emitPointerAuthResign(), and clang::ento::CallEvent::hasNonNullArgumentsWithType().