Home
last modified time | relevance | path

Searched refs:IntegerLiteral (Results 1 – 25 of 45) sorted by relevance

12

/trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDIdenticalExprChecker.cpp185 const IntegerLiteral *IntLit1 = dyn_cast<IntegerLiteral>(Expr1); in isIdenticalExpr()
186 const IntegerLiteral *IntLit2 = dyn_cast<IntegerLiteral>(Expr2); in isIdenticalExpr()
HDCStringSyntaxChecker.cpp68 if (const IntegerLiteral *IL = dyn_cast<IntegerLiteral>(E)) in isOne()
/trueos/contrib/llvm/tools/clang/lib/Analysis/
HDBodyFarm.cpp201 IntegerLiteral *IL = in create_dispatch_once()
202 IntegerLiteral::Create(C, llvm::APInt(C.getTypeSize(C.IntTy), (uint64_t) 1), in create_dispatch_once()
HDThreadSafety.cpp456 isa<IntegerLiteral>(Exp) || in buildSExpr()
1588 else if (IntegerLiteral *ILE = dyn_cast_or_null<IntegerLiteral>(BrE)) { in getMutexIDs()
1612 } else if (IntegerLiteral *ILE = dyn_cast<IntegerLiteral>(E)) { in getStaticBooleanValue()
/trueos/contrib/llvm/tools/lldb/include/lldb/Core/
HDClangForward.h75 class IntegerLiteral; variable
/trueos/contrib/llvm/tools/clang/lib/Edit/
HDRewriteObjCFoundationAPI.cpp775 if (!isa<IntegerLiteral>(literalE) && !isa<FloatingLiteral>(literalE)) in rewriteToNumberLiteral()
853 if (const IntegerLiteral *IntE = dyn_cast<IntegerLiteral>(literalE)) in rewriteToNumberLiteral()
1095 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in rewriteToNumericBoxedExpression()
1134 if (isa<ParenExpr>(OrigArg) || isa<IntegerLiteral>(OrigArg)) in doRewriteToUTF8StringBoxedExpressionHelper()
/trueos/contrib/llvm/tools/clang/lib/Sema/
HDAttributeList.cpp109 ArgsUnion IArg = IntegerLiteral::Create(C, llvm::APInt(32, (uint64_t) Arg), in createIntegerAttribute()
HDSemaChecking.cpp3188 if (const IntegerLiteral *IL = dyn_cast<IntegerLiteral>(E)) { in checkFormatExpr()
3797 if (isa<IntegerLiteral>(RHS)) in ignoreLiteralAdditions()
3799 else if (isa<IntegerLiteral>(LHS)) in ignoreLiteralAdditions()
4634 if (IntegerLiteral *I in GetExprRange()
4635 = dyn_cast<IntegerLiteral>(BO->getLHS()->IgnoreParenCasts())) { in GetExprRange()
6318 const Expr *SizeExpr = dyn_cast<IntegerLiteral>(CTL.getSizeExpr()); in IsTailPaddedMemberArray()
7206 const IntegerLiteral *IL = cast<IntegerLiteral>(TypeExpr); in FindTypeTagExpr()
HDTreeTransform.h6453 TreeTransform<Derived>::TransformIntegerLiteral(IntegerLiteral *E) { in TransformIntegerLiteral()
7659 = SemaRef.Owned(IntegerLiteral::Create(SemaRef.Context, in TransformCXXNewExpr()
9480 IntegerLiteral *ArraySize in RebuildArrayType()
9481 = IntegerLiteral::Create(SemaRef.Context, *Size, SizeType, in RebuildArrayType()
9547 IntegerLiteral *VectorSize in RebuildExtVectorType()
9548 = IntegerLiteral::Create(SemaRef.Context, numElements, SemaRef.Context.IntTy, in RebuildExtVectorType()
/trueos/contrib/llvm/tools/clang/lib/AST/
HDExpr.cpp691 IntegerLiteral::IntegerLiteral(const ASTContext &C, const llvm::APInt &V, in IntegerLiteral() function in IntegerLiteral
702 IntegerLiteral *
703 IntegerLiteral::Create(const ASTContext &C, const llvm::APInt &V, in Create()
705 return new (C) IntegerLiteral(C, V, type, l); in Create()
708 IntegerLiteral *
709 IntegerLiteral::Create(const ASTContext &C, EmptyShell Empty) { in Create()
710 return new (C) IntegerLiteral(Empty); in Create()
2032 if (IntegerLiteral *IE = in isUnusedResultAWarning()
2033 dyn_cast<IntegerLiteral>(BO->getRHS()->IgnoreParens())) in isUnusedResultAWarning()
3145 const IntegerLiteral *Lit = dyn_cast<IntegerLiteral>(this); in isNullPointerConstant()
[all …]
HDStmtPrinter.cpp810 void StmtPrinter::VisitIntegerLiteral(IntegerLiteral *Node) { in VisitIntegerLiteral()
1372 IntegerLiteral *Int = cast<IntegerLiteral>(Node->getCookedLiteral()); in VisitUserDefinedLiteral()
HDASTDiagnostic.cpp1500 if (isa<IntegerLiteral>(E)) return false; in HasExtraInfo()
1504 if (isa<IntegerLiteral>(UO->getSubExpr())) in HasExtraInfo()
HDASTDumper.cpp276 void VisitIntegerLiteral(const IntegerLiteral *Node);
1687 void ASTDumper::VisitIntegerLiteral(const IntegerLiteral *Node) { in VisitIntegerLiteral()
HDStmtProfile.cpp319 void StmtProfiler::VisitIntegerLiteral(const IntegerLiteral *S) { in VisitIntegerLiteral()
HDItaniumMangle.cpp3056 llvm::APSInt Value(cast<IntegerLiteral>(E)->getValue()); in mangleExpression()
3077 llvm::APSInt Value(cast<IntegerLiteral>(IE->getSubExpr())->getValue()); in mangleExpression()
/trueos/contrib/llvm/tools/clang/include/clang/Basic/
HDStmtNodes.td55 def IntegerLiteral : DStmt<Expr>;
/trueos/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDSValBuilder.h232 nonloc::ConcreteInt makeIntVal(const IntegerLiteral* integer) { in makeIntVal()
/trueos/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDSValBuilder.cpp263 return makeIntVal(cast<IntegerLiteral>(E)); in getConstantVal()
HDBugReporterVisitors.cpp1305 if (const IntegerLiteral *IL = dyn_cast<IntegerLiteral>(Ex)) { in patternMatch()
/trueos/contrib/llvm/tools/clang/include/clang/AST/
HDExpr.h1245 class IntegerLiteral : public Expr, public APIntStorage {
1249 explicit IntegerLiteral(EmptyShell Empty) in IntegerLiteral() function
1255 IntegerLiteral(const ASTContext &C, const llvm::APInt &V, QualType type,
1262 static IntegerLiteral *Create(const ASTContext &C, const llvm::APInt &V,
1265 static IntegerLiteral *Create(const ASTContext &C, EmptyShell Empty);
/trueos/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExprAgg.cpp991 if (const IntegerLiteral *IL = dyn_cast<IntegerLiteral>(E)) in isSimpleZero()
/trueos/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
HDRewriteModernObjC.cpp884 Expr *Zero = IntegerLiteral::Create(*Context, in getIvarAccessString()
2666 Expr *FlagExp = IntegerLiteral::Create(*Context, in RewriteObjCBoolLiteralExpr()
2800 Expr *count = IntegerLiteral::Create(*Context, in RewriteObjCArrayLiteralExpr()
2866 Expr *cnt = IntegerLiteral::Create(*Context, in RewriteObjCArrayLiteralExpr()
2939 Expr *count = IntegerLiteral::Create(*Context, in RewriteObjCDictionaryLiteralExpr()
3032 Expr *cnt = IntegerLiteral::Create(*Context, in RewriteObjCDictionaryLiteralExpr()
5608 Expr *FlagExp = IntegerLiteral::Create(*Context, llvm::APInt(IntSize, flag), in SynthBlockInitExpr()
7817 Expr *Zero = IntegerLiteral::Create(*Context, in RewriteObjCIvarRefExpr()
/trueos/contrib/llvm/tools/clang/include/clang/ASTMatchers/
HDASTMatchers.h1088 IntegerLiteral> integerLiteral;
HDASTMatchersInternal.h1420 llvm::is_base_of<IntegerLiteral, T>::value),
/trueos/contrib/llvm/tools/clang/lib/Serialization/
HDASTReaderStmt.cpp458 void ASTStmtReader::VisitIntegerLiteral(IntegerLiteral *E) { in VisitIntegerLiteral()
1957 S = IntegerLiteral::Create(Context, Empty); in ReadStmtFromStream()

12