/external/llvm/lib/Analysis/ |
D | BasicAliasAnalysis.cpp | 488 Location getArgLocation(ImmutableCallSite CS, unsigned ArgIdx, 719 BasicAliasAnalysis::getArgLocation(ImmutableCallSite CS, unsigned ArgIdx, in getArgLocation() argument 721 Location Loc = AliasAnalysis::getArgLocation(CS, ArgIdx, Mask); in getArgLocation() 731 assert((ArgIdx == 0 || ArgIdx == 1) && in getArgLocation() 735 assert(Loc.Ptr == II->getArgOperand(ArgIdx) && in getArgLocation() 737 Mask = ArgIdx ? Ref : Mod; in getArgLocation() 743 assert(ArgIdx == 1 && "Invalid argument index"); in getArgLocation() 744 assert(Loc.Ptr == II->getArgOperand(ArgIdx) && in getArgLocation() 750 assert(ArgIdx == 2 && "Invalid argument index"); in getArgLocation() 751 assert(Loc.Ptr == II->getArgOperand(ArgIdx) && in getArgLocation() [all …]
|
D | NoAliasAnalysis.cpp | 58 Location getArgLocation(ImmutableCallSite CS, unsigned ArgIdx, in getArgLocation() 63 return Location(CS.getArgument(ArgIdx), UnknownSize, AATags); in getArgLocation()
|
D | AliasAnalysis.cpp | 64 AliasAnalysis::getArgLocation(ImmutableCallSite CS, unsigned ArgIdx, in getArgLocation() argument 67 return AA->getArgLocation(CS, ArgIdx, Mask); in getArgLocation()
|
/external/clang/lib/Sema/ |
D | SemaTemplateDeduction.cpp | 786 unsigned ArgIdx = 0, ParamIdx = 0; in DeduceTemplateArguments() local 795 if (ArgIdx >= NumArgs) in DeduceTemplateArguments() 798 if (isa<PackExpansionType>(Args[ArgIdx])) { in DeduceTemplateArguments() 808 Params[ParamIdx], Args[ArgIdx], in DeduceTemplateArguments() 813 ++ArgIdx; in DeduceTemplateArguments() 835 for (; ArgIdx < NumArgs; ++ArgIdx) { in DeduceTemplateArguments() 841 Args[ArgIdx], Info, Deduced, in DeduceTemplateArguments() 855 if (ArgIdx < NumArgs) in DeduceTemplateArguments() 1770 unsigned &ArgIdx, in hasTemplateArgumentForDeduction() argument 1772 if (ArgIdx == NumArgs) in hasTemplateArgumentForDeduction() [all …]
|
D | SemaOverload.cpp | 2291 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumParams(); in isObjCPointerConversion() local 2292 ArgIdx != NumArgs; ++ArgIdx) { in isObjCPointerConversion() 2293 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in isObjCPointerConversion() 2294 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in isObjCPointerConversion() 2452 for (unsigned ArgIdx = 0, NumArgs = FromFunctionType->getNumParams(); in IsBlockPointerConversion() local 2453 ArgIdx != NumArgs; ++ArgIdx) { in IsBlockPointerConversion() 2455 QualType FromArgType = FromFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion() 2456 QualType ToArgType = ToFunctionType->getParamType(ArgIdx); in IsBlockPointerConversion() 5706 for (unsigned ArgIdx = 0; ArgIdx < Args.size(); ++ArgIdx) { in AddOverloadCandidate() local 5707 if (ArgIdx < NumParams) { in AddOverloadCandidate() [all …]
|
D | SemaTemplate.cpp | 3685 unsigned ArgIdx = 0, NumArgs = NewArgs.size(); in CheckTemplateArgumentList() local 3705 } else if (ArgIdx == NumArgs && !PartialTemplateArgs) { in CheckTemplateArgumentList() 3719 if (ArgIdx < NumArgs) { in CheckTemplateArgumentList() 3721 if (CheckTemplateArgument(*Param, NewArgs[ArgIdx], Template, in CheckTemplateArgumentList() 3727 NewArgs[ArgIdx].getArgument().isPackExpansion() && in CheckTemplateArgumentList() 3733 Diag(NewArgs[ArgIdx].getLocation(), in CheckTemplateArgumentList() 3735 << NewArgs[ArgIdx].getSourceRange(); in CheckTemplateArgumentList() 3741 ++ArgIdx; in CheckTemplateArgumentList() 3766 while (ArgIdx < NumArgs) { in CheckTemplateArgumentList() 3767 Converted.push_back(NewArgs[ArgIdx].getArgument()); in CheckTemplateArgumentList() [all …]
|
D | SemaLookup.cpp | 2334 for (unsigned ArgIdx = 0; ArgIdx != Args.size(); ++ArgIdx) { in FindAssociatedClassesAndNamespaces() local 2335 Expr *Arg = Args[ArgIdx]; in FindAssociatedClassesAndNamespaces() 2743 for (unsigned ArgIdx = 0; ArgIdx != ArgTys.size(); ++ArgIdx) { in LookupLiteralOperator() local 2744 QualType ParamTy = FD->getParamDecl(ArgIdx)->getType(); in LookupLiteralOperator() 2745 if (!Context.hasSameUnqualifiedType(ArgTys[ArgIdx], ParamTy)) { in LookupLiteralOperator()
|
D | SemaChecking.cpp | 1199 for (unsigned ArgIdx = NumParams; ArgIdx < Args.size(); ++ArgIdx) { in checkCall() local 1201 if (const Expr *Arg = Args[ArgIdx]) { in checkCall() 1202 if (CheckedVarArgs.empty() || !CheckedVarArgs[ArgIdx]) in checkCall() 4771 for (unsigned ArgIdx = 0; ArgIdx != LastArg; ++ArgIdx) { in CheckMemaccessArguments() local 4772 const Expr *Dest = Call->getArg(ArgIdx)->IgnoreParenImpCasts(); in CheckMemaccessArguments() 4773 SourceRange ArgRange = Call->getArg(ArgIdx)->getSourceRange(); in CheckMemaccessArguments() 4852 << FnName << SizeOfArgTy << ArgIdx in CheckMemaccessArguments() 4873 if (ArgIdx != 0 || BId == Builtin::BImemcmp) { in CheckMemaccessArguments() 4885 << (BId == Builtin::BImemcmp ? ArgIdx + 2 : ArgIdx) in CheckMemaccessArguments() 4893 << ArgIdx << FnName << PointeeTy in CheckMemaccessArguments()
|
D | SemaDeclAttr.cpp | 2657 unsigned ArgIdx = Idx - 1; in handleFormatAttr() local 2660 if (ArgIdx == 0) { in handleFormatAttr() 2666 ArgIdx--; in handleFormatAttr() 2670 QualType Ty = getFunctionOrMethodParamType(D, ArgIdx); in handleFormatAttr() 2676 << getFunctionOrMethodParamRange(D, ArgIdx); in handleFormatAttr() 2685 << getFunctionOrMethodParamRange(D, ArgIdx); in handleFormatAttr() 2692 << getFunctionOrMethodParamRange(D, ArgIdx); in handleFormatAttr()
|
D | SemaExpr.cpp | 1481 for (unsigned ArgIdx = 0; ArgIdx != Args.size(); ++ArgIdx) { in BuildCookedLiteralOperatorCall() local 1482 ArgTy[ArgIdx] = Args[ArgIdx]->getType(); in BuildCookedLiteralOperatorCall() 1483 if (ArgTy[ArgIdx]->isArrayType()) in BuildCookedLiteralOperatorCall() 1484 ArgTy[ArgIdx] = S.Context.getArrayDecayedType(ArgTy[ArgIdx]); in BuildCookedLiteralOperatorCall()
|
/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/clang/include/clang-c/ |
D | Documentation.h | 292 unsigned ArgIdx); 362 unsigned ArgIdx);
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUPromoteAlloca.cpp | 362 for (unsigned ArgIdx = 0, ArgEnd = Call->getNumArgOperands(); in visitAlloca() local 363 ArgIdx != ArgEnd; ++ArgIdx) { in visitAlloca() 364 ArgTypes.push_back(Call->getArgOperand(ArgIdx)->getType()); in visitAlloca()
|
D | SIISelLowering.cpp | 505 for (unsigned i = 0, e = Ins.size(), ArgIdx = 0; i != e; ++i) { in LowerFormalArguments() local 513 CCValAssign &VA = ArgLocs[ArgIdx++]; in LowerFormalArguments() 567 Reg = ArgLocs[ArgIdx++].getLocReg(); in LowerFormalArguments()
|
/external/clang/utils/TableGen/ |
D | NeonEmitter.cpp | 1502 for (unsigned ArgIdx = 0; ArgIdx < DI->getNumArgs() - 1; ++ArgIdx) { in emitDagCast() local 1511 if (DI->getArgName(ArgIdx).size()) { in emitDagCast() 1512 assert_with_loc(Intr.Variables.find(DI->getArgName(ArgIdx)) != in emitDagCast() 1515 castToType = Intr.Variables[DI->getArgName(ArgIdx)].getType(); in emitDagCast() 1517 StringInit *SI = dyn_cast<StringInit>(DI->getArg(ArgIdx)); in emitDagCast()
|
/external/llvm/lib/IR/ |
D | Function.cpp | 64 unsigned ArgIdx = 0; in getArgNo() local 66 ++ArgIdx; in getArgNo() 68 return ArgIdx; in getArgNo()
|
/external/clang/lib/AST/ |
D | StmtPrinter.cpp | 1516 for (unsigned ArgIdx = 1; ArgIdx < Node->getNumArgs(); ++ArgIdx) { in VisitCXXOperatorCallExpr() local 1517 if (ArgIdx > 1) in VisitCXXOperatorCallExpr() 1519 if (!isa<CXXDefaultArgExpr>(Node->getArg(ArgIdx))) in VisitCXXOperatorCallExpr() 1520 PrintExpr(Node->getArg(ArgIdx)); in VisitCXXOperatorCallExpr()
|
D | Type.cpp | 1736 for (unsigned ArgIdx = getNumParams(); ArgIdx; --ArgIdx) in isTemplateVariadic() local 1737 if (isa<PackExpansionType>(getParamType(ArgIdx - 1))) in isTemplateVariadic()
|
/external/llvm/include/llvm/CodeGen/ |
D | FastISel.h | 569 bool lowerCallOperands(const CallInst *CI, unsigned ArgIdx, unsigned NumArgs,
|
/external/llvm/include/llvm/Analysis/ |
D | AliasAnalysis.h | 292 virtual Location getArgLocation(ImmutableCallSite CS, unsigned ArgIdx,
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 675 bool FastISel::lowerCallOperands(const CallInst *CI, unsigned ArgIdx, in lowerCallOperands() argument 684 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs, AttrI = ArgIdx + 1; in lowerCallOperands()
|
D | SelectionDAGBuilder.h | 646 unsigned ArgIdx,
|
D | SelectionDAGBuilder.cpp | 6865 SelectionDAGBuilder::lowerCallOperands(ImmutableCallSite CS, unsigned ArgIdx, in lowerCallOperands() argument 6875 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs, AttrI = ArgIdx + 1; in lowerCallOperands()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 905 unsigned ArgIdx = A->getArgNo() + F->getArgumentList().size() / 2; in getShadow() local 907 while (ArgIdx--) in getShadow()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 6083 unsigned ArgIdx, in OriginalCallArg() 6085 : OriginalParamType(OriginalParamType), ArgIdx(ArgIdx), in OriginalCallArg() 6089 unsigned ArgIdx; member
|