/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | IntegerLiteralSeparatorFixer.cpp | 22 static Base getBase(const StringRef IntegerLiteral) { in getBase() argument 23 assert(IntegerLiteral.size() > 1); in getBase() 25 if (IntegerLiteral[0] > '0') { in getBase() 26 assert(IntegerLiteral[0] <= '9'); in getBase() 30 assert(IntegerLiteral[0] == '0'); in getBase() 32 switch (IntegerLiteral[1]) { in getBase() 168 const StringRef IntegerLiteral, int DigitsPerGroup) const { in checkSeparator() argument 172 for (auto C : llvm::reverse(IntegerLiteral)) { in checkSeparator() 187 std::string IntegerLiteralSeparatorFixer::format(const StringRef IntegerLiteral, in format() argument 196 for (auto C : IntegerLiteral) in format() [all …]
|
H A D | IntegerLiteralSeparatorFixer.h | 29 bool checkSeparator(const StringRef IntegerLiteral, int DigitsPerGroup) const; 30 std::string format(const StringRef IntegerLiteral, int DigitsPerGroup,
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CStringSyntaxChecker.cpp | 67 if (const auto *IL = dyn_cast<IntegerLiteral>(E)) in isOne() 181 if (const auto *IL = dyn_cast<IntegerLiteral>(LenArg->IgnoreParenImpCasts())) { in containsBadStrlcpyStrlcatPattern() 192 if ((IL = dyn_cast<IntegerLiteral>(BE->getRHS()->IgnoreParenImpCasts()))) { in containsBadStrlcpyStrlcatPattern()
|
H A D | TestAfterDivZeroChecker.cpp | 212 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(B->getRHS()); in checkBranchCondition() 215 IntLiteral = dyn_cast<IntegerLiteral>(B->getLHS()); in checkBranchCondition()
|
H A D | IdenticalExprChecker.cpp | 467 const IntegerLiteral *IntLit1 = cast<IntegerLiteral>(Stmt1); in isIdenticalStmt() 468 const IntegerLiteral *IntLit2 = cast<IntegerLiteral>(Stmt2); in isIdenticalStmt()
|
H A D | UnreachableCodeChecker.cpp | 152 if (const auto *I = dyn_cast<IntegerLiteral>(S)) in checkEndAnalysis()
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | InterpreterUtils.cpp | 17 IntegerLiteral *IntegerLiteralExpr(ASTContext &C, uint64_t Val) { in IntegerLiteralExpr() 18 return IntegerLiteral::Create(C, llvm::APSInt::getUnsigned(Val), in IntegerLiteralExpr()
|
H A D | InterpreterUtils.h | 37 IntegerLiteral *IntegerLiteralExpr(ASTContext &C, uint64_t Val);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
H A D | MIParser.cpp | 651 if (Token.is(MIToken::IntegerLiteral)) { in parseSectionID() 678 if (Token.is(MIToken::IntegerLiteral)) { in parseBBID() 1684 if (Token.isNot(MIToken::IntegerLiteral)) in parseRegisterTiedDefIndex() 1826 assert(Token.is(MIToken::IntegerLiteral)); in parseImmediateOperand() 1848 if (Token.is(MIToken::IntegerLiteral)) { in parseTargetImmMnemonic() 1961 if (Token.isNot(MIToken::IntegerLiteral)) in parseLowLevelType() 2458 if (Token.isNot(MIToken::IntegerLiteral)) in parseCFIOffset() 2484 if (Token.isNot(MIToken::IntegerLiteral)) in parseCFIAddressSpace() 2907 case MIToken::IntegerLiteral: in parseMachineOperand() 3045 if (Token.isNot(MIToken::IntegerLiteral)) in parseOffset() [all …]
|
H A D | MILexer.h | 166 IntegerLiteral, enumerator 239 return Kind == IntegerLiteral || Kind == MachineBasicBlock || in hasIntegerValue()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/ |
H A D | MicrosoftDemangleNodes.h | 249 IntegerLiteral, enumerator 553 IntegerLiteralNode() : Node(NodeKind::IntegerLiteral) {} in IntegerLiteralNode() 555 : Node(NodeKind::IntegerLiteral), Value(Value), IsNegative(IsNegative) {} in IntegerLiteralNode()
|
H A D | ItaniumNodes.def | 92 NODE(IntegerLiteral)
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | LoopUnrolling.cpp | 265 Matches[0].getNodeAs<IntegerLiteral>("boundNum")->getValue(); in shouldCompletelyUnroll() 267 Matches[0].getNodeAs<IntegerLiteral>("initNum")->getValue(); in shouldCompletelyUnroll()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | UncountedCallArgsChecker.cpp | 106 if (isa<IntegerLiteral>(ArgOrigin.first)) { in visitCallExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Edit/ |
H A D | RewriteObjCFoundationAPI.cpp | 774 if (!isa<IntegerLiteral>(literalE) && !isa<FloatingLiteral>(literalE)) in rewriteToNumberLiteral() 856 if (const IntegerLiteral *IntE = dyn_cast<IntegerLiteral>(literalE)) in rewriteToNumberLiteral() 1113 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in rewriteToNumericBoxedExpression() 1152 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in doRewriteToUTF8StringBoxedExpressionHelper()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 104 IntegerLiteral *makeIntegerLiteral(uint64_t Value, QualType Ty); 220 IntegerLiteral *ASTMaker::makeIntegerLiteral(uint64_t Value, QualType Ty) { in makeIntegerLiteral() 222 return IntegerLiteral::Create(C, APValue, Ty, SourceLocation()); in makeIntegerLiteral()
|
H A D | CloneDetection.cpp | 215 SKIP(IntegerLiteral)
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 936 IntegerLiteral::IntegerLiteral(const ASTContext &C, const llvm::APInt &V, in IntegerLiteral() function in IntegerLiteral 946 IntegerLiteral * 949 return new (C) IntegerLiteral(C, V, type, l); in Create() 952 IntegerLiteral * 954 return new (C) IntegerLiteral(Empty); in Create() 2437 const IntegerLiteral *Lit = dyn_cast<IntegerLiteral>(getInit(0)->IgnoreImplicit()); in isIdiomaticZeroInitializer() 2637 if (IntegerLiteral *IE = in isUnusedResultAWarning() 3968 const IntegerLiteral *Lit = dyn_cast<IntegerLiteral>(this); in isNullPointerConstant() 3983 if (isa<IntegerLiteral>(this)) in isNullPointerConstant() 4170 const auto Integer1 = dyn_cast<IntegerLiteral>(Idx1); in isSameComparisonOperand() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | HLSLExternalSemaSource.cpp | 144 return IntegerLiteral::Create( in emitResourceClassExpr() 435 IntegerLiteral::Create(AST, llvm::APInt(AST.getIntWidth(AST.IntTy), 4), in defineHLSLVectorAlias()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtDataCollectors.td | 80 class IntegerLiteral {
|
H A D | TextNodeDumper.h | 268 void VisitIntegerLiteral(const IntegerLiteral *Node);
|
H A D | JSONNodeDumper.h | 321 void VisitIntegerLiteral(const IntegerLiteral *IL);
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | ModuleMap.cpp | 1467 IntegerLiteral, enumerator 1499 return Kind == IntegerLiteral ? IntegerValue : 0; in getInteger() 1503 return Kind == IntegerLiteral ? StringRef() in getString() 1717 Tok.Kind = MMToken::IntegerLiteral; in consumeToken() 2461 if (!Tok.is(MMToken::IntegerLiteral)) { in parseHeaderDecl() 2474 if (!Tok.is(MMToken::IntegerLiteral)) { in parseHeaderDecl() 3100 case MMToken::IntegerLiteral: in parseModuleMapFile()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SValBuilder.h | 286 nonloc::ConcreteInt makeIntVal(const IntegerLiteral* integer) { in makeIntVal()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | ByteCodeExprGen.h | 62 bool VisitIntegerLiteral(const IntegerLiteral *E);
|