reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2573 llvm::FunctionType::get(CGM.VoidTy, /*isVarArg=*/false); 2574 const CGFunctionInfo &FI = CGM.getTypes().arrangeNullaryFunction(); 2575 InitFunc = CGM.CreateGlobalInitOrDestructFunction(FTy, "__tls_init", FI, 2579 CGM.getModule(), CGM.Int8Ty, /*isConstant=*/false, 2579 CGM.getModule(), CGM.Int8Ty, /*isConstant=*/false, 2581 llvm::ConstantInt::get(CGM.Int8Ty, 0), "__tls_guard"); 2587 CodeGenFunction(CGM).GenerateCXXGlobalInitFunc( 2590 if (CGM.getTarget().getTriple().isOSDarwin()) { 2601 llvm::GlobalValue *GV = CGM.GetGlobalValue(CGM.getMangledName(VD)); 2601 llvm::GlobalValue *GV = CGM.GetGlobalValue(CGM.getMangledName(VD)); 2610 cast<llvm::GlobalVariable>(CGM.GetGlobalValue(CGM.getMangledName(VD))); 2610 cast<llvm::GlobalVariable>(CGM.GetGlobalValue(CGM.getMangledName(VD))); 2617 if (isThreadWrapperReplaceable(VD, CGM)) { 2628 CGM.SetLLVMFunctionAttributesForDefinition(nullptr, Wrapper); 2637 llvm::FunctionType *InitFnTy = llvm::FunctionType::get(CGM.VoidTy, false); 2662 InitFnName.str(), &CGM.getModule()); 2663 const CGFunctionInfo &FI = CGM.getTypes().arrangeNullaryFunction(); 2664 CGM.SetLLVMFunctionAttributes(GlobalDecl(), FI, 2673 llvm::LLVMContext &Context = CGM.getModule().getContext(); 2675 CGBuilderTy Builder(CGM, Entry); 2681 if (isThreadWrapperReplaceable(VD, CGM)) { 2706 CharUnits Align = CGM.getContext().getDeclAlign(VD);