Home
last modified time | relevance | path

Searched refs:WrappedIR (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/IR/
H A DPassBuilderCallbacksTest.cpp293 template <> std::string getName(const llvm::Any &WrappedIR) { in getName() argument
294 if (any_isa<const Module *>(WrappedIR)) in getName()
295 return any_cast<const Module *>(WrappedIR)->getName().str(); in getName()
296 if (any_isa<const Function *>(WrappedIR)) in getName()
297 return any_cast<const Function *>(WrappedIR)->getName().str(); in getName()
298 if (any_isa<const Loop *>(WrappedIR)) in getName()
299 return any_cast<const Loop *>(WrappedIR)->getName().str(); in getName()
300 if (any_isa<const LoopNest *>(WrappedIR)) in getName()
301 return any_cast<const LoopNest *>(WrappedIR)->getName().str(); in getName()
302 if (any_isa<const LazyCallGraph::SCC *>(WrappedIR)) in getName()
[all …]