Searched refs:KernelEnvironmentGV (Results 1 – 1 of 1) sorted by relevance
6084 GlobalVariable *KernelEnvironmentGV = new GlobalVariable( in createTargetInit() local6089 KernelEnvironmentGV->setVisibility(GlobalValue::ProtectedVisibility); in createTargetInit()6092 KernelEnvironmentGV->getType() == KernelEnvironmentPtr in createTargetInit()6093 ? KernelEnvironmentGV in createTargetInit()6094 : ConstantExpr::getAddrSpaceCast(KernelEnvironmentGV, in createTargetInit()6151 auto *KernelEnvironmentGV = in createTargetDeinit() local6153 assert(KernelEnvironmentGV && "Expected kernel environment global\n"); in createTargetDeinit()6154 auto *KernelEnvironmentInitializer = KernelEnvironmentGV->getInitializer(); in createTargetDeinit()6161 KernelEnvironmentGV->setInitializer(NewInitializer); in createTargetDeinit()