/external/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 672 unsigned ArgIndex = 1; in DoPromotion() local 674 ++I, ++ArgIndex) { in DoPromotion() 684 AttributeSet attrs = PAL.getParamAttributes(ArgIndex); in DoPromotion() 685 if (attrs.hasAttributes(ArgIndex)) { in DoPromotion() 686 AttrBuilder B(attrs, ArgIndex); in DoPromotion() 729 for (const auto &ArgIndex : ArgIndices) { in DoPromotion() local 733 ArgIndex.second)); in DoPromotion() 794 ArgIndex = 1; in DoPromotion() 796 I != E; ++I, ++AI, ++ArgIndex) in DoPromotion() 800 if (CallPAL.hasAttributes(ArgIndex)) { in DoPromotion() [all …]
|
/external/clang/lib/Analysis/ |
D | ThreadSafetyCommon.cpp | 670 unsigned ArgIndex = CurrentBlockInfo->ProcessedPredecessors; in makePhiNodeVar() local 671 assert(ArgIndex > 0 && ArgIndex < NPreds); in makePhiNodeVar() 680 Ph->values()[ArgIndex] = E; in makePhiNodeVar() 688 for (unsigned PIdx = 0; PIdx < ArgIndex; ++PIdx) in makePhiNodeVar() 691 Ph->values()[ArgIndex] = E; in makePhiNodeVar() 773 unsigned ArgIndex = BBInfo[Blk->getBlockID()].ProcessedPredecessors; in mergePhiNodesBackEdge() local 774 assert(ArgIndex > 0 && ArgIndex < BB->numPredecessors()); in mergePhiNodesBackEdge() 779 assert(Ph->values()[ArgIndex] == nullptr && "Wrong index for back edge."); in mergePhiNodesBackEdge() 783 Ph->values()[ArgIndex] = E; in mergePhiNodesBackEdge()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 527 unsigned ArgIndex = 1; in DoPromotion() local 529 ++I, ++ArgIndex) { in DoPromotion() 540 if (Attributes attrs = PAL.getParamAttributes(ArgIndex)) in DoPromotion() 654 ArgIndex = 1; in DoPromotion() 656 I != E; ++I, ++AI, ++ArgIndex) in DoPromotion() 660 if (Attributes Attrs = CallPAL.getParamAttributes(ArgIndex)) in DoPromotion() 722 for (; AI != CS.arg_end(); ++AI, ++ArgIndex) { in DoPromotion() 724 if (Attributes Attrs = CallPAL.getParamAttributes(ArgIndex)) in DoPromotion()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 194 for (const auto &ArgIndex : ArgIndices) { in doPromotion() local 198 ArgIndex.second)); in doPromotion() 274 for (const auto &ArgIndex : ArgIndices) { in doPromotion() local 277 OriginalLoads[std::make_pair(&*I, ArgIndex.second)]; in doPromotion() 278 if (!ArgIndex.second.empty()) { in doPromotion() 279 Ops.reserve(ArgIndex.second.size()); in doPromotion() 281 for (auto II : ArgIndex.second) { in doPromotion() 295 V = GetElementPtrInst::Create(ArgIndex.first, V, Ops, in doPromotion()
|
D | LowerTypeTests.cpp | 1154 unsigned ArgIndex = AsmArgs.size(); in createJumpTableEntry() local 1157 AsmOS << "jmp ${" << ArgIndex << ":c}@plt\n"; in createJumpTableEntry() 1160 AsmOS << "b $" << ArgIndex << "\n"; in createJumpTableEntry() 1162 AsmOS << "b.w $" << ArgIndex << "\n"; in createJumpTableEntry() 1167 ConstraintOS << (ArgIndex > 0 ? ",s" : "s"); in createJumpTableEntry()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | PathDiagnostic.cpp | 1134 unsigned ArgIndex = 0; in getMessage() local 1136 E = CE->arg_end(); I != E; ++I, ++ArgIndex){ in getMessage() 1142 return getMessageForArg(*I, ArgIndex); in getMessage() 1150 return getMessageForArg(*I, ArgIndex); in getMessage() 1166 unsigned ArgIndex) { in getMessageForArg() argument 1168 ++ArgIndex; in getMessageForArg() 1173 os << Msg << " via " << ArgIndex << llvm::getOrdinalSuffix(ArgIndex) in getMessageForArg()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceIntrinsics.cpp | 329 SizeT &ArgIndex) const { in validateCall() 343 ArgIndex = i - 1; in validateCall()
|
D | IceIntrinsics.h | 158 SizeT &ArgIndex) const;
|
D | IceConverter.cpp | 613 Ice::SizeT ArgIndex = 0; in validateIntrinsicCall() local 614 switch (I->validateCall(Call, ArgIndex)) { in validateIntrinsicCall() 636 StrBuf << "Intrinsic call argument " << ArgIndex << " expects type " in validateIntrinsicCall() 637 << I->getArgType(ArgIndex) in validateIntrinsicCall() 638 << ". Found: " << Call->getArg(ArgIndex)->getType(); in validateIntrinsicCall()
|
/external/spirv-llvm/lib/SPIRV/ |
D | OCLTypeToSPIRV.cpp | 162 auto ArgIndex = getArgIndex(CI, &I); in adaptFunction() local 165 addAdaptedType(getArg(CF, ArgIndex), Loc->second); in adaptFunction()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_handlers.h | 145 int ArgIndex; member
|
D | ubsan_handlers.cc | 510 "never be null") << Data->ArgIndex; in handleNonNullArg()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 3209 unsigned ArgIndex = cxxOperatorCallExpr(callee(cxxMethodDecl())) in AST_POLYMORPHIC_MATCHER_P2() local 3215 for (; ArgIndex < Node.getNumArgs(); ++ArgIndex) { in AST_POLYMORPHIC_MATCHER_P2() 3217 if (ArgMatcher.matches(*(Node.getArg(ArgIndex)->IgnoreParenCasts()), in AST_POLYMORPHIC_MATCHER_P2()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 845 GenericValue ArgIndex; in visitCallSite() local 846 ArgIndex.UIntPairVal.first = ECStack.size() - 1; in visitCallSite() 847 ArgIndex.UIntPairVal.second = 0; in visitCallSite() 848 SetValue(CS.getInstruction(), ArgIndex, SF); in visitCallSite()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/ |
D | RISCVISelLowering.cpp | 1015 unsigned ArgIndex = Ins[i].OrigArgIndex; in LowerFormalArguments() local 1017 while (i + 1 != e && Ins[i + 1].OrigArgIndex == ArgIndex) { in LowerFormalArguments() 1300 unsigned ArgIndex = Outs[i].OrigArgIndex; in LowerCall() local 1302 while (i + 1 != e && Outs[i + 1].OrigArgIndex == ArgIndex) { in LowerCall()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocChecker.cpp | 491 unsigned ArgIndex) override { in getMessageForArg() argument 493 ++ArgIndex; in getMessageForArg() 498 os << "Reallocation of " << ArgIndex << llvm::getOrdinalSuffix(ArgIndex) in getMessageForArg()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 1073 GenericValue ArgIndex; in visitCallSite() local 1074 ArgIndex.UIntPairVal.first = ECStack.size() - 1; in visitCallSite() 1075 ArgIndex.UIntPairVal.second = 0; in visitCallSite() 1076 SetValue(CS.getInstruction(), ArgIndex, SF); in visitCallSite()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 1074 GenericValue ArgIndex; in visitCallSite() local 1075 ArgIndex.UIntPairVal.first = ECStack.size() - 1; in visitCallSite() 1076 ArgIndex.UIntPairVal.second = 0; in visitCallSite() 1077 SetValue(CS.getInstruction(), ArgIndex, SF); in visitCallSite()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 2075 for (unsigned ArgIndex = 0, ArgIndexEnd = NonNullArgs.size(); in CheckNonNullArguments() local 2076 ArgIndex != ArgIndexEnd; ++ArgIndex) { in CheckNonNullArguments() 2077 if (NonNullArgs[ArgIndex]) in CheckNonNullArguments() 2078 CheckNonNullArgument(S, Args[ArgIndex], CallSiteLoc); in CheckNonNullArguments() 2624 static bool checkBuiltinArgument(Sema &S, CallExpr *E, unsigned ArgIndex) { in checkBuiltinArgument() argument 2628 ParmVarDecl *Param = Fn->getParamDecl(ArgIndex); in checkBuiltinArgument() 2637 E->setArg(ArgIndex, Arg.get()); in checkBuiltinArgument() 3961 unsigned ArgIndex = FA->getFormatIdx(); in checkFormatStringExpr() local 3964 --ArgIndex; in checkFormatStringExpr() 3965 const Expr *Arg = CE->getArg(ArgIndex - 1); in checkFormatStringExpr() [all …]
|
D | SemaDeclAttr.cpp | 922 for (unsigned ArgIndex = 0; ArgIndex < Attr.getNumArgs(); ++ArgIndex) { in handleCallableWhenAttr() local 927 if (Attr.isArgIdent(ArgIndex)) { in handleCallableWhenAttr() 928 IdentifierLoc *Ident = Attr.getArgAsIdent(ArgIndex); in handleCallableWhenAttr() 932 if (!S.checkStringLiteralArgumentAttr(Attr, ArgIndex, StateString, &Loc)) in handleCallableWhenAttr()
|
D | SemaDeclCXX.cpp | 766 unsigned ArgIndex = 0; in CheckConstexprParameterTypes() local 770 i != e; ++i, ++ArgIndex) { in CheckConstexprParameterTypes() 771 const ParmVarDecl *PD = FD->getParamDecl(ArgIndex); in CheckConstexprParameterTypes() 776 ArgIndex+1, PD->getSourceRange(), in CheckConstexprParameterTypes()
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | PathDiagnostic.h | 492 virtual std::string getMessageForArg(const Expr *ArgE, unsigned ArgIndex);
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 1273 unsigned ArgIndex = 0; in describeCall() local 1292 E = Frame->Callee->param_end(); I != E; ++I, ++ArgIndex) { in describeCall() 1293 if (ArgIndex > (unsigned)IsMemberCall) in describeCall() 1297 const APValue &Arg = Frame->Arguments[ArgIndex]; in describeCall() 1300 if (ArgIndex == 0 && IsMemberCall) in describeCall()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 953 unsigned ArgIndex = Ins[I].OrigArgIndex; in LowerFormalArguments() local 955 while (I + 1 != E && Ins[I + 1].OrigArgIndex == ArgIndex) { in LowerFormalArguments() 1089 unsigned ArgIndex = Outs[I].OrigArgIndex; in LowerCall() local 1091 while (I + 1 != E && Outs[I + 1].OrigArgIndex == ArgIndex) { in LowerCall()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 1175 unsigned ArgIndex = Ins[I].OrigArgIndex; in LowerFormalArguments() local 1177 while (I + 1 != E && Ins[I + 1].OrigArgIndex == ArgIndex) { in LowerFormalArguments() 1307 unsigned ArgIndex = Outs[I].OrigArgIndex; in LowerCall() local 1309 while (I + 1 != E && Outs[I + 1].OrigArgIndex == ArgIndex) { in LowerCall()
|