Lines Matching defs:APSInt
526 llvm::APSInt TempVal;
1064 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS,
1065 const llvm::APSInt &RHS) {
1068 bool operator()(const std::pair<llvm::APSInt, CaseStmt*> &LHS,
1069 const std::pair<llvm::APSInt, CaseStmt*> &RHS) {
1072 bool operator()(const llvm::APSInt &LHS,
1073 const std::pair<llvm::APSInt, CaseStmt*> &RHS) {
1081 static bool CmpCaseVals(const std::pair<llvm::APSInt, CaseStmt*>& lhs,
1082 const std::pair<llvm::APSInt, CaseStmt*>& rhs) {
1094 static bool CmpEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs,
1095 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs)
1102 static bool EqEnumVals(const std::pair<llvm::APSInt, EnumConstantDecl*>& lhs,
1103 const std::pair<llvm::APSInt, EnumConstantDecl*>& rhs)
1216 static void AdjustAPSInt(llvm::APSInt &Val, unsigned BitWidth, bool IsSigned) {
1223 static void checkCaseValue(Sema &S, SourceLocation Loc, const llvm::APSInt &Val,
1233 llvm::APSInt ConvVal(Val);
1245 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl*>, 64> EnumValsTy;
1254 const llvm::APSInt &Val) {
1365 typedef SmallVector<std::pair<llvm::APSInt, CaseStmt*>, 64> CaseValsTy;
1368 // Keep track of any GNU case ranges we see. The APSInt is the low value.
1369 typedef std::vector<std::pair<llvm::APSInt, CaseStmt*> > CaseRangesTy;
1409 llvm::APSInt LoVal = LoBeforePromotion->EvaluateKnownConstInt(Context);
1438 llvm::APSInt ConstantCondValue;
1505 std::vector<llvm::APSInt> HiVals;
1507 llvm::APSInt &LoVal = CaseRanges[i].first;
1513 llvm::APSInt HiVal = HiBeforePromotion->EvaluateKnownConstInt(Context);
1545 llvm::APSInt &CRLo = CaseRanges[i].first;
1546 llvm::APSInt &CRHi = HiVals[i];
1552 llvm::APSInt OverlapVal(32);
1617 llvm::APSInt Val = EDI->getInitVal();
1645 llvm::APSInt Hi =
1690 llvm::APSInt Hi =
1750 llvm::APSInt RhsVal = SrcExpr->EvaluateKnownConstInt(Context);
1762 typedef SmallVector<std::pair<llvm::APSInt, EnumConstantDecl *>, 64>
1769 llvm::APSInt Val = EDI->getInitVal();