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

References

gen/lib/IR/AttributesCompatFunc.inc
  151       Fn.addFnAttr(Kind);
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  661         ClonedF->addFnAttr(Attribute::AlwaysInline);
include/llvm/IR/Function.h
  482     addFnAttr(Attribute::ReadNone);
  490     addFnAttr(Attribute::ReadOnly);
  498     addFnAttr(Attribute::WriteOnly);
  506   void setOnlyAccessesArgMemory() { addFnAttr(Attribute::ArgMemOnly); }
  514     addFnAttr(Attribute::InaccessibleMemOnly);
  523     addFnAttr(Attribute::InaccessibleMemOrArgMemOnly);
  531     addFnAttr(Attribute::NoReturn);
  542     addFnAttr(Attribute::NoUnwind);
  550     addFnAttr(Attribute::NoDuplicate);
  558     addFnAttr(Attribute::Convergent);
  569     addFnAttr(Attribute::Speculatable);
  577     addFnAttr(Attribute::NoFree);
  586     addFnAttr(Attribute::NoRecurse);
  595     addFnAttr(Attribute::UWTable);
include/llvm/IR/IRBuilder.h
  263       F->addFnAttr(Attribute::StrictFP);
lib/CodeGen/MachineOutliner.cpp
 1113   F->addFnAttr(Attribute::OptimizeForSize);
 1114   F->addFnAttr(Attribute::MinSize);
lib/CodeGen/PreISelIntrinsicLowering.cpp
   74       Fn->addFnAttr(Attribute::NonLazyBind);
lib/IR/Attributes.cpp
 1765     Caller.addFnAttr(Attribute::StackProtectReq);
 1769     Caller.addFnAttr(Attribute::StackProtectStrong);
 1773     Caller.addFnAttr(Attribute::StackProtect);
lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
  145     F->addFnAttr(Attribute::AlwaysInline);
  148     F->addFnAttr(Attribute::NoInline);
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  475   F.addFnAttr(Attribute::AlwaysInline);
lib/Target/Mips/Mips16HardFloat.cpp
  274   FStub->addFnAttr(Attribute::Naked);
  275   FStub->addFnAttr(Attribute::NoInline);
  276   FStub->addFnAttr(Attribute::NoUnwind);
  459   FStub->addFnAttr(Attribute::Naked);
  460   FStub->addFnAttr(Attribute::NoUnwind);
  461   FStub->addFnAttr(Attribute::NoInline);
lib/Transforms/CFGuard/CFGuard.cpp
  280     F.addFnAttr(Attribute::NoCfCheck);
lib/Transforms/Coroutines/CoroSplit.cpp
 1424   DevirtFn->addFnAttr(Attribute::AlwaysInline);
lib/Transforms/IPO/ForceFunctionAttrs.cpp
   85     F.addFnAttr(Kind);
lib/Transforms/IPO/FunctionAttrs.cpp
  298       F->addFnAttr(Attribute::WriteOnly);
  300       F->addFnAttr(ReadsMemory ? Attribute::ReadOnly : Attribute::ReadNone);
lib/Transforms/IPO/HotColdSplitting.cpp
  149     F.addFnAttr(Attribute::Cold);
  153     F.addFnAttr(Attribute::MinSize);
lib/Transforms/IPO/LowerTypeTests.cpp
 1372     F->addFnAttr(Attribute::Naked);
 1382   F->addFnAttr(Attribute::NoUnwind);
lib/Transforms/IPO/PruneEH.cpp
  155         F->addFnAttr(Attribute::NoUnwind);
  160         F->addFnAttr(Attribute::NoReturn);
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  859     F->addFnAttr(Attribute::NoInline);
  861       F->addFnAttr(Attribute::NoRedZone);
  948   WriteoutF->addFnAttr(Attribute::NoInline);
  950     WriteoutF->addFnAttr(Attribute::NoRedZone);
 1199   FlushF->addFnAttr(Attribute::NoInline);
 1201     FlushF->addFnAttr(Attribute::NoRedZone);
