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

References

gen/include/llvm/IR/IntrinsicImpl.inc
16722       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16730       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16740       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16760       AS[7] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16768       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16778       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16790       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16806       AS[5] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16824       AS[6] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16840       AS[5] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16852       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16860       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16868       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16876       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16886       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16894       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16904       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16912       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16922       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16930       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16940       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16950       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16956       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16964       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16972       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16980       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
16990       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17004       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17014       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17024       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17034       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17042       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17050       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17058       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17066       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17074       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17080       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17094       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17108       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17116       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17122       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17130       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17138       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17150       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17162       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17174       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17186       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17194       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17202       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17212       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17220       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17230       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17246       AS[5] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17252       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17260       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17266       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17274       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17286       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17298       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17312       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17324       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17338       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17350       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17364       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17378       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17392       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17406       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17420       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17434       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17448       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17462       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17476       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17490       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17500       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17508       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17518       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17526       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17536       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17552       AS[5] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17558       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17566       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17574       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17582       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17592       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17600       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17606       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17612       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17618       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17626       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17634       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17644       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17652       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17662       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17672       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17684       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17698       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17712       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17726       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17734       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17744       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17754       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17762       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17772       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17782       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17792       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17800       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17810       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17818       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17828       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17834       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17842       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17850       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17862       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17868       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17874       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17880       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17888       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17896       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17902       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17910       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17920       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17932       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17940       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17950       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17962       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17970       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17976       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17984       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
17992       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18002       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18008       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18014       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18020       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18028       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18042       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18050       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18064       AS[4] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18076       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18086       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18092       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18098       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18104       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18112       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18124       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18130       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18142       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18154       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18164       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18176       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18186       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18196       AS[2] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18204       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18210       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18216       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18224       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18232       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18238       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18244       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18250       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18258       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18270       AS[3] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18278       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18284       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18290       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18296       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18302       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18310       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18316       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18337       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18345       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18351       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18359       AS[1] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
18365       AS[0] = AttributeList::get(C, AttributeList::FunctionIndex, Atts);
include/llvm/CodeGen/CommandFlags.inc
  404                     llvm::AttributeList::FunctionIndex,
  409         Attrs.addAttributes(Ctx, AttributeList::FunctionIndex, NewAttrs));
include/llvm/IR/Attributes.h
  656   unsigned index_begin() const { return AttributeList::FunctionIndex; }
include/llvm/IR/Function.h
  230     addAttribute(AttributeList::FunctionIndex, Kind);
  235     addAttribute(AttributeList::FunctionIndex,
  241     addAttribute(AttributeList::FunctionIndex, Attr);
  246     removeAttribute(AttributeList::FunctionIndex, Kind);
  252         getContext(), AttributeList::FunctionIndex, Kind));
  334     return getAttribute(AttributeList::FunctionIndex, Kind);
  339     return getAttribute(AttributeList::FunctionIndex, Kind);
  347             AttributeSets.getStackAlignment(AttributeList::FunctionIndex))
include/llvm/IR/IRBuilder.h
  269       I->addAttribute(AttributeList::FunctionIndex, Attribute::StrictFP);
