Home
last modified time | relevance | path

Searched defs:CmpCaptureTracker (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp849 struct CmpCaptureTracker : public CaptureTracker { in foldAllocaCmp() struct
850 AllocaInst *Alloca; in foldAllocaCmp()
851 bool Captured = false; in foldAllocaCmp()
854 SmallMapVector<ICmpInst *, unsigned, 4> ICmps; in foldAllocaCmp()
856 CmpCaptureTracker(AllocaInst *Alloca) : Alloca(Alloca) {} in foldAllocaCmp() function
858 void tooManyUses() override { Captured = true; } in foldAllocaCmp()
860 bool captured(const Use *U) override { in foldAllocaCmp()