clang 20.0.0git
|
Helper class with most of the code for saving a value for a conditional expression cleanup. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CodeGenFunction.h"
Public Types | |
typedef llvm::PointerIntPair< llvm::Value *, 1, bool > | saved_type |
Static Public Member Functions | |
static bool | needsSaving (llvm::Value *value) |
Answer whether the given value needs extra work to be saved. | |
static saved_type | save (CodeGenFunction &CGF, llvm::Value *value) |
static llvm::Value * | restore (CodeGenFunction &CGF, saved_type value) |
Helper class with most of the code for saving a value for a conditional expression cleanup.
Definition at line 151 of file CodeGenFunction.h.
typedef llvm::PointerIntPair<llvm::Value*, 1, bool> clang::CodeGen::DominatingLLVMValue::saved_type |
Definition at line 152 of file CodeGenFunction.h.
|
inlinestatic |
Answer whether the given value needs extra work to be saved.
Definition at line 155 of file CodeGenFunction.h.
Referenced by clang::CodeGen::DominatingValue< Address >::needsSaving(), and save().
|
inlinestatic |
Definition at line 5369 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::Builder, and clang::CodeGen::CGBuilderTy::CreateAlignedLoad().
Referenced by clang::CodeGen::DominatingPointer< T, true >::restore(), and clang::CodeGen::DominatingValue< Address >::restore().
|
inlinestatic |
Definition at line 5356 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::CGM, clang::CodeGen::CGBuilderTy::CreateStore(), clang::CodeGen::CodeGenFunction::CreateTempAlloca(), clang::CodeGen::Address::emitRawPointer(), clang::CharUnits::fromQuantity(), clang::CodeGen::CodeGenModule::getDataLayout(), and needsSaving().
Referenced by clang::CodeGen::DominatingValue< Address >::save().