Lines Matching refs:GuardNum
2303 unsigned GuardNum; member
2304 ResetGuardBit(Address Guard, unsigned GuardNum) in ResetGuardBit()
2305 : Guard(Guard), GuardNum(GuardNum) {} in ResetGuardBit()
2313 llvm::ConstantInt::get(CGF.IntTy, ~(1ULL << GuardNum)); in Emit()
2363 unsigned GuardNum; in EmitGuardedInit() local
2367 GuardNum = getContext().getStaticLocalNumber(&D); in EmitGuardedInit()
2368 assert(GuardNum > 0); in EmitGuardedInit()
2369 GuardNum--; in EmitGuardedInit()
2371 GuardNum = ThreadSafeGuardNumMap[D.getDeclContext()]++; in EmitGuardedInit()
2374 GuardNum = GI->BitIndex++; in EmitGuardedInit()
2377 if (!HasPerVariableGuard && GuardNum >= 32) { in EmitGuardedInit()
2380 GuardNum %= 32; in EmitGuardedInit()
2390 getMangleContext().mangleThreadSafeStaticGuardVariable(&D, GuardNum, in EmitGuardedInit()
2426 llvm::ConstantInt *Bit = llvm::ConstantInt::get(GuardTy, 1ULL << GuardNum); in EmitGuardedInit()
2438 CGF.EHStack.pushCleanup<ResetGuardBit>(EHCleanup, GuardAddr, GuardNum); in EmitGuardedInit()