reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
106 template <typename T> friend bool any_isa(const Any &Value);
143 assert(Value && any_isa<T>(*Value) && "Bad any cast!"); 144 if (!Value || !any_isa<U>(*Value)) 151 assert(Value && any_isa<U>(*Value) && "Bad any cast!"); 152 if (!Value || !any_isa<U>(*Value))lib/Passes/StandardInstrumentations.cpp
35 if (any_isa<const Module *>(IR)) 38 if (any_isa<const Function *>(IR)) { 46 if (any_isa<const LazyCallGraph::SCC *>(IR)) { 58 if (any_isa<const Loop *>(IR)) { 113 if (any_isa<const Module *>(IR)) { 120 if (any_isa<const Function *>(IR)) { 127 if (any_isa<const LazyCallGraph::SCC *>(IR)) { 135 if (any_isa<const Loop *>(IR)) {tools/lldb/include/lldb/Core/RichManglingContext.h
100 assert(llvm::any_isa<ParserT *>(parser));
unittests/ADT/AnyTest.cpp27 EXPECT_FALSE(any_isa<int>(A)); 31 EXPECT_TRUE(any_isa<int>(B)); 32 EXPECT_FALSE(any_isa<float>(B)); 35 EXPECT_TRUE(any_isa<int>(C)); 39 EXPECT_TRUE(any_isa<const char *>(D)); 40 EXPECT_FALSE(any_isa<int>(D)); 44 EXPECT_TRUE(any_isa<double>(E)); 45 EXPECT_FALSE(any_isa<float>(E)); 52 EXPECT_TRUE(any_isa<int>(F)); 53 EXPECT_TRUE(any_isa<int>(B)); 60 EXPECT_TRUE(any_isa<int>(G)); 61 EXPECT_FALSE(any_isa<int>(C)); 67 EXPECT_TRUE(any_isa<int>(A)); 68 EXPECT_TRUE(any_isa<int>(F)); 74 EXPECT_TRUE(any_isa<int>(B)); 75 EXPECT_FALSE(any_isa<int>(G));unittests/IR/PassBuilderCallbacksTest.cpp
279 if (any_isa<const Module *>(WrappedIR)) 281 if (any_isa<const Function *>(WrappedIR)) 283 if (any_isa<const Loop *>(WrappedIR)) 285 if (any_isa<const LazyCallGraph::SCC *>(WrappedIR))