lib/Transforms/Instrumentation/InstrProfiling.cpp
  954     RegisterF->addFnAttr(Attribute::NoRedZone);
 1000   User->addFnAttr(Attribute::NoInline);
 1002     User->addFnAttr(Attribute::NoRedZone);
 1038   F->addFnAttr(Attribute::NoInline);
 1040     F->addFnAttr(Attribute::NoRedZone);
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
 1626     F->addFnAttr(Attribute::InlineHint);
 1631     F->addFnAttr(Attribute::Cold);
lib/Transforms/Utils/BuildLibCalls.cpp
  128   F.addFnAttr(Attribute::NonLazyBind);
  135   F.addFnAttr(Attribute::NoFree);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1176     Fn->addFnAttr(llvm::Attribute::NoInline);
tools/clang/lib/CodeGen/CGClass.cpp
 1520       CurFn->addFnAttr(llvm::Attribute::AlwaysInline);
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  355     Fn->addFnAttr(llvm::Attribute::SanitizeAddress);
  359     Fn->addFnAttr(llvm::Attribute::SanitizeAddress);
  363     Fn->addFnAttr(llvm::Attribute::SanitizeHWAddress);
  367     Fn->addFnAttr(llvm::Attribute::SanitizeHWAddress);
  371     Fn->addFnAttr(llvm::Attribute::SanitizeMemTag);
  375     Fn->addFnAttr(llvm::Attribute::SanitizeThread);
  379     Fn->addFnAttr(llvm::Attribute::SanitizeMemory);
  383     Fn->addFnAttr(llvm::Attribute::SanitizeMemory);
  387     Fn->addFnAttr(llvm::Attribute::SafeStack);
  391     Fn->addFnAttr(llvm::Attribute::ShadowCallStack);
tools/clang/lib/CodeGen/CGObjC.cpp
 2096         f->addFnAttr(llvm::Attribute::NonLazyBind);
 2644       f->addFnAttr(llvm::Attribute::NonLazyBind);
tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp
  181   F->addFnAttr(llvm::Attribute::NoUnwind);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1372     Fn->addFnAttr(llvm::Attribute::AlwaysInline);
 4720     TaskPrivatesMap->addFnAttr(llvm::Attribute::AlwaysInline);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1981     OutlinedFun->addFnAttr(llvm::Attribute::AlwaysInline);
 2102     OutlinedFun->addFnAttr(llvm::Attribute::AlwaysInline);
 3492     Fn->addFnAttr(llvm::Attribute::AlwaysInline);
tools/clang/lib/CodeGen/CGStmt.cpp
 2421     F->addFnAttr(llvm::Attribute::NoUnwind);
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  693     Fn->addFnAttr(llvm::Attribute::SanitizeAddress);
  695     Fn->addFnAttr(llvm::Attribute::SanitizeHWAddress);
  697     Fn->addFnAttr(llvm::Attribute::SanitizeMemTag);
  699     Fn->addFnAttr(llvm::Attribute::SanitizeThread);
  701     Fn->addFnAttr(llvm::Attribute::SanitizeMemory);
  703     Fn->addFnAttr(llvm::Attribute::SafeStack);
  705     Fn->addFnAttr(llvm::Attribute::ShadowCallStack);
  709     Fn->addFnAttr(llvm::Attribute::OptForFuzzing);
  821         Fn->addFnAttr(llvm::Attribute::NoRecurse);
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2544     Wrapper->addFnAttr(llvm::Attribute::NoUnwind);
 2592       InitFunc->addFnAttr(llvm::Attribute::NoUnwind);
 4324     fn->addFnAttr(llvm::Attribute::NoInline);
tools/clang/lib/CodeGen/TargetInfo.cpp
 6480       F->addFnAttr(llvm::Attribute::NoInline);
 6922     F->addFnAttr(llvm::Attribute::NoInline);
 7392       F->addFnAttr(llvm::Attribute::NoInline);
tools/polly/lib/Transform/ScopInliner.cpp
   81       F->addFnAttr(llvm::Attribute::AlwaysInline);