Skip to content

Instantly share code, notes, and snippets.

@edwintorok
Created April 13, 2011 20:36
Show Gist options
  • Save edwintorok/918350 to your computer and use it in GitHub Desktop.
Save edwintorok/918350 to your computer and use it in GitHub Desktop.
Events: 85K cycles
4.18% clang [.] llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) ↑
3.36% clang [.] clang::Lexer::LexTokenInternal(clang::Token&) ▮
1.91% clang [.] clang::SourceManager::getFileIDSlow(unsigned int) const ▒
1.83% clang [.] clang::Lexer::LexIdentifier(clang::Token&, char const*) ▒
1.67% clang [.] clang::TokenLexer::Lex(clang::Token&) ▒
1.44% clang [.] llvm::SmallPtrSetImpl::insert_imp(void const*) ▒
1.28% clang [.] clang::QualType::getTypePtr() const ▒
1.23% clang [.] llvm::Type::isSizedDerivedType() const ▒
0.99% clang [.] llvm::SmallPtrSetImpl::FindBucketFor(void const*) const ▒
0.93% clang [.] llvm::MachineInstr::addRegisterDead(unsigned int, llvm::TargetRegisterInfo const*, bool) ▒
0.87% clang [.] clang::Sema::GetTypeForDeclarator(clang::Declarator&, clang::Scope*, clang::TagDecl**, bool) ▒
0.77% clang [.] std::vector<clang::SrcMgr::SLocEntry, std::allocator<clang::SrcMgr::SLocEntry> >::_M_insert_aux(__gnu_cxx::__normal_iterator<clang::Sr▒
0.77% clang [.] llvm::BumpPtrAllocator::Allocate(unsigned long, unsigned long) ▒
0.75% clang [.] clang::TokenLexer::ExpandFunctionArguments() ▒
0.68% clang [.] ComputeLineNumbers(clang::Diagnostic&, clang::SrcMgr::ContentCache*, llvm::BumpPtrAllocator&, clang::SourceManager const&, bool&) ▒
0.63% clang [.] llvm::FoldingSetNodeIDRef::ComputeHash() const ▒
0.63% clang [.] clang::Parser::ParseFunctionDeclarator(clang::SourceLocation, clang::Declarator&, clang::ParsedAttributes&, bool) ▒
0.57% clang [.] clang::SourceManager::createInstantiationLoc(clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, unsigned int, unsign▒
0.57% clang [.] AbstractTypeHasCycleThrough(llvm::Type const*, llvm::Type const*, llvm::SmallPtrSet<llvm::Type const*, 128u>&) ▒
0.56% clang [.] clang::Preprocessor::LookUpIdentifierInfo(clang::Token&) const ▒
0.55% clang [.] clang::Preprocessor::HandleDefineDirective(clang::Token&) ▒
0.53% clang [.] llvm::FoldingSetNodeIDRef::operator==(llvm::FoldingSetNodeIDRef) const ▒
0.52% clang [.] clang::Lexer::getSourceLocation(char const*, unsigned int) const ▒
0.49% clang [.] clang::Parser::ParseCastExpression(bool, bool, bool&, clang::OpaquePtr<clang:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment