Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp285 AttrBuilder AttrsToRemove; in addReadAttrs() local
286 AttrsToRemove.addAttribute(Attribute::ReadOnly); in addReadAttrs()
287 AttrsToRemove.addAttribute(Attribute::ReadNone); in addReadAttrs()
288 AttrsToRemove.addAttribute(Attribute::WriteOnly); in addReadAttrs()
292 AttrsToRemove.addAttribute(Attribute::ArgMemOnly); in addReadAttrs()
293 AttrsToRemove.addAttribute(Attribute::InaccessibleMemOnly); in addReadAttrs()
294 AttrsToRemove.addAttribute(Attribute::InaccessibleMemOrArgMemOnly); in addReadAttrs()
296 F->removeAttributes(AttributeList::FunctionIndex, AttrsToRemove); in addReadAttrs()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DAttributes.h268 removeAttributes(LLVMContext &C, const AttrBuilder &AttrsToRemove) const;
453 LLVMContext &C, unsigned Index, const AttrBuilder &AttrsToRemove) const;
478 LLVMContext &C, unsigned ArgNo, const AttrBuilder &AttrsToRemove) const {
479 return removeAttributes(C, ArgNo + FirstArgIndex, AttrsToRemove);
/external/llvm-project/llvm/include/llvm/IR/
DAttributes.h293 removeAttributes(LLVMContext &C, const AttrBuilder &AttrsToRemove) const;
484 LLVMContext &C, unsigned Index, const AttrBuilder &AttrsToRemove) const;
509 LLVMContext &C, unsigned ArgNo, const AttrBuilder &AttrsToRemove) const {
510 return removeAttributes(C, ArgNo + FirstArgIndex, AttrsToRemove);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAttributes.cpp1232 const AttrBuilder &AttrsToRemove) const { in removeAttributes()
1241 AttrSets[Index] = AttrSets[Index].removeAttributes(C, AttrsToRemove); in removeAttributes()
/external/llvm-project/llvm/lib/IR/
DAttributes.cpp1368 const AttrBuilder &AttrsToRemove) const { in removeAttributes()
1377 AttrSets[Index] = AttrSets[Index].removeAttributes(C, AttrsToRemove); in removeAttributes()