Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DOptBisect.h26 class OptPassGate {
28 virtual ~OptPassGate() = default;
44 class OptBisect : public OptPassGate {
H A DLLVMContext.h34 class OptPassGate; variable
305 OptPassGate &getOptPassGate() const;
312 void setOptPassGate(OptPassGate&);
/llvm-project-15.0.7/llvm/lib/IR/
H A DPass.cpp64 OptPassGate &Gate = M.getContext().getOptPassGate(); in skipModule()
174 OptPassGate &Gate = F.getContext().getOptPassGate(); in skipFunction()
H A DLLVMContextImpl.cpp241 OptPassGate &LLVMContextImpl::getOptPassGate() const { in getOptPassGate()
247 void LLVMContextImpl::setOptPassGate(OptPassGate& OPG) { in setOptPassGate()
H A DLLVMContext.cpp350 OptPassGate &LLVMContext::getOptPassGate() const { in getOptPassGate()
354 void LLVMContext::setOptPassGate(OptPassGate& OPG) { in setOptPassGate()
H A DLLVMContextImpl.h67 class OptPassGate; variable
1555 mutable OptPassGate *OPG = nullptr;
1559 OptPassGate &getOptPassGate() const;
1566 void setOptPassGate(OptPassGate &);
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DRegionPass.cpp285 OptPassGate &Gate = F.getContext().getOptPassGate(); in skipRegion()
H A DLoopPass.cpp375 OptPassGate &Gate = F->getContext().getOptPassGate(); in skipLoop()
H A DCallGraphSCCPass.cpp752 OptPassGate &Gate = in skipSCC()
/llvm-project-15.0.7/llvm/unittests/IR/
H A DLegacyPassManagerTest.cpp359 struct CustomOptPassGate : public OptPassGate {
365 return OptPassGate::shouldRunPass(P, IRDescription); in shouldRunPass()