Lines Matching defs:CodeGenOpts
1882 addMergableDefaultFunctionAttributes(const CodeGenOptions &CodeGenOpts,
1884 addDenormalModeAttrs(CodeGenOpts.FPDenormalMode, CodeGenOpts.FP32DenormalMode,
1889 StringRef Name, bool HasOptnone, const CodeGenOptions &CodeGenOpts,
1894 if (CodeGenOpts.OptimizeSize)
1896 if (CodeGenOpts.OptimizeSize == 2)
1900 if (CodeGenOpts.DisableRedZone)
1902 if (CodeGenOpts.IndirectTlsSegRefs)
1904 if (CodeGenOpts.NoImplicitFloat)
1911 if (!CodeGenOpts.SimplifyLibCalls || LangOpts.isNoBuiltinFunc(Name))
1913 if (!CodeGenOpts.TrapFuncName.empty())
1914 FuncAttrs.addAttribute("trap-func-name", CodeGenOpts.TrapFuncName);
1916 switch (CodeGenOpts.getFramePointer()) {
1925 CodeGenOpts.getFramePointer()));
1928 if (CodeGenOpts.LessPreciseFPMAD)
1931 if (CodeGenOpts.NullPointerIsValid)
1952 if (CodeGenOpts.SoftFloat)
1955 llvm::utostr(CodeGenOpts.SSPBufferSize));
1960 const std::vector<std::string> &Recips = CodeGenOpts.Reciprocals;
1965 if (!CodeGenOpts.PreferVectorWidth.empty() &&
1966 CodeGenOpts.PreferVectorWidth != "none")
1968 CodeGenOpts.PreferVectorWidth);
1970 if (CodeGenOpts.StackRealignment)
1972 if (CodeGenOpts.Backchain)
1974 if (CodeGenOpts.EnableSegmentedStacks)
1977 if (CodeGenOpts.SpeculativeLoadHardening)
1981 switch (CodeGenOpts.getZeroCallUsedRegs()) {
2028 if (CodeGenOpts.SaveRegParams && !AttrOnCallSite)
2031 for (StringRef Attr : CodeGenOpts.DefaultFunctionAttrs) {
2079 llvm::Function &F, const CodeGenOptions &CodeGenOpts,
2092 CodeGenOpts, LangOpts,
2109 CodeGenOpts.FPDenormalMode.mergeCalleeMode(DenormModeToMerge);
2110 llvm::DenormalMode MergedF32 = CodeGenOpts.FP32DenormalMode;
2114 CodeGenOpts.FP32DenormalMode.mergeCalleeMode(DenormModeToMergeF32);
2122 CodeGenOpts.FPDenormalMode.str());
2130 CodeGenOpts.FP32DenormalMode.str());
2158 addMergableDefaultFunctionAttributes(CodeGenOpts, FuncAttrs);
2442 !CodeGenOpts.NullPointerIsValid)
2520 if (CodeGenOpts.NoPLT) {
2534 if (TargetDecl && CodeGenOpts.UniqueInternalLinkageNames) {
2551 if (CodeGenOpts.DisableTailCalls)
2561 if (CodeGenOpts.NoEscapingBlockTailCalls) {
2585 if (CodeGenOpts.EnableNoundefAttrs &&
2635 !CodeGenOpts.NullPointerIsValid)
2684 if (!CodeGenOpts.NullPointerIsValid &&
2727 if (CodeGenOpts.EnableNoundefAttrs &&
2762 if (CodeGenOpts.PassByValueIsNoAlias && Decl &&
2818 !CodeGenOpts.NullPointerIsValid)