• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/

Lines Matching refs:getLangOpts

101     : Context(C), LangOpts(C.getLangOpts()), HeaderSearchOpts(HSO),
148 TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(),
159 if (C.getLangOpts().ObjC)
214 assert(getLangOpts().OpenMPIsDevice &&
412 if (Context.getLangOpts().CUDA && !Context.getLangOpts().CUDAIsDevice &&
454 (Context.getLangOpts().Modules || !LinkerOptionsMetadata.empty())) {
470 if (!ELFDependentLibraries.empty() && !Context.getLangOpts().CUDAIsDevice) {
486 if (Context.getLangOpts().SemanticInterposition)
489 else if (Context.getLangOpts().ExplicitNoSemanticInterposition)
543 uint64_t EnumWidth = Context.getLangOpts().ShortEnums ? 1 : 4;
617 if (uint32_t PLevel = Context.getLangOpts().PICLevel) {
620 if (Context.getLangOpts().PIE)
712 if (getLangOpts().CUDAIsDevice) {
830 if (LV.isVisibilityExplicit() || getLangOpts().SetVisibilityForExternDecls ||
878 const auto &LOpts = CGM.getLangOpts();
1161 getLangOpts().CUDAIsDevice ||
1940 if (getLangOpts().OpenMP && FD->hasAttr<OMPDeclareSimdDeclAttr>())
2099 if (M->getTopLevelModuleName() == getLangOpts().CurrentModule &&
2100 !getLangOpts().isCompilingModule())
2152 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd)
2648 if (getLangOpts().CPlusPlus && isa<VarDecl>(Global) &&
3151 if (getLangOpts().OpenMPIsDevice && OpenMPRuntime &&
3299 } else if (getLangOpts().CPlusPlus && D) {
3365 if (!C.getLangOpts().CPlusPlus)
3444 if (Context.getLangOpts().CPlusPlus) {
3594 if (Context.getLangOpts().CPlusPlus && GV->hasExternalLinkage() &&
3746 getContext().getLangOpts().OpenCL
3840 if (!CGM.getLangOpts().OpenCL) {
3855 if (!getLangOpts().CPlusPlus)
3928 if (getLangOpts().OpenCL && ASTTy->isSamplerT())
3951 getLangOpts().CUDAIsDevice && D->hasAttr<CUDASharedAttr>();
3955 !getLangOpts().CUDAIsDevice &&
3959 getLangOpts().CUDAIsDevice &&
3964 if (getLangOpts().CUDA &&
3991 if (getLangOpts().CPlusPlus) {
4002 if (getLangOpts().CPlusPlus && !NeedsGlobalDtor)
4320 return !Context.getLangOpts().AppleKext ? llvm::Function::LinkOnceODRLinkage
4332 if (Context.getLangOpts().AppleKext)
4334 if (Context.getLangOpts().CUDA && Context.getLangOpts().CUDAIsDevice)
4342 if (!getLangOpts().CPlusPlus && isa<VarDecl>(D) &&
4741 const auto CFRuntime = getLangOpts().CFRuntime;
5002 M, C->getType(), !CGM.getLangOpts().WritableStrings, LT, C, GlobalName,
5813 if ((!ForEH && !getLangOpts().RTTI) || getLangOpts().CUDAIsDevice ||
5814 (getLangOpts().OpenMP && getLangOpts().OpenMPIsDevice &&
6023 if (unsigned MaxAlign = getLangOpts().MaxTypeAlign) {
6032 unsigned StopAfter = getContext().getLangOpts().TrivialAutoVarInitStopAfter;
6046 << (getContext().getLangOpts().getTrivialAutoVarInit() ==