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

Declarations

include/llvm/IR/Function.h
  362   void addAttribute(unsigned i, Attribute::AttrKind Kind);

References

include/llvm/IR/Function.h
  230     addAttribute(AttributeList::FunctionIndex, Kind);
  617     addAttribute(AttributeList::ReturnIndex, Attribute::NoAlias);
lib/Target/AArch64/AArch64ISelLowering.cpp
12298       F->addAttribute(1, Attribute::AttrKind::InReg);
lib/Target/ARM/ARMISelLowering.cpp
16548     F->addAttribute(1, Attribute::AttrKind::InReg);
lib/Target/X86/X86ISelLowering.cpp
 2331       F->addAttribute(1, Attribute::AttrKind::InReg);
lib/Transforms/IPO/FunctionAttrs.cpp
 1068         F->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull);
 1087       F->addAttribute(AttributeList::ReturnIndex, Attribute::NonNull);
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1063   JT->addAttribute(1, Attribute::Nest);
lib/Transforms/Utils/BuildLibCalls.cpp
   78   F.addAttribute(AttributeList::ReturnIndex, Attribute::NoAlias);
  112   F.addAttribute(AttributeList::ReturnIndex, Attribute::NonNull);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1816     F->addAttribute(1, llvm::Attribute::Returned);
 1837     F->addAttribute(llvm::AttributeList::FunctionIndex,
 1846       F->addAttribute(llvm::AttributeList::ReturnIndex,