/external/llvm-project/llvm/lib/Analysis/ |
D | MemoryLocation.cpp | 148 unsigned ArgIdx, in getForArgument() argument 152 const Value *Arg = Call->getArgOperand(ArgIdx); in getForArgument() 165 assert((ArgIdx == 0 || ArgIdx == 1) && in getForArgument() 175 assert(ArgIdx == 1 && "Invalid argument index"); in getForArgument() 183 assert(ArgIdx == 0 && "Invalid argument index"); in getForArgument() 190 assert(ArgIdx == 1 && "Invalid argument index"); in getForArgument() 200 if (ArgIdx == 0) in getForArgument() 202 assert(ArgIdx == 2 && "Invalid argument index"); in getForArgument() 210 assert(ArgIdx == 0 && "Invalid argument index"); in getForArgument() 218 assert(ArgIdx == 0 && "Invalid argument index"); in getForArgument() [all …]
|
/external/llvm/lib/Analysis/ |
D | MemoryLocation.cpp | 94 unsigned ArgIdx, in getForArgument() argument 98 const Value *Arg = CS.getArgument(ArgIdx); in getForArgument() 110 assert((ArgIdx == 0 || ArgIdx == 1) && in getForArgument() 119 assert(ArgIdx == 1 && "Invalid argument index"); in getForArgument() 124 assert(ArgIdx == 2 && "Invalid argument index"); in getForArgument() 129 assert(ArgIdx == 0 && "Invalid argument index"); in getForArgument() 135 assert(ArgIdx == 0 && "Invalid argument index"); in getForArgument() 148 assert((ArgIdx == 0 || ArgIdx == 1) && in getForArgument() 150 if (ArgIdx == 1) in getForArgument() 157 return MemoryLocation(CS.getArgument(ArgIdx), UnknownSize, AATags); in getForArgument()
|
D | CFLSteensAliasAnalysis.cpp | 345 unsigned ArgIdx) { in getArgModRefInfo() argument 355 [ArgIdx](const ExternalAttribute &ExtAttr) { in getArgModRefInfo() 356 return ExtAttr.IValue.Index == ArgIdx + 1; in getArgModRefInfo() 360 [ArgIdx](const ExternalRelation &ExtRelation) { in getArgModRefInfo() 361 return ExtRelation.To.Index == ArgIdx + 1 || in getArgModRefInfo() 362 ExtRelation.From.Index == ArgIdx + 1; in getArgModRefInfo()
|
D | AliasAnalysis.cpp | 95 ModRefInfo AAResults::getArgModRefInfo(ImmutableCallSite CS, unsigned ArgIdx) { in getArgModRefInfo() argument 99 Result = ModRefInfo(Result & AA->getArgModRefInfo(CS, ArgIdx)); in getArgModRefInfo() 157 unsigned ArgIdx = std::distance(CS.arg_begin(), AI); in getModRefInfo() local 158 MemoryLocation ArgLoc = MemoryLocation::getForArgument(CS, ArgIdx, TLI); in getModRefInfo() 161 ModRefInfo ArgMask = getArgModRefInfo(CS, ArgIdx); in getModRefInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | MemoryLocation.cpp | 129 unsigned ArgIdx, in getForArgument() argument 133 const Value *Arg = Call->getArgOperand(ArgIdx); in getForArgument() 145 assert((ArgIdx == 0 || ArgIdx == 1) && in getForArgument() 155 assert(ArgIdx == 1 && "Invalid argument index"); in getForArgument() 165 if (ArgIdx == 0) in getForArgument() 167 assert(ArgIdx == 2 && "Invalid argument index"); in getForArgument() 175 assert(ArgIdx == 0 && "Invalid argument index"); in getForArgument() 183 assert(ArgIdx == 0 && "Invalid argument index"); in getForArgument() 199 assert((ArgIdx == 0 || ArgIdx == 1) && in getForArgument() 201 if (ArgIdx == 1) in getForArgument() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
D | UncountedCallArgsChecker.cpp | 71 unsigned ArgIdx = in visitCallExpr() local 79 P < F->param_end() && ArgIdx < CE->getNumArgs(); ++P, ++ArgIdx) { in visitCallExpr() 93 const auto *Arg = CE->getArg(ArgIdx); in visitCallExpr()
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 782 unsigned ArgIdx = 0, ParamIdx = 0; in DeduceTemplateArguments() local 791 if (ArgIdx >= NumArgs) in DeduceTemplateArguments() 794 if (isa<PackExpansionType>(Args[ArgIdx])) { in DeduceTemplateArguments() 804 Params[ParamIdx], Args[ArgIdx], in DeduceTemplateArguments() 809 ++ArgIdx; in DeduceTemplateArguments() 831 for (; ArgIdx < NumArgs; ++ArgIdx) { in DeduceTemplateArguments() 837 Args[ArgIdx], Info, Deduced, in DeduceTemplateArguments() 851 if (ArgIdx < NumArgs) in DeduceTemplateArguments() 1792 unsigned &ArgIdx, in hasTemplateArgumentForDeduction() argument 1794 if (ArgIdx == NumArgs) in hasTemplateArgumentForDeduction() [all …]
|
D | SemaOverload.cpp | 2399 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumParams(); in isObjCPointerConversion() local 2400 ArgIdx != NumArgs; ++ArgIdx) { in isObjCPointerConversion() 2401 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in isObjCPointerConversion() 2402 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in isObjCPointerConversion() 2560 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumParams(); in IsBlockPointerConversion() local 2561 ArgIdx != NumArgs; ++ArgIdx) { in IsBlockPointerConversion() 2563 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion() 2564 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion() 5828 for (unsigned ArgIdx = 0; ArgIdx < Args.size(); ++ArgIdx) { in AddOverloadCandidate() local 5829 if (ArgIdx < NumParams) { in AddOverloadCandidate() [all …]
|
/external/clang/tools/libclang/ |
D | CXComment.cpp | 179 unsigned ArgIdx) { in clang_InlineCommandComment_getArgText() argument 181 if (!ICC || ArgIdx >= ICC->getNumArgs()) in clang_InlineCommandComment_getArgText() 184 return cxstring::createRef(ICC->getArgText(ArgIdx)); in clang_InlineCommandComment_getArgText() 245 unsigned ArgIdx) { in clang_BlockCommandComment_getArgText() argument 247 if (!BCC || ArgIdx >= BCC->getNumArgs()) in clang_BlockCommandComment_getArgText() 250 return cxstring::createRef(BCC->getArgText(ArgIdx)); in clang_BlockCommandComment_getArgText()
|
/external/llvm-project/clang/tools/libclang/ |
D | CXComment.cpp | 178 unsigned ArgIdx) { in clang_InlineCommandComment_getArgText() argument 180 if (!ICC || ArgIdx >= ICC->getNumArgs()) in clang_InlineCommandComment_getArgText() 183 return cxstring::createRef(ICC->getArgText(ArgIdx)); in clang_InlineCommandComment_getArgText() 244 unsigned ArgIdx) { in clang_BlockCommandComment_getArgText() argument 246 if (!BCC || ArgIdx >= BCC->getNumArgs()) in clang_BlockCommandComment_getArgText() 249 return cxstring::createRef(BCC->getArgText(ArgIdx)); in clang_BlockCommandComment_getArgText()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 1045 unsigned ArgIdx = 0, ParamIdx = 0; in DeduceTemplateArguments() local 1054 if (ArgIdx >= NumArgs) in DeduceTemplateArguments() 1057 if (isa<PackExpansionType>(Args[ArgIdx])) { in DeduceTemplateArguments() 1067 Params[ParamIdx], Args[ArgIdx], in DeduceTemplateArguments() 1072 ++ArgIdx; in DeduceTemplateArguments() 1089 for (; ArgIdx < NumArgs && PackScope.hasNextElement(); ++ArgIdx) { in DeduceTemplateArguments() 1093 Args[ArgIdx], Info, Deduced, in DeduceTemplateArguments() 1119 for (unsigned I = 0; I != *NumExpansions && ArgIdx < NumArgs; in DeduceTemplateArguments() 1120 ++I, ++ArgIdx) in DeduceTemplateArguments() 1132 if (ArgIdx < NumArgs) in DeduceTemplateArguments() [all …]
|
D | SemaOverload.cpp | 2646 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumParams(); in isObjCPointerConversion() local 2647 ArgIdx != NumArgs; ++ArgIdx) { in isObjCPointerConversion() 2648 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in isObjCPointerConversion() 2649 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in isObjCPointerConversion() 2807 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumParams(); in IsBlockPointerConversion() local 2808 ArgIdx != NumArgs; ++ArgIdx) { in IsBlockPointerConversion() 2810 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion() 2811 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion() 6445 for (unsigned ArgIdx = 0; ArgIdx < Args.size(); ++ArgIdx) { in AddOverloadCandidate() local 6447 PO == OverloadCandidateParamOrder::Reversed ? 1 - ArgIdx : ArgIdx; in AddOverloadCandidate() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | AliasAnalysis.h | 252 ModRefInfo getArgModRefInfo(ImmutableCallSite CS, unsigned ArgIdx); 624 unsigned ArgIdx) = 0; 673 ModRefInfo getArgModRefInfo(ImmutableCallSite CS, unsigned ArgIdx) override { in getArgModRefInfo() argument 674 return Result.getArgModRefInfo(CS, ArgIdx); in getArgModRefInfo() 747 ModRefInfo getArgModRefInfo(ImmutableCallSite CS, unsigned ArgIdx) { in getArgModRefInfo() argument 748 return AAR ? AAR->getArgModRefInfo(CS, ArgIdx) : CurrentResult.getArgModRefInfo(CS, ArgIdx); in getArgModRefInfo() 797 ModRefInfo getArgModRefInfo(ImmutableCallSite CS, unsigned ArgIdx) { in getArgModRefInfo() argument
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | AMDGPUEmitPrintf.cpp | 204 unsigned ArgIdx = 1; in locateCStrings() local 215 ArgIdx += Spec.count('*'); in locateCStrings() 217 BV.set(ArgIdx); in locateCStrings() 220 ++ArgIdx; in locateCStrings()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | AliasAnalysis.h | 411 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx); 802 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo() argument 803 return AA.getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo() 858 unsigned ArgIdx) = 0; 908 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) override { in getArgModRefInfo() argument 909 return Result.getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo() 985 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo() argument 986 return AAR ? AAR->getArgModRefInfo(Call, ArgIdx) in getArgModRefInfo() 987 : CurrentResult.getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo() 1042 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo() argument
|
D | MemoryLocation.h | 236 static MemoryLocation getForArgument(const CallBase *Call, unsigned ArgIdx, 238 static MemoryLocation getForArgument(const CallBase *Call, unsigned ArgIdx, in getForArgument() argument 240 return getForArgument(Call, ArgIdx, &TLI); in getForArgument()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | AliasAnalysis.h | 463 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx); 854 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo() argument 855 return AA.getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo() 917 unsigned ArgIdx) = 0; 967 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) override { in getArgModRefInfo() argument 968 return Result.getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo() 1044 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo() argument 1045 return AAR ? AAR->getArgModRefInfo(Call, ArgIdx) in getArgModRefInfo() 1046 : CurrentResult.getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo() 1101 ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) { in getArgModRefInfo() argument
|
D | MemoryLocation.h | 258 static MemoryLocation getForArgument(const CallBase *Call, unsigned ArgIdx, 260 static MemoryLocation getForArgument(const CallBase *Call, unsigned ArgIdx, in getForArgument() argument 262 return getForArgument(Call, ArgIdx, &TLI); in getForArgument()
|
/external/llvm-project/clang/include/clang-c/ |
D | Documentation.h | 296 unsigned ArgIdx); 366 unsigned ArgIdx);
|
/external/clang/include/clang-c/ |
D | Documentation.h | 292 unsigned ArgIdx); 362 unsigned ArgIdx);
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUOpenCLImageTypeLoweringPass.cpp | 108 AccessQualFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in AccessQualFromMD() argument 110 return cast<MDString>(ArgAQNode->getOperand(ArgIdx + 1))->getString(); in AccessQualFromMD() 114 ArgTypeFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in ArgTypeFromMD() argument 116 return cast<MDString>(ArgTypeNode->getOperand(ArgIdx + 1))->getString(); in ArgTypeFromMD()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 124 AccessQualFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in AccessQualFromMD() argument 126 return cast<MDString>(ArgAQNode->getOperand(ArgIdx + 1))->getString(); in AccessQualFromMD() 130 ArgTypeFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in ArgTypeFromMD() argument 132 return cast<MDString>(ArgTypeNode->getOperand(ArgIdx + 1))->getString(); in ArgTypeFromMD()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | R600OpenCLImageTypeLoweringPass.cpp | 124 AccessQualFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in AccessQualFromMD() argument 126 return cast<MDString>(ArgAQNode->getOperand(ArgIdx + 1))->getString(); in AccessQualFromMD() 130 ArgTypeFromMD(MDNode *KernelMDNode, unsigned ArgIdx) { in ArgTypeFromMD() argument 132 return cast<MDString>(ArgTypeNode->getOperand(ArgIdx + 1))->getString(); in ArgTypeFromMD()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | GCDAntipatternChecker.cpp | 59 decltype(auto) equalsBoundArgDecl(int ArgIdx, const char *DeclName) { in equalsBoundArgDecl() argument 60 return hasArgument(ArgIdx, ignoringParenCasts(declRefExpr( in equalsBoundArgDecl()
|
D | MIGChecker.cpp | 207 unsigned ArgIdx = I->second; in checkPostCall() local 208 SVal Arg = Call.getArgSVal(ArgIdx); in checkPostCall()
|