static void Profile(llvm::FoldingSetNodeID &ID,
                     keyword_iterator ArgTys, unsigned NumArgs) {
   ID.AddInteger(NumArgs);
   for (unsigned i = 0; i != NumArgs; ++i)
     ID.AddPointer(ArgTys[i]);
 }
Beispiel #2
0
void FindLastStoreBRVisitor ::Profile(llvm::FoldingSetNodeID &ID) const {
  static int tag = 0;
  ID.AddPointer(&tag);
  ID.AddPointer(R);
  ID.Add(V);
}
Beispiel #3
0
void SubstTemplateTemplateParmStorage::Profile(llvm::FoldingSetNodeID &ID, 
                                           TemplateTemplateParmDecl *parameter,
                                               TemplateName replacement) {
  ID.AddPointer(parameter);
  ID.AddPointer(replacement.getAsVoidPointer());
}