Lines Matching refs:APSInt
392 llvm::APSInt TempVal; in ActOnCaseStmt()
525 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()()
526 const llvm::APSInt &RHS) { in operator ()()
529 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS, in operator ()()
530 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()()
533 bool operator()(const llvm::APSInt &LHS, in operator ()()
534 const std::pair<llvm::APSInt, CaseStmt*> &RHS) { in operator ()()
542 static bool CmpCaseVals(const std::pair<llvm::APSInt, CaseStmt*>& lhs, in CmpCaseVals() argument
543 const std::pair<llvm::APSInt, CaseStmt*>& rhs) { in CmpCaseVals()
556 static bool CmpEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs, in CmpEnumVals() argument
557 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs) in CmpEnumVals()
564 static bool EqEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs, in EqEnumVals() argument
565 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs) in EqEnumVals()
669 static void AdjustAPSInt(llvm::APSInt &Val, unsigned BitWidth, bool IsSigned) { in AdjustAPSInt()
676 static void checkCaseValue(Sema &S, SourceLocation Loc, const llvm::APSInt &Val, in checkCaseValue()
682 llvm::APSInt ConvVal(Val); in checkCaseValue()
694 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl*>, 64> EnumValsTy;
703 const llvm::APSInt &Val) { in ShouldDiagnoseSwitchCaseNotInEnum()
791 typedef SmallVector<std::pair<llvm::APSInt, CaseStmt*>, 64> CaseValsTy; in ActOnFinishSwitchStmt()
795 typedef std::vector<std::pair<llvm::APSInt, CaseStmt*> > CaseRangesTy; in ActOnFinishSwitchStmt()
828 llvm::APSInt LoVal; in ActOnFinishSwitchStmt()
877 llvm::APSInt ConstantCondValue; in ActOnFinishSwitchStmt()
940 std::vector<llvm::APSInt> HiVals; in ActOnFinishSwitchStmt()
942 llvm::APSInt &LoVal = CaseRanges[i].first; in ActOnFinishSwitchStmt()
945 llvm::APSInt HiVal; in ActOnFinishSwitchStmt()
999 llvm::APSInt &CRLo = CaseRanges[i].first; in ActOnFinishSwitchStmt()
1000 llvm::APSInt &CRHi = HiVals[i]; in ActOnFinishSwitchStmt()
1006 llvm::APSInt OverlapVal(32); in ActOnFinishSwitchStmt()
1069 llvm::APSInt Val = EDI->getInitVal(); in ActOnFinishSwitchStmt()
1097 llvm::APSInt Hi = in ActOnFinishSwitchStmt()
1125 llvm::APSInt Hi = in ActOnFinishSwitchStmt()
1185 llvm::APSInt RhsVal = SrcExpr->EvaluateKnownConstInt(Context); in DiagnoseAssignmentEnum()
1194 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl *>, 64> in DiagnoseAssignmentEnum()
1201 llvm::APSInt Val = EDI->getInitVal(); in DiagnoseAssignmentEnum()