Lines Matching refs:ManagedVar
490 llvm::GlobalVariable *ManagedVar) { in replaceManagedVar() argument
509 new llvm::LoadInst(Var->getType(), ManagedVar, "ld.managed", false, in replaceManagedVar()
632 auto *ManagedVar = CGM.getModule().getNamedGlobal( in makeRegisterGlobalsFn() local
636 ManagedVar, in makeRegisterGlobalsFn()
1100 auto *ManagedVar = new llvm::GlobalVariable( in transformManagedVars() local
1111 ManagedVar->setDSOLocal(Var->isDSOLocal()); in transformManagedVars()
1112 ManagedVar->setVisibility(Var->getVisibility()); in transformManagedVars()
1113 ManagedVar->setExternallyInitialized(true); in transformManagedVars()
1114 replaceManagedVar(Var, ManagedVar); in transformManagedVars()
1115 ManagedVar->takeName(Var); in transformManagedVars()
1116 Var->setName(Twine(ManagedVar->getName()) + ".managed"); in transformManagedVars()
1120 assert(!ManagedVar->isDeclaration()); in transformManagedVars()
1122 CGM.addCompilerUsedGlobal(ManagedVar); in transformManagedVars()