Lines Matching refs:GuardVar
2354 llvm::GlobalVariable *GuardVar = GI ? GI->Guard : nullptr; in EmitGuardedInit() local
2373 GuardVar = nullptr; in EmitGuardedInit()
2376 if (!GuardVar) { in EmitGuardedInit()
2390 GuardVar = in EmitGuardedInit()
2393 GuardVar->setVisibility(GV->getVisibility()); in EmitGuardedInit()
2394 GuardVar->setDLLStorageClass(GV->getDLLStorageClass()); in EmitGuardedInit()
2395 GuardVar->setAlignment(GuardAlign.getQuantity()); in EmitGuardedInit()
2396 if (GuardVar->isWeakForLinker()) in EmitGuardedInit()
2397 GuardVar->setComdat( in EmitGuardedInit()
2398 CGM.getModule().getOrInsertComdat(GuardVar->getName())); in EmitGuardedInit()
2400 GuardVar->setThreadLocal(true); in EmitGuardedInit()
2402 GI->Guard = GuardVar; in EmitGuardedInit()
2405 ConstantAddress GuardAddr(GuardVar, GuardAlign); in EmitGuardedInit()
2407 assert(GuardVar->getLinkage() == GV->getLinkage() && in EmitGuardedInit()