Home
last modified time | relevance | path

Searched refs:AttrsToRemove (Results 1 – 3 of 3) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp295 AttrBuilder AttrsToRemove; in addReadAttrs() local
296 AttrsToRemove.addAttribute(Attribute::ReadOnly); in addReadAttrs()
297 AttrsToRemove.addAttribute(Attribute::ReadNone); in addReadAttrs()
298 AttrsToRemove.addAttribute(Attribute::WriteOnly); in addReadAttrs()
302 AttrsToRemove.addAttribute(Attribute::ArgMemOnly); in addReadAttrs()
303 AttrsToRemove.addAttribute(Attribute::InaccessibleMemOnly); in addReadAttrs()
304 AttrsToRemove.addAttribute(Attribute::InaccessibleMemOrArgMemOnly); in addReadAttrs()
306 F->removeAttributes(AttributeList::FunctionIndex, AttrsToRemove); in addReadAttrs()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h320 removeAttributes(LLVMContext &C, const AttrBuilder &AttrsToRemove) const;
520 LLVMContext &C, unsigned Index, const AttrBuilder &AttrsToRemove) const;
545 LLVMContext &C, unsigned ArgNo, const AttrBuilder &AttrsToRemove) const {
546 return removeAttributes(C, ArgNo + FirstArgIndex, AttrsToRemove);
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp1317 const AttrBuilder &AttrsToRemove) const { in removeAttributes()
1319 AttributeSet NewAttrs = Attrs.removeAttributes(C, AttrsToRemove); in removeAttributes()