• Home
  • Raw
  • Download

Lines Matching refs:PropagationInfo

290 class PropagationInfo {  class
316 PropagationInfo() : InfoType(IT_None) {} in PropagationInfo() function in clang::consumed::PropagationInfo
318 PropagationInfo(const VarTestResult &VarTest) in PropagationInfo() function in clang::consumed::PropagationInfo
321 PropagationInfo(const VarDecl *Var, ConsumedState TestsFor) in PropagationInfo() function in clang::consumed::PropagationInfo
328 PropagationInfo(const BinaryOperator *Source, EffectiveOp EOp, in PropagationInfo() function in clang::consumed::PropagationInfo
338 PropagationInfo(const BinaryOperator *Source, EffectiveOp EOp, in PropagationInfo() function in clang::consumed::PropagationInfo
351 PropagationInfo(ConsumedState State) in PropagationInfo() function in clang::consumed::PropagationInfo
354 PropagationInfo(const VarDecl *Var) : InfoType(IT_Var), Var(Var) {} in PropagationInfo() function in clang::consumed::PropagationInfo
355 PropagationInfo(const CXXBindTemporaryExpr *Tmp) in PropagationInfo() function in clang::consumed::PropagationInfo
426 PropagationInfo invertTest() const { in invertTest()
430 return PropagationInfo(VarTest.Var, in invertTest()
434 return PropagationInfo(BinTest.Source, in invertTest()
439 return PropagationInfo(); in invertTest()
445 setStateForVarOrTmp(ConsumedStateMap *StateMap, const PropagationInfo &PInfo, in setStateForVarOrTmp()
458 typedef llvm::DenseMap<const Stmt *, PropagationInfo> MapType;
459 typedef std::pair<const Stmt *, PropagationInfo> PairType;
480 void insertInfo(const Expr *E, const PropagationInfo &PI) { in insertInfo()
491 void checkCallability(const PropagationInfo &PInfo,
517 PropagationInfo getInfo(const Expr *StmtNode) const { in getInfo()
523 return PropagationInfo(); in getInfo()
545 PropagationInfo& PInfo = Entry->second; in copyInfo()
548 insertInfo(To, PropagationInfo(CS)); in copyInfo()
559 PropagationInfo& PInfo = Entry->second; in getInfo()
570 PropagationInfo& PInfo = Entry->second; in setInfo()
574 insertInfo(To, PropagationInfo(NS)); in setInfo()
580 void ConsumedStmtVisitor::checkCallability(const PropagationInfo &PInfo, in checkCallability()
633 PropagationInfo PInfo = Entry->second; in handleCall()
666 PropagationInfo PInfo = Entry->second; in handleCall()
681 PropagationInfo(PInfo.getVar(), testsFor(FunD)))); in handleCall()
701 PropagationMap.insert(PairType(Call, PropagationInfo(ReturnState))); in propagateReturnType()
732 PropagationMap.insert(PairType(BinOp, PropagationInfo(BinOp, in VisitBinaryOperator()
776 PropagationMap.insert(PairType(Temp, PropagationInfo(Temp))); in VisitCXXBindTemporaryExpr()
793 PropagationMap.insert(PairType(Call, PropagationInfo(RetState))); in VisitCXXConstructExpr()
796 PropagationInfo(consumed::CS_Consumed))); in VisitCXXConstructExpr()
808 PropagationMap.insert(PairType(Call, PropagationInfo(RetState))); in VisitCXXConstructExpr()
849 PropagationMap.insert(PairType(DeclRef, PropagationInfo(Var))); in VisitDeclRefExpr()
859 PropagationMap.insert(PairType(DeclS, PropagationInfo(Var))); in VisitDeclStmt()
937 PropagationInfo PInfo = VIT->second; in VisitVarDecl()
972 static void splitVarStateForIfBinOp(const PropagationInfo &PInfo, in splitVarStateForIfBinOp()
1266 PropagationInfo PInfo; in splitState()
1394 Visitor.checkCallability(PropagationInfo(BTE), in run()
1406 Visitor.checkCallability(PropagationInfo(Var), in run()