Searched refs:AttrsToRemove (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Attributes.h | 344 removeAttributes(LLVMContext &C, const AttributeMask &AttrsToRemove) const; 606 LLVMContext &C, unsigned Index, const AttributeMask &AttrsToRemove) const; 630 removeFnAttributes(LLVMContext &C, const AttributeMask &AttrsToRemove) const { 631 return removeAttributesAtIndex(C, FunctionIndex, AttrsToRemove); 657 LLVMContext &C, const AttributeMask &AttrsToRemove) const { 658 return removeAttributesAtIndex(C, ReturnIndex, AttrsToRemove); 680 const AttributeMask &AttrsToRemove) const { 681 return removeAttributesAtIndex(C, ArgNo + FirstArgIndex, AttrsToRemove);
|
| H A D | InstrTypes.h | 1548 void removeFnAttrs(const AttributeMask &AttrsToRemove) { 1549 Attrs = Attrs.removeFnAttributes(getContext(), AttrsToRemove); 1563 void removeRetAttrs(const AttributeMask &AttrsToRemove) { 1564 Attrs = Attrs.removeRetAttributes(getContext(), AttrsToRemove); 1580 void removeParamAttrs(unsigned ArgNo, const AttributeMask &AttrsToRemove) { 1581 Attrs = Attrs.removeParamAttributes(getContext(), ArgNo, AttrsToRemove);
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 325 AttributeMask AttrsToRemove; in addMemoryAttrs() local 326 AttrsToRemove.addAttribute(Attribute::ReadOnly); in addMemoryAttrs() 327 AttrsToRemove.addAttribute(Attribute::ReadNone); in addMemoryAttrs() 328 AttrsToRemove.addAttribute(Attribute::WriteOnly); in addMemoryAttrs() 332 AttrsToRemove.addAttribute(Attribute::ArgMemOnly); in addMemoryAttrs() 333 AttrsToRemove.addAttribute(Attribute::InaccessibleMemOnly); in addMemoryAttrs() 334 AttrsToRemove.addAttribute(Attribute::InaccessibleMemOrArgMemOnly); in addMemoryAttrs() 336 F->removeFnAttrs(AttrsToRemove); in addMemoryAttrs()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Attributes.cpp | 1322 LLVMContext &C, unsigned Index, const AttributeMask &AttrsToRemove) const { in removeAttributesAtIndex() 1324 AttributeSet NewAttrs = Attrs.removeAttributes(C, AttrsToRemove); in removeAttributesAtIndex()
|