| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | AbstractCallSite.h | 154 unsigned getNumArgOperands() const { in getNumArgOperands() function 156 return CB->getNumArgOperands(); in getNumArgOperands()
|
| H A D | InstrTypes.h | 1336 unsigned getNumArgOperands() const { return arg_size(); } 1339 assert(i < getNumArgOperands() && "Out of bounds!"); 1344 assert(i < getNumArgOperands() && "Out of bounds!"); 1350 assert(i < getNumArgOperands() && "Out of bounds!"); 1354 assert(i < getNumArgOperands() && "Out of bounds!"); 1504 assert(ArgNo < getNumArgOperands() && "Out of bounds"); 1512 assert(ArgNo < getNumArgOperands() && "Out of bounds"); 1540 assert(ArgNo < getNumArgOperands() && "Out of bounds"); 1548 assert(ArgNo < getNumArgOperands() && "Out of bounds"); 1635 if (i < (getNumArgOperands() + 1)) [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 156 unsigned NumOps = CI->getNumArgOperands(); in lowerPrintfForGpu() 204 Sizes << CI->getNumArgOperands() - 1; in lowerPrintfForGpu() 206 for (unsigned ArgCount = 1; ArgCount < CI->getNumArgOperands() && in lowerPrintfForGpu() 392 for (unsigned ArgCount = 1; ArgCount < CI->getNumArgOperands() && in lowerPrintfForGpu() 527 if (I + 1 == E && ArgCount + 1 == CI->getNumArgOperands()) in lowerPrintfForGpu()
|
| H A D | AMDGPULibCalls.cpp | 570 auto NumArg = CI->getNumArgOperands(); in fold_read_write_pipe() 587 unsigned PtrArgLoc = CI->getNumArgOperands() - 3; in fold_read_write_pipe() 651 if (CI->getNumArgOperands() != FInfo.getNumArgs()) in fold() 1609 int numArgs = (int)aCI->getNumArgOperands(); in evaluateCall()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyOptimizeReturned.cpp | 59 for (unsigned I = 0, E = CB.getNumArgOperands(); I < E; ++I) in visitCallBase()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 1434 if (CI.getNumArgOperands() == 3) in upgradeAbs() 1462 if (CI.getNumArgOperands() == 4) in upgradePMULDQ() 2273 if (CI->getNumArgOperands() >= 3) in UpgradeIntrinsicCall() 2289 if (CI->getNumArgOperands() >= 3) in UpgradeIntrinsicCall() 2445 if (CI->getNumArgOperands() == 3) in UpgradeIntrinsicCall() 2521 if (CI->getNumArgOperands() == 3) in UpgradeIntrinsicCall() 2639 if (CI->getNumArgOperands() == 5) in UpgradeIntrinsicCall() 2664 if (CI->getNumArgOperands() == 4) in UpgradeIntrinsicCall() 2682 if (CI->getNumArgOperands() == 4) in UpgradeIntrinsicCall() 2742 if (CI->getNumArgOperands() == 4) in UpgradeIntrinsicCall() [all …]
|
| H A D | AbstractCallSite.cpp | 124 unsigned NumCallOperands = CB->getNumArgOperands(); in AbstractCallSite()
|
| H A D | IntrinsicInst.cpp | 191 unsigned NumOperands = getNumArgOperands(); in getRoundingMode() 203 unsigned NumOperands = getNumArgOperands(); in getExceptionBehavior()
|
| H A D | Instruction.cpp | 181 for (unsigned ArgNo = 0; ArgNo < CB->getNumArgOperands(); ArgNo++) in dropUndefImplyingAttrsAndUnknownMetadata()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InjectTLIMappings.cpp | 98 TLIName, ScalarName, CI.getNumArgOperands(), VF); in addMappingsFromTLI()
|
| H A D | SimplifyLibCalls.cpp | 1349 if (CI->getNumArgOperands() == 1) { in optimizeCAbs() 2352 if (StreamArg >= (int)CI->getNumArgOperands()) in isReportingError() 2384 if (FormatStr == "%s" && CI->getNumArgOperands() > 1) { in optimizePrintFString() 2415 if (FormatStr == "%c" && CI->getNumArgOperands() > 1 && in optimizePrintFString() 2420 if (FormatStr == "%s\n" && CI->getNumArgOperands() > 1 && in optimizePrintFString() 2472 if (CI->getNumArgOperands() == 2) { in optimizeSPrintFString() 2489 CI->getNumArgOperands() < 3) in optimizeSPrintFString() 2600 if (CI->getNumArgOperands() == 3) { in optimizeSnPrintFString() 2623 CI->getNumArgOperands() == 4) { in optimizeSnPrintFString() 2691 if (CI->getNumArgOperands() == 2) { in optimizeFPrintFString() [all …]
|
| H A D | LibCallsShrinkWrap.cpp | 307 if (CI.getNumArgOperands() == 0) in checkCandidate()
|
| H A D | Evaluator.cpp | 287 if (FTy->getNumParams() > CB.getNumArgOperands()) { in getFormalParams()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | WasmEHPrepare.cpp | 250 if (CPI->getNumArgOperands() == 1 && in prepareEHPads()
|
| H A D | TypePromotion.cpp | 578 for (unsigned i = 0; i < Call->getNumArgOperands(); ++i) { in TruncateSinks() 681 for (unsigned i = 0; i < Call->getNumArgOperands(); ++i) { in Mutate()
|
| H A D | IntrinsicLowering.cpp | 456 if (CI->getNumArgOperands() != 1 || in LowerToByteSwap()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | TailRecursionElimination.cpp | 670 for (unsigned I = 0, E = CI->getNumArgOperands(); I != E; ++I) { in eliminateCall() 678 for (unsigned I = 0, E = CI->getNumArgOperands(); I != E; ++I) { in eliminateCall()
|
| H A D | GVN.cpp | 425 local_cdep->getNumArgOperands() != C->getNumArgOperands()) { in lookupOrAddCall() 430 for (unsigned i = 0, e = C->getNumArgOperands(); i < e; ++i) { in lookupOrAddCall() 480 if (cdep->getNumArgOperands() != C->getNumArgOperands()) { in lookupOrAddCall() 484 for (unsigned i = 0, e = C->getNumArgOperands(); i < e; ++i) { in lookupOrAddCall()
|
| H A D | EarlyCSE.cpp | 296 if (II && II->isCommutative() && II->getNumArgOperands() == 2) { in getHashValueImpl() 366 LII->isCommutative() && LII->getNumArgOperands() == 2) { in isEqualImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionAttrs.cpp | 398 if (UseIndex >= CB->getNumArgOperands()) { in captured() 533 bool IsOperandBundleUse = UseIndex >= CB.getNumArgOperands(); in determinePointerReadAttrs()
|
| H A D | OpenMPOpt.cpp | 1035 for (unsigned U = CallbackFirstArgOperand, E = CI->getNumArgOperands(); in mergeParallelRegions() 1044 for (unsigned U = CallbackFirstArgOperand, E = CI->getNumArgOperands(); in mergeParallelRegions() 1566 unsigned NumArgs = CB.getNumArgOperands(); in deduplicateRuntimeCalls() 1615 if (CI->getNumArgOperands() > 0 && in deduplicateRuntimeCalls()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 659 assert(I.getNumArgOperands() >= NumOperands && "Not enough operands"); in haveSameOperands() 660 assert(E.getNumArgOperands() >= NumOperands && "Not enough operands"); in haveSameOperands() 689 if (haveSameOperands(EndI, *I, EndI.getNumArgOperands())) { in removeTriviallyEmptyRange() 713 assert(Call.getNumArgOperands() > 1 && "Need at least 2 args to swap"); in canonicalizeConstantArg0ToArg1() 2231 unsigned NumArgs = Call.getNumArgOperands(); in annotateAnyAllocSite()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
| H A D | CoroInstr.h | 641 if (getNumArgOperands() < 3) in getMustTailCallFunction()
|
| H A D | Coroutines.cpp | 725 if (FnTy->getNumParams() != (getNumArgOperands() - 3)) in checkWellFormed()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 461 if (Call.getNumArgOperands() != 2) in rewriteSetJmpCall()
|