Home
last modified time | relevance | path

Searched defs:AttributeCounter (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/llvm/tools/llvm-reduce/deltas/
DReduceAttributes.cpp107 struct AttributeCounter : public InstVisitor<AttributeCounter> { struct
109 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()