Home
last modified time | relevance | path

Searched refs:saved_type (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/CodeGen/
DEHScopeStack.h58 typedef T saved_type; typedef
60 static saved_type save(CodeGenFunction &CGF, type value) { return value; } in save()
61 static type restore(CodeGenFunction &CGF, saved_type value) { return value; } in restore()
199 typedef std::tuple<typename DominatingValue<As>::saved_type...> SavedTuple;
214 ConditionalCleanup(typename DominatingValue<As>::saved_type... A)
DCGCleanup.cpp27 bool DominatingValue<RValue>::saved_type::needsSaving(RValue rv) { in needsSaving()
35 DominatingValue<RValue>::saved_type
36 DominatingValue<RValue>::saved_type::save(CodeGenFunction &CGF, RValue rv) { in save()
42 return saved_type(V, ScalarLiteral); in save()
48 return saved_type(addr.getPointer(), ScalarAddress); in save()
63 return saved_type(addr.getPointer(), ComplexAddress); in save()
69 return saved_type(V.getPointer(), AggregateLiteral, in save()
75 return saved_type(addr.getPointer(), AggregateAddress, in save()
82 RValue DominatingValue<RValue>::saved_type::restore(CodeGenFunction &CGF) { in restore()
DCodeGenFunction.h362 typename DominatingValue<T>::saved_type saveValueInCond(T value) { in saveValueInCond()
413 typedef std::tuple<typename DominatingValue<As>::saved_type...> SavedTuple; in pushFullExprCleanup()
3410 typedef llvm::PointerIntPair<llvm::Value*, 1, bool> saved_type; typedef
3423 static saved_type save(CodeGenFunction &CGF, llvm::Value *value) { in save()
3424 if (!needsSaving(value)) return saved_type(value, false); in save()
3433 return saved_type(alloca.getPointer(), true); in save()
3436 static llvm::Value *restore(CodeGenFunction &CGF, saved_type value) { in restore()
3450 static type restore(CodeGenFunction &CGF, saved_type value) {
3459 struct saved_type {
3460 DominatingLLVMValue::saved_type SavedValue;
[all …]
DCGExprCXX.cpp1221 DominatingValue<RValue>::saved_type Ptr;
1222 DominatingValue<RValue>::saved_type AllocSize;
1224 DominatingValue<RValue>::saved_type *getPlacementArgs() { in getPlacementArgs()
1225 return reinterpret_cast<DominatingValue<RValue>::saved_type*>(this+1); in getPlacementArgs()
1230 return NumPlacementArgs * sizeof(DominatingValue<RValue>::saved_type); in getExtraSize()
1235 DominatingValue<RValue>::saved_type Ptr, in CallDeleteDuringConditionalNew()
1236 DominatingValue<RValue>::saved_type AllocSize) in CallDeleteDuringConditionalNew()
1240 void setPlacementArg(unsigned I, DominatingValue<RValue>::saved_type Arg) { in setPlacementArg()
1298 DominatingValue<RValue>::saved_type SavedNewPtr = in EnterNewDeleteCleanup()
1300 DominatingValue<RValue>::saved_type SavedAllocSize = in EnterNewDeleteCleanup()