| /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() 171 const StringRef IntegerLiteral, int DigitsPerGroup) const { in checkSeparator() argument 175 for (auto C : llvm::reverse(IntegerLiteral)) { in checkSeparator() 190 std::string IntegerLiteralSeparatorFixer::format(const StringRef IntegerLiteral, in format() argument 199 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 | 209 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(B->getRHS()); in checkBranchCondition() 212 IntLiteral = dyn_cast<IntegerLiteral>(B->getLHS()); in checkBranchCondition()
|
| H A D | UnreachableCodeChecker.cpp | 152 if (const auto *I = dyn_cast<IntegerLiteral>(S)) in checkEndAnalysis()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 659 if (Token.is(MIToken::IntegerLiteral)) { in parseSectionID() 686 if (Token.is(MIToken::IntegerLiteral)) { in parseBBID() 875 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockLiveins() 907 if (Token.isNot(MIToken::IntegerLiteral) && in parseBasicBlockSuccessors() 1112 if (Token.isNot(MIToken::IntegerLiteral)) in parse() 1126 if (Token.isNot(MIToken::IntegerLiteral)) in parse() 1292 if (Token.isNot(MIToken::IntegerLiteral) || Token.integerValue().isSigned()) in parseMachineMetadata() 1380 if (Token.isNot(MIToken::IntegerLiteral) || Token.integerValue().isSigned()) in parseMetadata() 1698 if (Token.isNot(MIToken::IntegerLiteral)) in parseRegisterTiedDefIndex() 1841 assert(Token.is(MIToken::IntegerLiteral)); in parseImmediateOperand() [all …]
|
| H A D | MILexer.h | 172 IntegerLiteral, enumerator 245 return Kind == IntegerLiteral || Kind == MachineBasicBlock || in hasIntegerValue()
|
| /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 | 36 IntegerLiteral *IntegerLiteralExpr(ASTContext &C, uint64_t Val);
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | ModuleMapFile.cpp | 53 IntegerLiteral, enumerator 85 return Kind == IntegerLiteral ? IntegerValue : 0; in getInteger() 89 return Kind == IntegerLiteral ? StringRef() in getString() 217 case MMToken::IntegerLiteral: in parseTopLevelDecls() 737 if (!Tok.is(MMToken::IntegerLiteral)) { in parseHeaderDecl() 751 if (!Tok.is(MMToken::IntegerLiteral)) { in parseHeaderDecl() 944 Tok.Kind = MMToken::IntegerLiteral; in consumeToken()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/ |
| H A D | MicrosoftDemangleNodes.h | 267 IntegerLiteral, enumerator 657 IntegerLiteralNode() : Node(NodeKind::IntegerLiteral) {} in IntegerLiteralNode() 659 : Node(NodeKind::IntegerLiteral), Value(Value), IsNegative(IsNegative) {} in IntegerLiteralNode() 664 return N->kind() == NodeKind::IntegerLiteral; in classof()
|
| H A D | ItaniumNodes.def | 92 NODE(IntegerLiteral)
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseHLSL.cpp | 276 ArgExprs.push_back(IntegerLiteral::Create( in ParseHLSLAnnotations() 278 ArgExprs.push_back(IntegerLiteral::Create( in ParseHLSLAnnotations()
|
| H A D | ParseInit.cpp | 391 Res = IntegerLiteral::Create( in createEmbedExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopUnrolling.cpp | 282 Matches[0].getNodeAs<IntegerLiteral>("boundNum")->getValue(); in shouldCompletelyUnroll() 284 Matches[0].getNodeAs<IntegerLiteral>("initNum")->getValue(); in shouldCompletelyUnroll()
|
| /freebsd/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 770 if (!isa<IntegerLiteral>(literalE) && !isa<FloatingLiteral>(literalE)) in rewriteToNumberLiteral() 852 if (const IntegerLiteral *IntE = dyn_cast<IntegerLiteral>(literalE)) in rewriteToNumberLiteral() 1116 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in rewriteToNumericBoxedExpression() 1155 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in doRewriteToUTF8StringBoxedExpressionHelper()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | HLSLExternalSemaSource.cpp | 198 IntegerLiteral *rhs = IntegerLiteral::Create( in constructStructuredBufferConstraintExpr()
|
| H A D | SemaHLSL.cpp | 3656 IntegerLiteral *RangeSize = IntegerLiteral::Create( in initGlobalResourceDecl() 3658 IntegerLiteral *Index = IntegerLiteral::Create( in initGlobalResourceDecl() 3660 IntegerLiteral *Space = in initGlobalResourceDecl() 3661 IntegerLiteral::Create(AST, llvm::APInt(UIntTySize, SpaceNo), in initGlobalResourceDecl() 3671 IntegerLiteral *RegSlot = IntegerLiteral::Create( in initGlobalResourceDecl() 3679 IntegerLiteral *OrderId = IntegerLiteral::Create( in initGlobalResourceDecl() 3839 auto *Idx = IntegerLiteral::Create(Ctx, llvm::APInt(SizeTySize, I), in buildInitializerListImpl() 3857 auto *Idx = IntegerLiteral::Create(Ctx, llvm::APInt(SizeTySize, I), in buildInitializerListImpl() 4054 Expr *IdExpr = IntegerLiteral::Create(Context, IDVal, Context.IntTy, in handleInitialization()
|
| /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()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Expr.cpp | 963 IntegerLiteral::IntegerLiteral(const ASTContext &C, const llvm::APInt &V, in IntegerLiteral() function in IntegerLiteral 973 IntegerLiteral * 974 IntegerLiteral::Create(const ASTContext &C, const llvm::APInt &V, in Create() 976 return new (C) IntegerLiteral(C, V, type, l); in Create() 979 IntegerLiteral * 980 IntegerLiteral::Create(const ASTContext &C, EmptyShell Empty) { in Create() 981 return new (C) IntegerLiteral(Empty); in Create() 2400 FakeChildNode = IntegerLiteral::Create( in EmbedExpr() 2490 const IntegerLiteral *Lit = dyn_cast<IntegerLiteral>(getInit(0)->IgnoreImplicit()); in isIdiomaticZeroInitializer() 2690 if (IntegerLiteral *IE = in isUnusedResultAWarning() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtDataCollectors.td | 79 class IntegerLiteral {
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | ForwardDeclChecker.cpp | 275 if (isa<CXXNullPtrLiteralExpr>(ArgExpr) || isa<IntegerLiteral>(ArgExpr) || in visitCallArg()
|
| H A D | RawPtrRefLocalVarsChecker.cpp | 301 if (isa<IntegerLiteral>(InitArgOrigin)) in visitVarDecl()
|
| H A D | RawPtrRefCallArgsChecker.cpp | 224 if (isa<IntegerLiteral>(ArgOrigin)) { in isPtrOriginSafe()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SValBuilder.h | 277 nonloc::ConcreteInt makeIntVal(const IntegerLiteral* integer) { in makeIntVal()
|