예제 #1
0
 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]);
 }
예제 #2
0
void FindLastStoreBRVisitor ::Profile(llvm::FoldingSetNodeID &ID) const {
  static int tag = 0;
  ID.AddPointer(&tag);
  ID.AddPointer(R);
  ID.Add(V);
}
예제 #3
0
void SubstTemplateTemplateParmStorage::Profile(llvm::FoldingSetNodeID &ID, 
                                           TemplateTemplateParmDecl *parameter,
                                               TemplateName replacement) {
  ID.AddPointer(parameter);
  ID.AddPointer(replacement.getAsVoidPointer());
}