Searched refs:GlobalVarName (Results 1 – 1 of 1) sorted by relevance
428 std::string GlobalVarName = (KernelFunction->getName() + ".id").str(); in emitDeviceStubBodyNew() local431 CGM.getModule().getNamedGlobal(GlobalVarName); in emitDeviceStubBodyNew()436 llvm::ConstantInt::get(CGM.Int8Ty, 0), GlobalVarName); in emitDeviceStubBodyNew()440 HandleVar->setComdat(CGM.getModule().getOrInsertComdat(GlobalVarName)); in emitDeviceStubBodyNew()