Searched defs:AttributeCounter (Results 1 – 1 of 1) sorted by relevance
107 struct AttributeCounter : public InstVisitor<AttributeCounter> { struct109 int AttributeCount = 0;111 void visitModule(Module &M) { in visitModule()116 void visitGlobalVariable(GlobalVariable &GV) { in visitGlobalVariable()121 void visitFunction(Function &F) { in visitFunction()127 void visitCallBase(CallBase &I) { visitAttributeList(I.getAttributes()); } in visitCallBase()129 void visitAttributeList(const AttributeList &AL) { in visitAttributeList()134 void visitAttributeSet(const AttributeSet &AS) { in visitAttributeSet()