Lines Matching refs:GuardNum
2295 unsigned GuardNum; member
2296 ResetGuardBit(Address Guard, unsigned GuardNum) in ResetGuardBit()
2297 : Guard(Guard), GuardNum(GuardNum) {} in ResetGuardBit()
2305 llvm::ConstantInt::get(CGF.IntTy, ~(1U << GuardNum)); in Emit()
2355 unsigned GuardNum; in EmitGuardedInit() local
2359 GuardNum = getContext().getStaticLocalNumber(&D); in EmitGuardedInit()
2360 assert(GuardNum > 0); in EmitGuardedInit()
2361 GuardNum--; in EmitGuardedInit()
2363 GuardNum = ThreadSafeGuardNumMap[D.getDeclContext()]++; in EmitGuardedInit()
2366 GuardNum = GI->BitIndex++; in EmitGuardedInit()
2369 if (!HasPerVariableGuard && GuardNum >= 32) { in EmitGuardedInit()
2372 GuardNum %= 32; in EmitGuardedInit()
2382 getMangleContext().mangleThreadSafeStaticGuardVariable(&D, GuardNum, in EmitGuardedInit()
2418 llvm::ConstantInt *Bit = llvm::ConstantInt::get(GuardTy, 1U << GuardNum); in EmitGuardedInit()
2430 CGF.EHStack.pushCleanup<ResetGuardBit>(EHCleanup, GuardAddr, GuardNum); in EmitGuardedInit()