Home
last modified time | relevance | path

Searched refs:ArgNum (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DGenericTaintChecker.cpp153 inline bool isDestinationArgument(unsigned ArgNum) const { in isDestinationArgument()
155 DstArgs.end(), ArgNum) != DstArgs.end()); in isDestinationArgument()
340 unsigned ArgNum = *I; in propagateFromPre() local
343 if (ArgNum == ReturnValueIndex) { in propagateFromPre()
350 if (CE->getNumArgs() < (ArgNum + 1)) in propagateFromPre()
352 const Expr* Arg = CE->getArg(ArgNum); in propagateFromPre()
453 unsigned ArgNum = *I; in process() local
455 if (ArgNum == InvalidArgIndex) { in process()
467 if (CE->getNumArgs() < (ArgNum + 1)) in process()
469 if ((IsTainted = isTaintedOrPointsToTainted(CE->getArg(ArgNum), State, C))) in process()
[all …]
DObjCContainersASTChecker.cpp103 unsigned ArgNum; in VisitCallExpr() local
108 ArgNum = 1; in VisitCallExpr()
109 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
116 ArgNum = 1; in VisitCallExpr()
117 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
120 ArgNum = 2; in VisitCallExpr()
121 Arg = CE->getArg(ArgNum)->IgnoreParenCasts(); in VisitCallExpr()
129 assert(ArgNum == 1 || ArgNum == 2); in VisitCallExpr()
139 Os << " The "<< ((ArgNum == 1) ? "second" : "third") << " argument to '" in VisitCallExpr()
/external/swiftshader/third_party/subzero/crosstest/
Dtest_calling_conv_main.cpp48 size_t ArgNum; variable
103 ArgNum = i; in testCaller()
117 << ", Callee=" << Funcs[f].CalleeName << ", ArgNum=" << ArgNum in testCaller()
152 ArgNum = i; in testCallee()
168 << ", Callee=" << Funcs[f].CalleeName << ", ArgNum=" << ArgNum in testCallee()
Dtest_calling_conv.cpp64 switch (ArgNum) { HANDLE_ARG(1); } in callee_i()
69 switch (ArgNum) { in callee_vvvvv()
82 switch (ArgNum) { in callee_vlvilvfvdviv()
Dtest_calling_conv.h21 extern size_t ArgNum;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.cpp88 if (unsigned ArgNum = DV->getArg()) { in addScopeVariable() local
89 auto Cached = ScopeVars.Args.find(ArgNum); in addScopeVariable()
91 ScopeVars.Args[ArgNum] = Var; in addScopeVariable()
/external/llvm/lib/Analysis/
DAliasAnalysisSummary.cpp45 static AliasAttr argNumberToAttr(unsigned ArgNum) { in argNumberToAttr() argument
46 if (ArgNum >= AttrMaxNumArgs) in argNumberToAttr()
50 return AliasAttr(1ULL << (ArgNum + AttrFirstArgIndex)); in argNumberToAttr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DAliasAnalysisSummary.cpp43 static AliasAttr argNumberToAttr(unsigned ArgNum) { in argNumberToAttr() argument
44 if (ArgNum >= AttrMaxNumArgs) in argNumberToAttr()
48 return AliasAttr(1ULL << (ArgNum + AttrFirstArgIndex)); in argNumberToAttr()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.cpp149 if (unsigned ArgNum = DV->getArg()) { in addScopeVariable() local
165 if (CurNum > ArgNum) in addScopeVariable()
167 if (CurNum == ArgNum) { in addScopeVariable()
/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringX8664Traits.h720 static RegNumT getRegisterForGprArgNum(Type Ty, uint32_t ArgNum) {
721 if (ArgNum >= X86_MAX_GPR_ARGS) {
731 return getGprForType(Ty, GprForArgNum[ArgNum]);
752 static RegNumT getRegisterForGprArgNum(Type Ty, uint32_t ArgNum) {
753 if (ArgNum >= X86_MAX_GPR_ARGS) {
763 return getGprForType(Ty, GprForArgNum[ArgNum]);
770 static RegNumT getRegisterForXmmArgNum(uint32_t ArgNum) {
774 if (ArgNum >= X86_MAX_XMM_ARGS) {
777 return RegNumT::fixme(RegisterSet::Reg_xmm0 + ArgNum);
DIceTargetLoweringX8632Traits.h681 static RegNumT getRegisterForXmmArgNum(uint32_t ArgNum) {
685 if (ArgNum >= X86_MAX_XMM_ARGS) {
688 return RegNumT::fixme(RegisterSet::Reg_xmm0 + ArgNum);
691 static RegNumT getRegisterForGprArgNum(Type Ty, uint32_t ArgNum) {
694 (void)ArgNum;
DIceTargetLoweringMIPS32.cpp3373 SizeT ArgNum = 0; in lowerCall() local
3377 ArgNum = 1; in lowerCall()
3410 ++ArgNum; in lowerCall()
3426 if (ArgNum == 0) { in lowerCall()
3451 ++ArgNum; in lowerCall()
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp234 unsigned ArgNum = CS.arg_size(); in isPromotionLegal() local
236 if (ParamNum != ArgNum && !DirectCalleeType->isVarArg()) in isPromotionLegal()
/external/clang/lib/Sema/
DSemaChecking.cpp3567 bool Sema::SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum, in SemaBuiltinConstantArg() argument
3569 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinConstantArg()
3584 bool Sema::SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum, in SemaBuiltinConstantArgRange() argument
3589 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinConstantArgRange()
3594 if (SemaBuiltinConstantArg(TheCall, ArgNum, Result)) in SemaBuiltinConstantArgRange()
3607 int ArgNum, unsigned ExpectedFieldNum, in SemaBuiltinARMSpecialReg() argument
3624 Expr *Arg = TheCall->getArg(ArgNum); in SemaBuiltinARMSpecialReg()
DSemaDeclAttr.cpp315 unsigned ArgNum, StringRef &Str, in checkStringLiteralArgumentAttr() argument
318 if (Attr.isArgIdent(ArgNum)) { in checkStringLiteralArgumentAttr()
319 IdentifierLoc *Loc = Attr.getArgAsIdent(ArgNum); in checkStringLiteralArgumentAttr()
331 Expr *ArgExpr = Attr.getArgAsExpr(ArgNum); in checkStringLiteralArgumentAttr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp5116 uint64_t ArgNum = Record[Slot++]; in parseWholeProgramDevirtResolutionByArg() local
5118 Wpd.ResByArg[{Record.begin() + Slot, Record.begin() + Slot + ArgNum}]; in parseWholeProgramDevirtResolutionByArg()
5119 Slot += ArgNum; in parseWholeProgramDevirtResolutionByArg()
/external/clang/include/clang/Sema/
DSema.h3018 unsigned ArgNum, StringRef &Str,
9401 bool SemaBuiltinConstantArg(CallExpr *TheCall, int ArgNum,
9403 bool SemaBuiltinConstantArgRange(CallExpr *TheCall, int ArgNum,
9406 int ArgNum, unsigned ExpectedFieldNum,