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

Lines Matching refs:LangOpts

101   const LangOptions &LangOpts;
151 TargetOpts(TOpts), LangOpts(LOpts), TheModule(M),
168 // We need this wrapper to access LangOpts and CGOpts from extension functions
174 const LangOptions &LangOpts)
176 LangOpts(LangOpts) {}
179 const LangOptions &getLangOpts() const { return LangOpts; }
184 const LangOptions &LangOpts;
351 const LangOptions &LangOpts = BuilderWrapper.getLangOpts();
352 PM.add(createDataFlowSanitizerPass(LangOpts.SanitizerBlacklistFiles));
432 const LangOptions &LangOpts,
451 switch (LangOpts.getDefaultFPContractMode()) {
473 if (LangOpts.SjLjExceptions)
475 if (LangOpts.SEHExceptions)
477 if (LangOpts.DWARFExceptions)
479 if (LangOpts.WasmExceptions)
482 Options.NoInfsFPMath = LangOpts.NoHonorInfs;
483 Options.NoNaNsFPMath = LangOpts.NoHonorNaNs;
485 Options.UnsafeFPMath = LangOpts.UnsafeFPMath;
562 const LangOptions &LangOpts) {
571 Options.Atomic = LangOpts.Sanitize.has(SanitizerKind::Thread);
600 PassManagerBuilderWrapper PMBuilder(TargetTriple, CodeGenOpts, LangOpts);
607 LangOpts.Coroutines);
647 if (LangOpts.ObjCAutoRefCount) {
656 if (LangOpts.Coroutines)
659 if (LangOpts.Sanitize.has(SanitizerKind::LocalBounds)) {
675 if (LangOpts.Sanitize.has(SanitizerKind::Address)) {
682 if (LangOpts.Sanitize.has(SanitizerKind::KernelAddress)) {
689 if (LangOpts.Sanitize.has(SanitizerKind::HWAddress)) {
696 if (LangOpts.Sanitize.has(SanitizerKind::KernelHWAddress)) {
703 if (LangOpts.Sanitize.has(SanitizerKind::Memory)) {
710 if (LangOpts.Sanitize.has(SanitizerKind::KernelMemory)) {
717 if (LangOpts.Sanitize.has(SanitizerKind::Thread)) {
724 if (LangOpts.Sanitize.has(SanitizerKind::DataFlow)) {
753 getInstrProfOptions(CodeGenOpts, LangOpts))
823 initTargetOptions(Diags, Options, CodeGenOpts, TargetOpts, LangOpts, HSOpts);
1004 const LangOptions &LangOpts,
1006 if (!LangOpts.Coroutines)
1021 const LangOptions &LangOpts,
1043 if (LangOpts.Sanitize.has(SanitizerKind::Address)) {
1047 if (LangOpts.Sanitize.has(SanitizerKind::KernelAddress)) {
1051 if (LangOpts.Sanitize.has(SanitizerKind::Memory)) {
1059 if (LangOpts.Sanitize.has(SanitizerKind::KernelMemory)) {
1064 if (LangOpts.Sanitize.has(SanitizerKind::Thread)) {
1153 PTO.Coroutines = LangOpts.Coroutines;
1215 getInstrProfOptions(CodeGenOpts, LangOpts))
1225 AlwaysInlinerPass(/*InsertLifetimeIntrinsics=*/LangOpts.Coroutines));
1238 if (LangOpts.Sanitize.has(SanitizerKind::LocalBounds))
1276 if (LangOpts.Sanitize.has(SanitizerKind::LocalBounds))
1295 if (LangOpts.Sanitize.has(SanitizerKind::Memory)) {
1306 if (LangOpts.Sanitize.has(SanitizerKind::Thread)) {
1314 if (LangOpts.Sanitize.has(SanitizerKind::Address)) {
1337 getInstrProfOptions(CodeGenOpts, LangOpts))
1364 if (LangOpts.Sanitize.has(SanitizerKind::HWAddress)) {
1369 if (LangOpts.Sanitize.has(SanitizerKind::KernelHWAddress)) {
1375 addCoroutinePassesAtO0(MPM, LangOpts, CodeGenOpts);
1376 addSanitizersAtO0(MPM, TargetTriple, LangOpts, CodeGenOpts);