clang 22.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 121 of file CodeGenFunction.h.
typedef llvm::PointerIntPair<llvm::Value *, 1, bool> clang::CodeGen::DominatingLLVMValue::saved_type |
Definition at line 122 of file CodeGenFunction.h.
|
inlinestatic |
Answer whether the given value needs extra work to be saved.
Definition at line 125 of file CodeGenFunction.h.
References clang::cast(), and clang::isa().
Referenced by clang::CodeGen::DominatingValue< Address >::needsSaving(), and save().
|
inlinestatic |
Definition at line 5561 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::Builder, clang::cast(), and clang::CodeGen::CGBuilderTy::CreateAlignedLoad().
Referenced by clang::CodeGen::DominatingPointer< T, true >::restore(), and clang::CodeGen::DominatingValue< Address >::restore().
|
inlinestatic |
Definition at line 5547 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().