Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp691 Attribute::AttrKind ReadAttr = Attribute::ReadNone; in AddArgumentAttrs() local
698 ReadAttr = Attribute::ReadOnly; in AddArgumentAttrs()
701 ReadAttr = K; in AddArgumentAttrs()
705 if (ReadAttr != Attribute::None) { in AddArgumentAttrs()
707 B.addAttribute(ReadAttr); in AddArgumentAttrs()
711 ReadAttr == Attribute::ReadOnly ? ++NumReadOnlyArg : ++NumReadNoneArg; in AddArgumentAttrs()