include/llvm/IR/InstrTypes.h
 1633     addAttribute(AttributeList::FunctionIndex, Attribute::NoInline);
 1638     addAttribute(AttributeList::FunctionIndex, Attribute::ReadNone);
 1646     addAttribute(AttributeList::FunctionIndex, Attribute::ReadOnly);
 1654     addAttribute(AttributeList::FunctionIndex, Attribute::WriteOnly);
 1663     addAttribute(AttributeList::FunctionIndex, Attribute::ArgMemOnly);
 1672     addAttribute(AttributeList::FunctionIndex, Attribute::InaccessibleMemOnly);
 1681     addAttribute(AttributeList::FunctionIndex,
 1687     addAttribute(AttributeList::FunctionIndex, Attribute::NoReturn);
 1696     addAttribute(AttributeList::FunctionIndex, Attribute::NoUnwind);
 1702     addAttribute(AttributeList::FunctionIndex, Attribute::NoDuplicate);
 1708     addAttribute(AttributeList::FunctionIndex, Attribute::Convergent);
 1711     removeAttribute(AttributeList::FunctionIndex, Attribute::Convergent);
 2114     if (Attrs.hasAttribute(AttributeList::FunctionIndex, Kind))
include/llvm/IR/Instructions.h
 1665     addAttribute(AttributeList::FunctionIndex, Attribute::ReturnsTwice);
 3836     addAttribute(AttributeList::FunctionIndex, Attribute::NoUnwind);
include/llvm/Transforms/IPO/Attributor.h
  387       return AttributeList::FunctionIndex;
lib/AsmParser/LLParser.cpp
  136       AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
  147       AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
  153       AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
  155       AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
  161       AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
  163       AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
  169       AS = AS.removeAttributes(Context, AttributeList::FunctionIndex);
  171       AS = AS.addAttributes(Context, AttributeList::FunctionIndex,
lib/Bitcode/Writer/BitcodeWriter.cpp
 1293       auto AL = GV.getAttributesAsList(AttributeList::FunctionIndex);
lib/Bitcode/Writer/ValueEnumerator.cpp
  352       EnumerateAttributes(GV.getAttributesAsList(AttributeList::FunctionIndex));
lib/CodeGen/MachinePipeliner.cpp
  203           AttributeList::FunctionIndex, Attribute::OptimizeForSize) &&
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 6492             .getAttribute(AttributeList::FunctionIndex, "trap-func-name")
lib/ExecutionEngine/ExecutionEngineBindings.cpp
  191       Attrs = Attrs.addAttribute(F.getContext(), AttributeList::FunctionIndex,
lib/IR/AsmWriter.cpp
 3408   if (Attrs.hasAttributes(AttributeList::FunctionIndex)) {
 3493   if (Attrs.hasAttributes(AttributeList::FunctionIndex))
 3880     if (PAL.hasAttributes(AttributeList::FunctionIndex))
 3918     if (PAL.hasAttributes(AttributeList::FunctionIndex))
 3958     if (PAL.hasAttributes(AttributeList::FunctionIndex))
lib/IR/Attributes.cpp
  900   return Index == AttributeList::FunctionIndex ? 0 : Index + 1;
  915   static_assert(attrIdxToArrayIdx(AttributeList::FunctionIndex) == 0U,
 1029   if (MaxIndex == FunctionIndex && Attrs.size() > 1)
 1298   return getAttributes(FunctionIndex);
 1319   return hasAttribute(AttributeList::FunctionIndex, Kind);
 1764     Caller.removeAttributes(AttributeList::FunctionIndex, OldSSPAttr);
 1768     Caller.removeAttributes(AttributeList::FunctionIndex, OldSSPAttr);
lib/IR/Core.cpp
 2432   Func->addAttribute(AttributeList::FunctionIndex, Attr);
lib/IR/Instructions.cpp
  345     return F->getAttributes().hasAttribute(AttributeList::FunctionIndex, Kind);
  351     return F->getAttributes().hasAttribute(AttributeList::FunctionIndex, Kind);
lib/IR/Statepoint.cpp
   64       AS.getAttribute(AttributeList::FunctionIndex, "statepoint-id");
   71   Attribute AttrNumPatchBytes = AS.getAttribute(AttributeList::FunctionIndex,
lib/IR/Verifier.cpp
 1771   if (!Attrs.hasAttributes(AttributeList::FunctionIndex))
 1821         Attrs.getAllocSizeArgs(AttributeList::FunctionIndex);
 2856   if (Attrs.hasAttribute(AttributeList::FunctionIndex, Attribute::Speculatable)) {
lib/Target/AArch64/AArch64ISelLowering.cpp
12424       Attr.hasAttribute(AttributeList::FunctionIndex, Attribute::MinSize);
lib/Target/AMDGPU/AMDGPULibCalls.cpp
 1737   F.addAttributes(AttributeList::FunctionIndex, B);
lib/Target/AMDGPU/AMDGPULibFunc.cpp
  990     Attr = Attr.addAttribute(Ctx, AttributeList::FunctionIndex,
  992     Attr = Attr.addAttribute(Ctx, AttributeList::FunctionIndex,
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  322       AttributeList Attr = AttributeList::get(Ctx, AttributeList::FunctionIndex,
lib/Target/AVR/AVRISelLowering.cpp
 1414           AttributeList::FunctionIndex, Attribute::Naked)) {
lib/Target/Hexagon/HexagonTargetMachine.cpp
  230       FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-cpu");
  232       FnAttrs.getAttribute(AttributeList::FunctionIndex, "target-features");
lib/Target/Mips/Mips16HardFloat.cpp
  411         A = A.addAttribute(C, AttributeList::FunctionIndex,
  413         A = A.addAttribute(C, AttributeList::FunctionIndex,
  415         A = A.addAttribute(C, AttributeList::FunctionIndex,
  488   F.removeAttributes(AttributeList::FunctionIndex, B);
  492   F.addAttributes(AttributeList::FunctionIndex, B);
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  383     CI->removeAttribute(AttributeList::FunctionIndex, Attribute::NoReturn);
lib/Target/X86/X86ISelLowering.cpp
46160       Attr.hasAttribute(AttributeList::FunctionIndex, Attribute::MinSize);
lib/Target/X86/X86IndirectBranchTracking.cpp
   94   if (Attrs.hasAttribute(AttributeList::FunctionIndex, Attribute::ReturnsTwice))
lib/Target/X86/X86RetpolineThunks.cpp
  211   F->addAttributes(llvm::AttributeList::FunctionIndex, B);
lib/Transforms/Coroutines/CoroSplit.cpp
  683     NewAttrs = NewAttrs.addAttributes(Context, AttributeList::FunctionIndex,
lib/Transforms/Coroutines/Coroutines.cpp
  302         CB->removeAttribute(AttributeList::FunctionIndex,
lib/Transforms/IPO/Inliner.cpp
  524   CS.addAttribute(AttributeList::FunctionIndex, attr);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 3695         NewCall->addAttribute(AttributeList::FunctionIndex,
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  659     NewF->removeAttributes(AttributeList::FunctionIndex,
  733     AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex,
  735     AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex,
  747     AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex,
  749     AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex,
  760     AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex,
  762     AL = AL.addAttribute(M.getContext(), AttributeList::FunctionIndex,
  892         NewF->removeAttributes(AttributeList::FunctionIndex, ReadOnlyNoneAttrs);
 1584             CustomFn->removeAttributes(AttributeList::FunctionIndex,
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 3285         Func->removeAttributes(AttributeList::FunctionIndex, B);
 4605   F.removeAttributes(AttributeList::FunctionIndex, B);
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  205   Attr = Attr.addAttribute(M.getContext(), AttributeList::FunctionIndex,
lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
   72   Call->addAttribute(AttributeList::FunctionIndex, Attribute::ReadNone);
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1255   return AttributeList::get(Ctx, AttributeList::FunctionIndex,
 1403     if (CSAS.hasAttribute(AttributeList::FunctionIndex, DeoptLowering))
 1404       return CSAS.getAttribute(AttributeList::FunctionIndex, DeoptLowering)
lib/Transforms/Utils/BuildLibCalls.cpp
  913   AS = AttributeList::get(M->getContext(), AttributeList::FunctionIndex,
 1056                                           AttributeList::FunctionIndex,
 1098                                           AttributeList::FunctionIndex,
lib/Transforms/Utils/EntryExitInstrumenter.cpp
   88     F.removeAttribute(AttributeList::FunctionIndex, EntryAttr);
  115     F.removeAttribute(AttributeList::FunctionIndex, ExitAttr);
lib/Transforms/Utils/Local.cpp
 2898     CI->addAttribute(AttributeList::FunctionIndex, Attribute::NoBuiltin);
lib/Transforms/Utils/SimplifyLibCalls.cpp
 2298     CI->addAttribute(AttributeList::FunctionIndex, Attribute::Cold);
tools/bugpoint/CrashDebugger.cpp
  357       NewAttrs.addAttributes(BD.getContext(), AttributeList::FunctionIndex, AB);
tools/clang/lib/CodeGen/CGBuiltin.cpp
  857       CGF.getLLVMContext(), llvm::AttributeList::FunctionIndex,
 1070         getLLVMContext(), llvm::AttributeList::FunctionIndex,
12318         getLLVMContext(), llvm::AttributeList::FunctionIndex,
tools/clang/lib/CodeGen/CGCall.cpp
 1817   F.addAttributes(llvm::AttributeList::FunctionIndex, FuncAttrs);
 4316         Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex,
 4323         Attrs.addAttribute(getLLVMContext(), llvm::AttributeList::FunctionIndex,
 4340     CannotThrow = Attrs.hasAttribute(llvm::AttributeList::FunctionIndex,
 4422       CI->removeAttribute(llvm::AttributeList::FunctionIndex,
tools/clang/lib/CodeGen/CGExpr.cpp
 2994                                llvm::AttributeList::FunctionIndex, B),
 3308     TrapCall->addAttribute(llvm::AttributeList::FunctionIndex, A);
tools/clang/lib/CodeGen/CGExprCXX.cpp
 1305     CallOrInvoke->addAttribute(llvm::AttributeList::FunctionIndex,
tools/clang/lib/CodeGen/CGObjCMac.cpp
   69                                  llvm::AttributeList::FunctionIndex,
  590                                  llvm::AttributeList::FunctionIndex,
  740                                  llvm::AttributeList::FunctionIndex,
tools/clang/lib/CodeGen/CGStmt.cpp
 1917   Result.addAttribute(llvm::AttributeList::FunctionIndex,
 1922       Result.addAttribute(llvm::AttributeList::FunctionIndex,
 1925       Result.addAttribute(llvm::AttributeList::FunctionIndex,
 1948     Result.addAttribute(llvm::AttributeList::FunctionIndex,
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1507     F->addAttributes(llvm::AttributeList::FunctionIndex, B);
 1593   F->addAttributes(llvm::AttributeList::FunctionIndex, B);
 1734         F->addAttributes(llvm::AttributeList::FunctionIndex, Attrs);
 1837     F->addAttribute(llvm::AttributeList::FunctionIndex,
 3206   if (ExtraAttrs.hasAttributes(llvm::AttributeList::FunctionIndex)) {
 3207     llvm::AttrBuilder B(ExtraAttrs, llvm::AttributeList::FunctionIndex);
 3208     F->addAttributes(llvm::AttributeList::FunctionIndex, B);
 3342         ExtraAttrs.addAttribute(VMContext, llvm::AttributeList::FunctionIndex,
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 1297       CGF.getLLVMContext(), llvm::AttributeList::FunctionIndex, FuncAttrs);
 2127                                llvm::AttributeList::FunctionIndex,
 2139                                llvm::AttributeList::FunctionIndex,
 2151                                llvm::AttributeList::FunctionIndex,
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 2369                                llvm::AttributeList::FunctionIndex,
 2381                                llvm::AttributeList::FunctionIndex,
 2393                                llvm::AttributeList::FunctionIndex,
tools/clang/lib/CodeGen/TargetInfo.cpp
  773         Fn->addAttributes(llvm::AttributeList::FunctionIndex, B);
  779         Fn->addAttributes(llvm::AttributeList::FunctionIndex, B);
 5742     Fn->addAttributes(llvm::AttributeList::FunctionIndex, B);
unittests/IR/AttributesTest.cpp
   61   AL = AL.addAttributes(C, AttributeList::FunctionIndex, AttributeSet::get(C, B));
  169                                              { AttributeList::FunctionIndex, Attribute::get(C, Attribute::ReadOnly) } };
unittests/IR/InstructionsTest.cpp
  532         AttributeList::get(C, AttributeList::FunctionIndex, AB));
  550   Call->setAttributes(AttributeList::get(C, AttributeList::FunctionIndex, AB));
  580       AttributeList::get(C, AttributeList::FunctionIndex, AB));