Lines Matching refs:vals

139   SmallVector<ValueVector, 8> vals;  member in __anon2e1962360211::CFGBlockValues
151 return vals[block->getBlockID()]; in getValueVector()
175 CFGBlockValues::CFGBlockValues(const CFG &c) : cfg(c), vals(0) {} in CFGBlockValues()
184 vals.resize(n); in computeSetOfDeclarations()
185 for (auto &val : vals) in computeSetOfDeclarations()
481 CFGBlockValues &vals; member in __anon2e1962360511::TransferFunctions
490 TransferFunctions(CFGBlockValues &vals, const CFG &cfg, in TransferFunctions() argument
494 : vals(vals), cfg(cfg), block(block), ac(ac), in TransferFunctions()
592 Value AtPredExit = vals.getValue(Pred, B, vd); in getUninitUse()
597 vals.getValue(B, nullptr, vd) == Uninitialized) { in getUninitUse()
639 vals.getValue(Block, Succ, vd) == Uninitialized) { in getUninitUse()
671 Value v = vals[vd]; in reportUse()
677 Value v = vals[vd]; in reportConstRefUse()
687 vals[VD] = Initialized; in VisitObjCForCollectionStmt()
708 vals[vd] = Initialized; in VisitBlockExpr()
723 vals.setAllScratchValues(Initialized); in VisitCallExpr()
733 vals.setAllScratchValues(Unknown); in VisitCallExpr()
746 vals[cast<VarDecl>(dr->getDecl())] = Initialized; in VisitDeclRefExpr()
761 vals[VD] = Initialized; in VisitBinaryOperator()
780 vals[VD] = Uninitialized; in VisitDeclStmt()
783 vals[VD] = Initialized; in VisitDeclStmt()
795 vals[VD] = Uninitialized; in VisitDeclStmt()
819 if (vals[VD] != Initialized) in VisitGCCAsmStmt()
820 vals[VD] = MayUninitialized; in VisitGCCAsmStmt()
828 vals.setAllScratchValues(Unknown); in VisitObjCMessageExpr()
837 AnalysisDeclContext &ac, CFGBlockValues &vals, in runOnBlock() argument
842 vals.resetScratch(); in runOnBlock()
851 vals.mergeIntoScratch(vals.getValueVector(pred), isFirst); in runOnBlock()
856 TransferFunctions tf(vals, cfg, block, ac, classification, handler); in runOnBlock()
865 return vals.updateValueVectorWithScratch(block); in runOnBlock()
917 CFGBlockValues vals(cfg); in runUninitializedVariablesAnalysis() local
918 vals.computeSetOfDeclarations(dc); in runUninitializedVariablesAnalysis()
919 if (vals.hasNoDeclarations()) in runUninitializedVariablesAnalysis()
922 stats.NumVariablesAnalyzed = vals.getNumEntries(); in runUninitializedVariablesAnalysis()
930 ValueVector &vec = vals.getValueVector(&entry); in runUninitializedVariablesAnalysis()
931 const unsigned n = vals.getNumEntries(); in runUninitializedVariablesAnalysis()
948 bool changed = runOnBlock(block, cfg, ac, vals, in runUninitializedVariablesAnalysis()
962 runOnBlock(block, cfg, ac, vals, classification, wasAnalyzed, handler); in runUninitializedVariablesAnalysis()