Home
last modified time | relevance | path

Searched refs:ArgIndex (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp524 unsigned ArgIndex = 1; in DoPromotion() local
526 ++I, ++ArgIndex) { in DoPromotion()
537 if (Attributes attrs = PAL.getParamAttributes(ArgIndex)) in DoPromotion()
650 ArgIndex = 1; in DoPromotion()
652 I != E; ++I, ++AI, ++ArgIndex) in DoPromotion()
656 if (Attributes Attrs = CallPAL.getParamAttributes(ArgIndex)) in DoPromotion()
718 for (; AI != CS.arg_end(); ++AI, ++ArgIndex) { in DoPromotion()
720 if (Attributes Attrs = CallPAL.getParamAttributes(ArgIndex)) in DoPromotion()
/external/clang/lib/StaticAnalyzer/Core/
DPathDiagnostic.cpp919 unsigned ArgIndex = 0; in getMessage() local
921 E = CE->arg_end(); I != E; ++I, ++ArgIndex){ in getMessage()
927 return getMessageForArg(*I, ArgIndex); in getMessage()
935 return getMessageForArg(*I, ArgIndex); in getMessage()
978 unsigned ArgIndex) { in getMessageForArg() argument
984 printOrdinal(++ArgIndex, os); in getMessageForArg()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp854 GenericValue ArgIndex; in visitCallSite() local
855 ArgIndex.UIntPairVal.first = ECStack.size() - 1; in visitCallSite()
856 ArgIndex.UIntPairVal.second = 0; in visitCallSite()
857 SetValue(CS.getInstruction(), ArgIndex, SF); in visitCallSite()
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DPathDiagnostic.h442 virtual std::string getMessageForArg(const Expr *ArgE, unsigned ArgIndex);
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocChecker.cpp312 virtual std::string getMessageForArg(const Expr *ArgE, unsigned ArgIndex) { in getMessageForArg() argument
318 printOrdinal(++ArgIndex, os); in getMessageForArg()
/external/clang/lib/Sema/
DSemaChecking.cpp905 static bool checkBuiltinArgument(Sema &S, CallExpr *E, unsigned ArgIndex) { in checkBuiltinArgument() argument
909 ParmVarDecl *Param = Fn->getParamDecl(ArgIndex); in checkBuiltinArgument()
918 E->setArg(ArgIndex, Arg.take()); in checkBuiltinArgument()
1756 unsigned ArgIndex = FA->getFormatIdx(); in checkFormatStringExpr() local
1759 --ArgIndex; in checkFormatStringExpr()
1760 const Expr *Arg = CE->getArg(ArgIndex - 1); in checkFormatStringExpr()
DSemaDeclCXX.cpp662 unsigned ArgIndex = 0; in CheckConstexprParameterTypes() local
665 e = FT->arg_type_end(); i != e; ++i, ++ArgIndex) { in CheckConstexprParameterTypes()
666 const ParmVarDecl *PD = FD->getParamDecl(ArgIndex); in CheckConstexprParameterTypes()
671 ArgIndex+1, PD->getSourceRange(), in CheckConstexprParameterTypes()
/external/clang/lib/AST/
DExprConstant.cpp590 unsigned ArgIndex = 0; in describeCall() local
599 E = Frame->Callee->param_end(); I != E; ++I, ++ArgIndex) { in describeCall()
600 if (ArgIndex > (unsigned)IsMemberCall) in describeCall()
604 const APValue &Arg = Frame->Arguments[ArgIndex]; in describeCall()
607 if (ArgIndex == 0 && IsMemberCall) in describeCall()