Lines Matching defs:LangOpts
139 const LangOptions &LangOpts;
216 TargetOpts(TOpts), LangOpts(LOpts), TheModule(M), VFS(std::move(VFS)),
328 const LangOptions &LangOpts,
330 switch (LangOpts.getThreadModel()) {
351 switch (LangOpts.getDefaultFPContractMode()) {
374 if (LangOpts.hasSjLjExceptions())
376 if (LangOpts.hasSEHExceptions())
378 if (LangOpts.hasDWARFExceptions())
380 if (LangOpts.hasWasmExceptions())
383 Options.NoInfsFPMath = LangOpts.NoHonorInfs;
384 Options.NoNaNsFPMath = LangOpts.NoHonorNaNs;
386 Options.UnsafeFPMath = LangOpts.AllowFPReassoc && LangOpts.AllowRecip &&
387 LangOpts.NoSignedZero && LangOpts.ApproxFunc &&
388 (LangOpts.getDefaultFPContractMode() ==
390 LangOpts.getDefaultFPContractMode() ==
392 Options.ApproxFuncFPMath = LangOpts.ApproxFunc;
417 Options.IgnoreXCOFFVisibility = LangOpts.IgnoreXCOFFVisibility;
431 Options.EnableAIXExtendedAltivecABI = LangOpts.EnableAIXExtendedAltivecABI;
496 getGCOVOptions(const CodeGenOptions &CodeGenOpts, const LangOptions &LangOpts) {
515 const LangOptions &LangOpts) {
570 if (!initTargetOptions(Diags, Options, CodeGenOpts, TargetOpts, LangOpts,
637 static void addKCFIPass(const Triple &TargetTriple, const LangOptions &LangOpts,
648 LangOpts.Sanitize.has(SanitizerKind::KCFI))
657 LangOpts.Sanitize.has(SanitizerKind::KCFI))
664 const LangOptions &LangOpts, PassBuilder &PB) {
681 if (LangOpts.Sanitize.has(Mask)) {
707 if (LangOpts.Sanitize.has(SanitizerKind::Thread)) {
712 if (LangOpts.Sanitize.has(SanitizerKind::NumericalStability))
716 if (LangOpts.Sanitize.has(Mask)) {
734 if (LangOpts.Sanitize.has(Mask)) {
744 if (LangOpts.Sanitize.has(SanitizerKind::DataFlow)) {
745 MPM.addPass(DataFlowSanitizerPass(LangOpts.NoSanitizeFiles));
957 if (LangOpts.ObjCAutoRefCount) {
992 if (LangOpts.Sanitize.has(SanitizerKind::LocalBounds))
1001 addSanitizers(TargetTriple, CodeGenOpts, LangOpts, PB);
1002 addKCFIPass(TargetTriple, LangOpts, PB);
1006 getGCOVOptions(CodeGenOpts, LangOpts))
1012 getInstrProfOptions(CodeGenOpts, LangOpts))
1106 if (LangOpts.HIPStdPar && !LangOpts.CUDAIsDevice &&
1107 LangOpts.HIPStdParInterposeAlloc)