Home
last modified time | relevance | path

Searched refs:ArgIdx (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp488 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 …]
DNoAliasAnalysis.cpp58 Location getArgLocation(ImmutableCallSite CS, unsigned ArgIdx, in getArgLocation()
63 return Location(CS.getArgument(ArgIdx), UnknownSize, AATags); in getArgLocation()
DAliasAnalysis.cpp64 AliasAnalysis::getArgLocation(ImmutableCallSite CS, unsigned ArgIdx, in getArgLocation() argument
67 return AA->getArgLocation(CS, ArgIdx, Mask); in getArgLocation()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp786 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 …]
DSemaOverload.cpp2291 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 …]
DSemaTemplate.cpp3685 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 …]
DSemaLookup.cpp2334 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()
DSemaChecking.cpp1199 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()
DSemaDeclAttr.cpp2657 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()
DSemaExpr.cpp1481 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/
DCXComment.cpp179 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/
DDocumentation.h292 unsigned ArgIdx);
362 unsigned ArgIdx);
/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp362 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()
DSIISelLowering.cpp505 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/
DNeonEmitter.cpp1502 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/
DFunction.cpp64 unsigned ArgIdx = 0; in getArgNo() local
66 ++ArgIdx; in getArgNo()
68 return ArgIdx; in getArgNo()
/external/clang/lib/AST/
DStmtPrinter.cpp1516 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()
DType.cpp1736 for (unsigned ArgIdx = getNumParams(); ArgIdx; --ArgIdx) in isTemplateVariadic() local
1737 if (isa<PackExpansionType>(getParamType(ArgIdx - 1))) in isTemplateVariadic()
/external/llvm/include/llvm/CodeGen/
DFastISel.h569 bool lowerCallOperands(const CallInst *CI, unsigned ArgIdx, unsigned NumArgs,
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h292 virtual Location getArgLocation(ImmutableCallSite CS, unsigned ArgIdx,
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp675 bool FastISel::lowerCallOperands(const CallInst *CI, unsigned ArgIdx, in lowerCallOperands() argument
684 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs, AttrI = ArgIdx + 1; in lowerCallOperands()
DSelectionDAGBuilder.h646 unsigned ArgIdx,
DSelectionDAGBuilder.cpp6865 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/
DDataFlowSanitizer.cpp905 unsigned ArgIdx = A->getArgNo() + F->getArgumentList().size() / 2; in getShadow() local
907 while (ArgIdx--) in getShadow()
/external/clang/include/clang/Sema/
DSema.h6083 unsigned ArgIdx, in OriginalCallArg()
6085 : OriginalParamType(OriginalParamType), ArgIdx(ArgIdx), in OriginalCallArg()
6089 unsigned ArgIdx; member

12