Home
last modified time | relevance | path

Searched refs:ArgE (Results 1 – 24 of 24) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DNonNullParamChecker.cpp40 genReportNullAttrNonNull(const ExplodedNode *ErrorN, const Expr *ArgE) const;
43 const Expr *ArgE) const;
95 const Expr *ArgE = Call.getArgExpr(idx); in checkPreCall() local
107 if (!ArgE) in checkPreCall()
110 QualType T = ArgE->getType(); in checkPreCall()
127 if (const CompoundLiteralExpr *CE = dyn_cast<CompoundLiteralExpr>(ArgE)) in checkPreCall()
130 ArgE = dyn_cast<Expr>(*(IE->begin())); in checkPreCall()
150 R = genReportNullAttrNonNull(errorNode, ArgE); in checkPreCall()
152 R = genReportReferenceToNullPointer(errorNode, ArgE); in checkPreCall()
185 const Expr *ArgE) const { in genReportNullAttrNonNull()
[all …]
DMallocChecker.cpp490 std::string getMessageForArg(const Expr *ArgE, in getMessageForArg() argument
2477 const Expr *ArgE = Call->getArgExpr(i)->IgnoreParenCasts(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() local
2478 if (const DeclRefExpr *DE = dyn_cast<DeclRefExpr>(ArgE)) { in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
2501 const Expr *ArgE = Call->getArgExpr(0)->IgnoreParenCasts(); in mayFreeAnyEscapedMemoryOrIsModeledExplicitly() local
2502 if (const DeclRefExpr *ArgDRE = dyn_cast<DeclRefExpr>(ArgE)) in mayFreeAnyEscapedMemoryOrIsModeledExplicitly()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp224 const Expr *ArgE = getArgExpr(Index); in getArgSVal() local
225 if (!ArgE) in getArgSVal()
227 return getSVal(ArgE); in getArgSVal()
231 const Expr *ArgE = getArgExpr(Index); in getArgSourceRange() local
232 if (!ArgE) in getArgSourceRange()
234 return ArgE->getSourceRange(); in getArgSourceRange()
DExprEngine.cpp946 const Expr *ArgE; in Visit() local
948 ArgE = DefE->getExpr(); in Visit()
950 ArgE = DefE->getExpr(); in Visit()
956 dyn_cast<MaterializeTemporaryExpr>(ArgE)) { in Visit()
957 ArgE = MTE->GetTemporaryExpr(); in Visit()
961 Optional<SVal> ConstantVal = svalBuilder.getConstantVal(ArgE); in Visit()
DBugReporterVisitors.cpp366 const Expr *ArgE = Call->getArgExpr(I); in visitNodeMaybeUnsuppress() local
367 if (!ArgE) in visitNodeMaybeUnsuppress()
374 if (bugreporter::trackNullOrUndefValue(N, ArgE, BR, /*IsArg=*/true, in visitNodeMaybeUnsuppress()
DPathDiagnostic.cpp1165 std::string StackHintGeneratorForSymbol::getMessageForArg(const Expr *ArgE, in getMessageForArg() argument
DBugReporter.cpp1282 if (const Expr *ArgE = *AI) { in reversePropagateInterestingSymbols() local
1286 IE.insert(ArgE); in reversePropagateInterestingSymbols()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp175 for (auto ArgI = F.arg_begin(), ArgE = F.arg_end(); ArgI != ArgE; in cloneFunctionDecl() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp276 for (auto ArgI = F.arg_begin(), ArgE = F.arg_end(); ArgI != ArgE; in cloneFunctionDecl() local
/external/swiftshader/third_party/subzero/src/
DIceConverter.cpp112 for (auto ArgI = F->arg_begin(), ArgE = F->arg_end(); ArgI != ArgE; in convertFunction() local
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h492 virtual std::string getMessageForArg(const Expr *ArgE, unsigned ArgIndex);
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp688 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs, AttrI = ArgIdx + 1; in lowerCallOperands() local
689 ArgI != ArgE; ++ArgI) { in lowerCallOperands()
DSelectionDAGBuilder.cpp7192 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs, AttrI = ArgIdx + 1; in populateCallLoweringInfo() local
7193 ArgI != ArgE; ++ArgI) { in populateCallLoweringInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp865 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs; ArgI != ArgE; ++ArgI) { in lowerCallOperands() local
DSelectionDAGBuilder.cpp7961 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs; in populateCallLoweringInfo() local
7962 ArgI != ArgE; ++ArgI) { in populateCallLoweringInfo()
/external/clang/lib/Sema/
DSemaExprObjC.cpp1647 ExprResult ArgE = PerformCopyInitialization(Entity, SourceLocation(), argExpr); in CheckMessageArgumentTypes() local
1648 if (ArgE.isInvalid()) in CheckMessageArgumentTypes()
1651 Args[i] = ArgE.getAs<Expr>(); in CheckMessageArgumentTypes()
DSemaExpr.cpp4845 ExprResult ArgE = PerformCopyInitialization( in GatherArgumentsForCall() local
4847 if (ArgE.isInvalid()) in GatherArgumentsForCall()
4850 Arg = ArgE.getAs<Expr>(); in GatherArgumentsForCall()
5448 ExprResult ArgE = in BuildResolvedCallExpr() local
5450 if (ArgE.isInvalid()) in BuildResolvedCallExpr()
5453 Arg = ArgE.getAs<Expr>(); in BuildResolvedCallExpr()
5456 ExprResult ArgE = DefaultArgumentPromotion(Arg); in BuildResolvedCallExpr() local
5458 if (ArgE.isInvalid()) in BuildResolvedCallExpr()
5461 Arg = ArgE.getAs<Expr>(); in BuildResolvedCallExpr()
DSemaTemplate.cpp3435 Expr *ArgE = Arg.getAs<Expr>(); in SubstDefaultTemplateArgumentIfAvailable() local
3436 return TemplateArgumentLoc(TemplateArgument(ArgE), ArgE); in SubstDefaultTemplateArgumentIfAvailable()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp1504 ArgI = E->arg_begin(), ArgE = E->arg_end(); ArgI != ArgE; ++ArgI) in VisitCXXUnresolvedConstructExpr() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp14201 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local
14223 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelLowering.cpp8794 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp6862 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7830 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp12238 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local