Home
last modified time | relevance | path

Searched refs:ActiveFlag (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/CodeGen/
DCGCleanup.h246 llvm::AllocaInst *ActiveFlag; variable
294 ActiveFlag(nullptr), ExtInfo(nullptr), FixupDepth(fixupDepth) { in EHCleanupScope()
324 bool hasActiveFlag() const { return ActiveFlag != nullptr; } in hasActiveFlag()
326 return Address(ActiveFlag, CharUnits::One()); in getActiveFlag()
330 ActiveFlag = cast<llvm::AllocaInst>(Var.getPointer()); in setActiveFlag()
DCGCleanup.cpp517 Address ActiveFlag) { in EmitCleanup() argument
521 if (ActiveFlag.isValid()) { in EmitCleanup()
525 = CGF.Builder.CreateLoad(ActiveFlag, "cleanup.is_active"); in EmitCleanup()
535 if (ActiveFlag.isValid()) in EmitCleanup()
/external/llvm-project/clang/lib/CodeGen/
DCGCleanup.h245 llvm::AllocaInst *ActiveFlag; variable
293 ActiveFlag(nullptr), ExtInfo(nullptr), FixupDepth(fixupDepth) { in EHCleanupScope()
323 bool hasActiveFlag() const { return ActiveFlag != nullptr; } in hasActiveFlag()
325 return Address(ActiveFlag, CharUnits::One()); in getActiveFlag()
329 ActiveFlag = cast<llvm::AllocaInst>(Var.getPointer()); in setActiveFlag()
DCGCleanup.cpp290 void CodeGenFunction::initFullExprCleanupWithFlag(Address ActiveFlag) { in initFullExprCleanupWithFlag() argument
294 cleanup.setActiveFlag(ActiveFlag); in initFullExprCleanupWithFlag()
494 Address ActiveFlag = in PopCleanupBlocks() local
496 initFullExprCleanupWithFlag(ActiveFlag); in PopCleanupBlocks()
497 I += sizeof(ActiveFlag); in PopCleanupBlocks()
556 Address ActiveFlag) { in EmitCleanup() argument
560 if (ActiveFlag.isValid()) { in EmitCleanup()
564 = CGF.Builder.CreateLoad(ActiveFlag, "cleanup.is_active"); in EmitCleanup()
574 if (ActiveFlag.isValid()) in EmitCleanup()
DCodeGenFunction.h707 Address ActiveFlag = createCleanupActiveFlag();
708 assert(!DominatingValue<Address>::needsSaving(ActiveFlag) &&
715 pushCleanupAfterFullExprWithActiveFlag<CleanupType>(Kind, ActiveFlag, Saved);
720 Address ActiveFlag, As... A) {
722 ActiveFlag.isValid()};
727 (Header.IsConditional ? sizeof(ActiveFlag) : 0));
735 new (Buffer + sizeof(Header) + sizeof(T)) Address(ActiveFlag);
744 void initFullExprCleanupWithFlag(Address ActiveFlag);
DCGDecl.cpp2148 Address ActiveFlag = createCleanupActiveFlag(); in pushLifetimeExtendedDestroy() local
2155 initFullExprCleanupWithFlag(ActiveFlag); in pushLifetimeExtendedDestroy()
2159 cleanupKind, ActiveFlag, SavedAddr, type, destroyer, in pushLifetimeExtendedDestroy()