reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/lib/IR/AttributesCompatFunc.inc
  109     .Case("optnone", Attribute::OptimizeNone)
  358     return llvm::Attribute::OptimizeNone;
include/llvm/IR/Function.h
  621   bool hasOptNone() const { return hasFnAttribute(Attribute::OptimizeNone); }
include/llvm/Transforms/IPO/Attributor.h
  931                     Fn->hasFnAttribute(Attribute::OptimizeNone);
lib/AsmParser/LLParser.cpp
 1297     case lltok::kw_optnone: B.addAttribute(Attribute::OptimizeNone); break;
lib/Bitcode/Reader/BitcodeReader.cpp
 1257   case Attribute::OptimizeNone:    return 1ULL << 42;
 1488     return Attribute::OptimizeNone;
lib/Bitcode/Writer/BitcodeWriter.cpp
  672   case Attribute::OptimizeNone:
lib/IR/Attributes.cpp
  349   if (hasAttribute(Attribute::OptimizeNone))
lib/IR/Verifier.cpp
 1536   case Attribute::OptimizeNone:
 1802   if (Attrs.hasFnAttribute(Attribute::OptimizeNone)) {
lib/Target/AArch64/AArch64StackTagging.cpp
  593                         !F->hasFnAttribute(Attribute::OptimizeNone))) {
  603   if (PDT == nullptr && !F->hasFnAttribute(Attribute::OptimizeNone)) {
lib/Transforms/IPO/ForceFunctionAttrs.cpp
   48       .Case("optnone", Attribute::OptimizeNone)
lib/Transforms/Utils/CodeExtractor.cpp
  902       case Attribute::OptimizeNone:
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1371     Fn->removeFnAttr(llvm::Attribute::OptimizeNone);
 4719     TaskPrivatesMap->removeFnAttr(llvm::Attribute::OptimizeNone);
 8871   Fn->removeFnAttr(llvm::Attribute::OptimizeNone);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1980     OutlinedFun->removeFnAttr(llvm::Attribute::OptimizeNone);
 2101     OutlinedFun->removeFnAttr(llvm::Attribute::OptimizeNone);
 3491     Fn->removeFnAttr(llvm::Attribute::OptimizeNone);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1521     B.addAttribute(llvm::Attribute::OptimizeNone);
unittests/IR/AttributesTest.cpp
   82   B_stackalign_optnone.addAttribute(Attribute::OptimizeNone);
  102   EXPECT_TRUE(AL.hasAttribute(0, Attribute::OptimizeNone));
  113   EXPECT_TRUE(AL.hasAttribute(0, Attribute::OptimizeNone));
  120   EXPECT_TRUE(AL.hasAttribute(0, Attribute::OptimizeNone));
  130   EXPECT_TRUE(AL2.hasAttribute(0, Attribute::OptimizeNone));
  137   EXPECT_TRUE(AL2.hasAttribute(0, Attribute::OptimizeNone));