/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | DeadArgumentElimination.cpp | 625 unsigned ArgI = 0; in surveyFunction() local 628 AI != E; ++AI, ++ArgI) { in surveyFunction() 651 markValue(createArg(&F, ArgI), Result, MaybeLiveArgUses); in surveyFunction() 691 for (unsigned ArgI = 0, E = F.arg_size(); ArgI != E; ++ArgI) in markLive() local 692 propagateLiveness(createArg(&F, ArgI)); in markLive() 757 unsigned ArgI = 0; in removeDeadStuffFromFunction() local 759 ++I, ++ArgI) { in removeDeadStuffFromFunction() 760 RetOrArg Arg = createArg(F, ArgI); in removeDeadStuffFromFunction() 763 ArgAlive[ArgI] = true; in removeDeadStuffFromFunction() 764 ArgAttrVec.push_back(PAL.getParamAttrs(ArgI)); in removeDeadStuffFromFunction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600OpenCLImageTypeLoweringPass.cpp | 221 for (auto ArgI = F->arg_begin(); ArgI != F->arg_end(); ++ArgI) { in replaceImageAndSamplerUses() local 222 Argument &Arg = *ArgI; in replaceImageAndSamplerUses() 237 Argument &SizeArg = *(++ArgI); in replaceImageAndSamplerUses() 238 Argument &FormatArg = *(++ArgI); in replaceImageAndSamplerUses()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVPostLegalizer.cpp | 88 unsigned ArgI = I.getNumOperands() - 1; in processNewInstrs() local 89 Register SrcReg = I.getOperand(ArgI).isReg() in processNewInstrs() 90 ? I.getOperand(ArgI).getReg() in processNewInstrs()
|
H A D | SPIRVInstructionSelector.cpp | 928 unsigned ArgI = I.getNumOperands() - 1; in selectUnmergeValues() local 930 I.getOperand(ArgI).isReg() ? I.getOperand(ArgI).getReg() : Register(0); in selectUnmergeValues()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | IndirectionUtils.cpp | 320 for (auto ArgI = F.arg_begin(), ArgE = F.arg_end(); ArgI != ArgE; in cloneFunctionDecl() local 321 ++ArgI, ++NewArgI) in cloneFunctionDecl() 322 (*VMap)[&*ArgI] = &*NewArgI; in cloneFunctionDecl()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | MemCpyOptimizer.cpp | 1082 for (unsigned ArgI = 0; ArgI < C->arg_size(); ++ArgI) in performCallSlotOptzn() local 1083 if (C->getArgOperand(ArgI)->stripPointerCasts() == cpySrc && in performCallSlotOptzn() 1084 cpySrc->getType() != C->getArgOperand(ArgI)->getType()) in performCallSlotOptzn() 1089 for (unsigned ArgI = 0; ArgI < C->arg_size(); ++ArgI) in performCallSlotOptzn() local 1090 if (C->getArgOperand(ArgI)->stripPointerCasts() == cpySrc) { in performCallSlotOptzn() 1092 C->setArgOperand(ArgI, cpyDest); in performCallSlotOptzn()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | InnerPointerChecker.cpp | 166 unsigned ArgI = isaMemberOpCall ? I+1 : I; in checkFunctionArguments() local 168 SVal Arg = FC->getArgSVal(ArgI); in checkFunctionArguments()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Evaluator.cpp | 266 auto ArgI = CB.arg_begin(); in getFormalParams() local 268 auto *ArgC = ConstantFoldLoadThroughBitcast(getVal(*ArgI), PTy, DL); in getFormalParams() 274 ++ArgI; in getFormalParams()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | FastISel.cpp | 730 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs; ArgI != ArgE; ++ArgI) { in lowerCallOperands() local 731 Value *V = CI->getOperand(ArgI); in lowerCallOperands() 738 Entry.setAttributes(CI, ArgI); in lowerCallOperands() 979 for (unsigned ArgI = 0; ArgI != NumArgs; ++ArgI) { in lowerCallTo() local 980 Value *V = CI->getOperand(ArgI); in lowerCallTo() 987 Entry.setAttributes(CI, ArgI); in lowerCallTo()
|
H A D | SelectionDAGBuilder.cpp | 10430 for (unsigned ArgI = ArgIdx, ArgE = ArgIdx + NumArgs; in populateCallLoweringInfo() local 10431 ArgI != ArgE; ++ArgI) { in populateCallLoweringInfo() 10432 const Value *V = Call->getOperand(ArgI); in populateCallLoweringInfo() 10439 Entry.setAttributes(Call, ArgI); in populateCallLoweringInfo()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.cpp | 2976 const ABIArgInfo &ArgI = info_it->info; in EmitFunctionProlog() local 2990 switch (ArgI.getKind()) { in EmitFunctionProlog() 2993 auto FieldIndex = ArgI.getInAllocaFieldIndex(); in EmitFunctionProlog() 2996 if (ArgI.getInAllocaIndirect()) in EmitFunctionProlog() 3007 Fn->getArg(FirstIRArg), Ty, ArgI.getIndirectAlign(), false, nullptr, in EmitFunctionProlog() 3015 if (ArgI.getIndirectRealign() || ArgI.isIndirectAliased()) { in EmitFunctionProlog() 3052 if (ArgI.getDirectOffset() == 0 && LTy->isPointerTy() && in EmitFunctionProlog() 3053 ArgI.getCoerceToType()->isPointerTy()) { in EmitFunctionProlog() 3133 if (!isa<llvm::StructType>(ArgI.getCoerceToType()) && in EmitFunctionProlog() 3134 ArgI.getCoerceToType() == ConvertType(Ty) && in EmitFunctionProlog() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMFastISel.cpp | 2341 for (auto ArgI = CI->arg_begin(), ArgE = CI->arg_end(); ArgI != ArgE; ++ArgI) { in SelectCall() local 2344 if (IntrMemName && ArgE - ArgI <= 1) in SelectCall() 2348 unsigned ArgIdx = ArgI - CI->arg_begin(); in SelectCall() 2363 Type *ArgTy = (*ArgI)->getType(); in SelectCall() 2369 Register Arg = getRegForValue(*ArgI); in SelectCall() 2375 Args.push_back(*ArgI); in SelectCall()
|
H A D | ARMISelLowering.cpp | 21068 for (unsigned ArgI = 1, ArgE = I.arg_size(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local 21069 Type *ArgTy = I.getArgOperand(ArgI)->getType(); in getTgtMemIntrinsic() 21090 for (unsigned ArgI = 1, ArgE = I.arg_size(); ArgI < ArgE; ++ArgI) { in getTgtMemIntrinsic() local 21091 Type *ArgTy = I.getArgOperand(ArgI)->getType(); in getTgtMemIntrinsic()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTStructuralEquivalence.cpp | 393 for (unsigned int ArgI = 0, ArgN = E1->getNumTemplateArgs(); ArgI < ArgN; in IsStmtEquivalent() local 394 ++ArgI) in IsStmtEquivalent() 395 if (!IsStructurallyEquivalent(Context, Args1[ArgI], Args2[ArgI])) in IsStmtEquivalent()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriterStmt.cpp | 2048 ArgI = E->arg_begin(), ArgE = E->arg_end(); ArgI != ArgE; ++ArgI) in VisitCXXUnresolvedConstructExpr() local 2049 Record.AddStmt(*ArgI); in VisitCXXUnresolvedConstructExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 3577 auto ArgI = dyn_cast<Argument>(SwiftErrorArg); in visitCallBase() local 3578 Check(ArgI, "swifterror argument should come from an alloca or parameter", in visitCallBase() 3580 Check(ArgI->hasSwiftErrorAttr(), in visitCallBase() 3581 "swifterror argument for call has mismatched parameter", ArgI, in visitCallBase()
|