clang
3.9.0
|
Helper class with most of the code for saving a value for a conditional expression cleanup. More...
#include <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. More... | |
static saved_type | save (CodeGenFunction &CGF, llvm::Value *value) |
Try to save the given value. More... | |
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 3409 of file CodeGenFunction.h.
typedef llvm::PointerIntPair<llvm::Value*, 1, bool> clang::CodeGen::DominatingLLVMValue::saved_type |
Definition at line 3410 of file CodeGenFunction.h.
|
inlinestatic |
Answer whether the given value needs extra work to be saved.
Definition at line 3413 of file CodeGenFunction.h.
Referenced by clang::CodeGen::DominatingValue< Address >::needsSaving().
|
inlinestatic |
Definition at line 3436 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 |
Try to save the given value.
Definition at line 3423 of file CodeGenFunction.h.
References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CodeGenFunction::CGM, clang::CodeGen::CGBuilderTy::CreateStore(), clang::CodeGen::CodeGenFunction::CreateTempAlloca(), clang::CharUnits::fromQuantity(), clang::CodeGen::CodeGenModule::getDataLayout(), and clang::CodeGen::Address::getPointer().
Referenced by clang::CodeGen::DominatingValue< Address >::save().