Lines Matching refs:getTopOfStack

280   SharingMapTy &getTopOfStack() {  in getTopOfStack()  function in __anon296aa5740111::DSAStackTy
284 const SharingMapTy &getTopOfStack() const { in getTopOfStack() function in __anon296aa5740111::DSAStackTy
285 return const_cast<DSAStackTy &>(*this).getTopOfStack(); in getTopOfStack()
377 void setBodyComplete() { getTopOfStack().BodyComplete = true; } in setBodyComplete()
439 getTopOfStack().LoopStart = true; in loopInit()
445 getTopOfStack().LoopStart = false; in loopStart()
451 return !getTopOfStack().LoopStart; in isLoopStarted()
455 getTopOfStack().PossiblyLoopCounter = D ? D->getCanonicalDecl() : D; in resetPossibleLoopCounter()
459 return getTopOfStack().PossiblyLoopCounter; in getPossiblyLoopCunter()
568 assert((getTopOfStack().Directive == OMPD_taskgroup || in getTaskgroupReductionRef()
569 ((isOpenMPParallelDirective(getTopOfStack().Directive) || in getTaskgroupReductionRef()
570 isOpenMPWorksharingDirective(getTopOfStack().Directive)) && in getTaskgroupReductionRef()
571 !isOpenMPSimdDirective(getTopOfStack().Directive))) && in getTaskgroupReductionRef()
574 return getTopOfStack().TaskgroupReductionRef; in getTaskgroupReductionRef()
709 getTopOfStack().DefaultAttr = DSA_none; in setDefaultDSANone()
710 getTopOfStack().DefaultAttrLoc = Loc; in setDefaultDSANone()
714 getTopOfStack().DefaultAttr = DSA_shared; in setDefaultDSAShared()
715 getTopOfStack().DefaultAttrLoc = Loc; in setDefaultDSAShared()
719 getTopOfStack().DefaultAttr = DSA_private; in setDefaultDSAPrivate()
720 getTopOfStack().DefaultAttrLoc = Loc; in setDefaultDSAPrivate()
724 getTopOfStack().DefaultAttr = DSA_firstprivate; in setDefaultDSAFirstPrivate()
725 getTopOfStack().DefaultAttrLoc = Loc; in setDefaultDSAFirstPrivate()
730 DefaultmapInfo &DMI = getTopOfStack().DefaultmapMap[Kind]; in setDefaultDMAAttr()
737 return getTopOfStack() in checkDefaultmapCategory()
740 getTopOfStack() in checkDefaultmapCategory()
743 getTopOfStack() in checkDefaultmapCategory()
746 return getTopOfStack().DefaultmapMap[VariableCategory].ImplicitBehavior != in checkDefaultmapCategory()
771 return isStackEmpty() ? DSA_unspecified : getTopOfStack().DefaultAttr; in getDefaultDSA()
774 return isStackEmpty() ? SourceLocation() : getTopOfStack().DefaultAttrLoc; in getDefaultDSALocation()
780 : getTopOfStack().DefaultmapMap[Kind].ImplicitBehavior; in getDefaultmapModifier()
835 getTopOfStack().OrderedRegion.emplace(Param, Clause); in setOrderedRegion()
837 getTopOfStack().OrderedRegion.reset(); in setOrderedRegion()
870 getTopOfStack().NowaitRegion = IsNowait; in setNowaitRegion()
881 getTopOfStack().UntiedRegion = IsUntied; in setUntiedRegion()
932 getTopOfStack().AssociatedLoops = Val; in setAssociatedLoops()
934 getTopOfStack().HasMutipleLoops = true; in setAssociatedLoops()
967 void setContext(DeclContext *DC) { getTopOfStack().Context = DC; } in setContext()
1032 MappedExprComponentTy &MEC = getTopOfStack().MappedExprComponents[VD]; in addMappableExpressionComponents()
1051 const SharingMapTy &StackElem = getTopOfStack(); in getDoacrossDependClauses()
1062 SharingMapTy &StackElem = getTopOfStack(); in addMappedClassesQualTypes()
1068 const SharingMapTy &StackElem = getTopOfStack(); in isClassPreviouslyMapped()
1090 return getTopOfStack().DeclareTargetLinkVarDecls; in getLinkGlobals()
1095 getTopOfStack().InnerUsedAllocators.push_back(E); in addInnerAllocatorExpr()
1099 return getTopOfStack().InnerUsedAllocators; in getInnerAllocators()
1108 return getTopOfStack().ImplicitTaskFirstprivates.contains(D); in isImplicitTaskFirstprivate()
1113 getTopOfStack().UsesAllocatorsDecls.try_emplace(D, Kind); in addUsesAllocatorsDecl()
1119 const SharingMapTy &StackElem = getTopOfStack(); in isUsesAllocatorsDecl()
1126 const SharingMapTy &StackElem = getTopOfStack(); in isUsesAllocatorsDecl()
1134 SharingMapTy &StackElem = getTopOfStack(); in addDeclareMapperVarRef()
1378 SharingMapTy &StackElem = getTopOfStack(); in addUniqueAligned()
1393 SharingMapTy &StackElem = getTopOfStack(); in addUniqueNontemporal()
1407 SharingMapTy &StackElem = getTopOfStack(); in addLoopControlVariable()
1416 const SharingMapTy &StackElem = getTopOfStack(); in isLoopControlVariable()
1469 DSAInfo &Data = getTopOfStack().SharingMap[D]; in addDSA()
1486 DSAInfo &Data = getTopOfStack().SharingMap[PrivateCopy->getDecl()]; in addDSA()
1533 getTopOfStack().SharingMap[D].Attributes == OMPC_reduction && in addTaskgroupReductionData()
1535 ReductionData &ReductionData = getTopOfStack().ReductionMap[D]; in addTaskgroupReductionData()
1537 (getTopOfStack().Directive == OMPD_taskgroup || in addTaskgroupReductionData()
1538 ((isOpenMPParallelDirective(getTopOfStack().Directive) || in addTaskgroupReductionData()
1539 isOpenMPWorksharingDirective(getTopOfStack().Directive)) && in addTaskgroupReductionData()
1540 !isOpenMPSimdDirective(getTopOfStack().Directive))) && in addTaskgroupReductionData()
1544 Expr *&TaskgroupReductionRef = getTopOfStack().TaskgroupReductionRef; in addTaskgroupReductionData()
1558 getTopOfStack().SharingMap[D].Attributes == OMPC_reduction && in addTaskgroupReductionData()
1560 ReductionData &ReductionData = getTopOfStack().ReductionMap[D]; in addTaskgroupReductionData()
1562 (getTopOfStack().Directive == OMPD_taskgroup || in addTaskgroupReductionData()
1563 ((isOpenMPParallelDirective(getTopOfStack().Directive) || in addTaskgroupReductionData()
1564 isOpenMPWorksharingDirective(getTopOfStack().Directive)) && in addTaskgroupReductionData()
1565 !isOpenMPSimdDirective(getTopOfStack().Directive))) && in addTaskgroupReductionData()
1569 Expr *&TaskgroupReductionRef = getTopOfStack().TaskgroupReductionRef; in addTaskgroupReductionData()