|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/CallSite.h 304 CALLSITE_DELEGATE_GETTER(getNumArgOperands());
include/llvm/IR/InstrTypes.h 1247 assert(i < getNumArgOperands() && "Out of bounds!");
1252 assert(i < getNumArgOperands() && "Out of bounds!");
1258 assert(i < getNumArgOperands() && "Out of bounds!");
1262 assert(i < getNumArgOperands() && "Out of bounds!");
1403 assert(ArgNo < getNumArgOperands() && "Out of bounds");
1411 assert(ArgNo < getNumArgOperands() && "Out of bounds");
1433 assert(ArgNo < getNumArgOperands() && "Out of bounds");
1441 assert(ArgNo < getNumArgOperands() && "Out of bounds");
1480 assert(ArgNo < getNumArgOperands() && "Out of bounds");
1486 assert(ArgNo < getNumArgOperands() && "Out of bounds");
1505 assert(i < (getNumArgOperands() + getNumTotalBundleOperands() + 1) &&
1517 if (i < (getNumArgOperands() + 1))
1717 if (getNumArgOperands() == 0)
include/llvm/IR/Instructions.h 4067 return getOperand(i + getNumArgOperands() + getNumTotalBundleOperands() +
4073 return getOperandUse(i + getNumArgOperands() + getNumTotalBundleOperands() +
lib/Analysis/AliasAnalysis.cpp 672 (!Call->doesNotCapture(ArgNo) && ArgNo < Call->getNumArgOperands() &&
lib/Analysis/BasicAliasAnalysis.cpp 913 OperandNo < Call->getNumArgOperands() &&
lib/Analysis/ConstantFolding.cpp 2501 if (Call->getNumArgOperands() == 1) {
2600 if (Call->getNumArgOperands() == 2) {
lib/Analysis/InstructionSimplify.cpp 5143 unsigned NumOperands = Call->getNumArgOperands();
5223 unsigned NumArgs = Call->getNumArgOperands();
lib/Bitcode/Writer/BitcodeWriter.cpp 2778 for (unsigned i = FTy->getNumParams(), e = II->getNumArgOperands();
2860 for (unsigned i = FTy->getNumParams(), e = CBI->getNumArgOperands();
3024 for (unsigned i = FTy->getNumParams(), e = CI.getNumArgOperands();
lib/CodeGen/GlobalISel/IRTranslator.cpp 1133 cast<ConstantInt>(CI.getArgOperand(CI.getNumArgOperands() - 1))
lib/CodeGen/IntrinsicLowering.cpp 490 if (CI->getNumArgOperands() != 1 ||
lib/CodeGen/SelectionDAG/FastISel.cpp 762 for (unsigned i = StartIdx, e = CI->getNumArgOperands(); i != e; ++i) {
925 assert(I->getNumArgOperands() >= NumMetaOpers + NumArgs &&
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 4794 for (unsigned i = 0, e = I.getNumArgOperands(); i != e; ++i) {
6645 for (unsigned Idx = 0, E = I.getNumArgOperands(); Idx < E; ++Idx) {
6812 for (unsigned Op = 1, N = I.getNumArgOperands(); Op != N; Op += 2) {
8071 (ArgNo - 1) >= (cast<CallBrInst>(I)->getNumArgOperands() -
8904 if (I.getNumArgOperands() > 1)
lib/CodeGen/SelectionDAG/StatepointLowering.cpp 931 SI.CLI, Call, ArgBeginIndex, Call->getNumArgOperands(), Callee,
lib/IR/AsmWriter.cpp 3866 for (unsigned op = 0, Eop = CI->getNumArgOperands(); op < Eop; ++op) {
3911 for (unsigned op = 0, Eop = II->getNumArgOperands(); op < Eop; ++op) {
3951 for (unsigned op = 0, Eop = CBI->getNumArgOperands(); op < Eop; ++op) {
lib/IR/AutoUpgrade.cpp 1104 if (CI.getNumArgOperands() == 4) { // For masked intrinsics.
1131 if (CI.getNumArgOperands() == 4) { // For masked intrinsics.
1201 unsigned NumArgs = CI.getNumArgOperands();
1260 if (CI.getNumArgOperands() == 3)
1273 if (CI.getNumArgOperands() == 4)
1302 if (CI.getNumArgOperands() == 4)
1355 Value *Mask = CI.getArgOperand(CI.getNumArgOperands() - 1);
1626 unsigned NumArgs = CI.getNumArgOperands();
1806 if (CI->getNumArgOperands() == 4 &&
1989 if (CI->getNumArgOperands() == 5)
2099 else if (CI->getNumArgOperands() == 4 &&
2112 if (CI->getNumArgOperands() >= 3)
2178 if (CI->getNumArgOperands() == 3) {
2268 if (CI->getNumArgOperands() == 3)
2342 if (CI->getNumArgOperands() == 3)
2459 if (CI->getNumArgOperands() == 5)
2482 if (CI->getNumArgOperands() == 4)
2500 if (CI->getNumArgOperands() == 4)
2560 if (CI->getNumArgOperands() == 4)
2579 if (CI->getNumArgOperands() == 4)
2598 if (CI->getNumArgOperands() == 4)
3166 if (CI->getNumArgOperands() == 5 &&
3221 if (CI->getNumArgOperands() == 5 &&
3545 assert(CI->getNumArgOperands() == 1 &&
3552 Value *NullIsUnknownSize = CI->getNumArgOperands() == 2
3556 CI->getNumArgOperands() < 4 ? Builder.getFalse() : CI->getArgOperand(3);
3572 assert(CI->getNumArgOperands() == 4);
3695 if (CI->getNumArgOperands() != 5) {
3889 for (unsigned I = 0, E = CI->getNumArgOperands(); I != E; ++I) {
lib/IR/Core.cpp 2774 return unwrap<CallBase>(Instr)->getNumArgOperands();
lib/IR/Instructions.cpp 334 assert(ArgNo < getNumArgOperands() && "Param index out of bounds!");
825 for (unsigned ArgNo = 0, e = getNumArgOperands(); ArgNo != e; ++ArgNo)
lib/IR/IntrinsicInst.cpp 107 unsigned NumOperands = getNumArgOperands();
153 unsigned NumOperands = getNumArgOperands();
lib/IR/Verifier.cpp 2501 Assert(i >= CBI.getNumArgOperands() || !isa<BasicBlock>(CBI.getOperand(i)),
4448 FrameEscapeInfo[BB->getParent()].first = Call.getNumArgOperands();
4497 Assert(Call.getNumArgOperands() == 3, "wrong number of arguments", Call);
4758 unsigned NumOperands = FPI.getNumArgOperands();
lib/Target/AArch64/AArch64FastISel.cpp 3550 return lowerCallTo(II, IntrMemName, II->getNumArgOperands() - 1);
3566 return lowerCallTo(II, "memset", II->getNumArgOperands() - 1);
3600 Args.reserve(II->getNumArgOperands());
lib/Target/AArch64/AArch64ISelLowering.cpp 8382 Info.ptrVal = I.getArgOperand(I.getNumArgOperands() - 1);
8401 for (unsigned ArgI = 0, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) {
8408 Info.ptrVal = I.getArgOperand(I.getNumArgOperands() - 1);
lib/Target/AArch64/AArch64TargetTransformInfo.cpp 799 unsigned NumElts = Inst->getNumArgOperands() - 1;
840 Info.PtrVal = Inst->getArgOperand(Inst->getNumArgOperands() - 1);
lib/Target/AMDGPU/AMDGPULibCalls.cpp 588 auto NumArg = CI->getNumArgOperands();
605 unsigned PtrArgLoc = CI->getNumArgOperands() - 3;
669 if (CI->getNumArgOperands() != FInfo.getNumArgs())
1623 int numArgs = (int)aCI->getNumArgOperands();
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp 158 unsigned NumOps = CI->getNumArgOperands();
205 Sizes << CI->getNumArgOperands() - 1;
207 for (unsigned ArgCount = 1; ArgCount < CI->getNumArgOperands() &&
404 for (unsigned ArgCount = 1; ArgCount < CI->getNumArgOperands() &&
546 if (I + 1 == E && ArgCount + 1 == CI->getNumArgOperands())
lib/Target/ARM/ARMCodeGenPrepare.cpp 631 for (unsigned i = 0; i < Call->getNumArgOperands(); ++i) {
757 for (unsigned i = 0; i < Call->getNumArgOperands(); ++i) {
lib/Target/ARM/ARMISelLowering.cpp16262 Value *AlignArg = I.getArgOperand(I.getNumArgOperands() - 1);
16276 Info.ptrVal = I.getArgOperand(I.getNumArgOperands() - 1);
16294 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) {
16303 Value *AlignArg = I.getArgOperand(I.getNumArgOperands() - 1);
16316 for (unsigned ArgI = 1, ArgE = I.getNumArgOperands(); ArgI < ArgE; ++ArgI) {
lib/Target/Mips/MipsFastISel.cpp 1666 return lowerCallTo(II, IntrMemName, II->getNumArgOperands() - 1);
1675 return lowerCallTo(II, "memset", II->getNumArgOperands() - 1);
lib/Target/WebAssembly/WebAssemblyFastISel.cpp 833 for (unsigned I = 0, E = Call->getNumArgOperands(); I < E; ++I) {
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 412 for (unsigned I = 0, E = CI->getNumArgOperands(); I < E; ++I)
lib/Target/X86/X86FastISel.cpp 2750 return lowerCallTo(II, "memcpy", II->getNumArgOperands() - 1);
2765 return lowerCallTo(II, "memset", II->getNumArgOperands() - 1);
lib/Transforms/Coroutines/CoroSplit.cpp 532 if (Op->getNumArgOperands() == 0) {
537 assert(Op->getNumArgOperands() == 1);
lib/Transforms/IPO/LowerTypeTests.cpp 2019 if (CI->getNumArgOperands() % 2 != 1)
2023 for (unsigned I = 1; I != CI->getNumArgOperands(); I += 2) {
lib/Transforms/InstCombine/InstCombineCalls.cpp 1462 assert(I.getNumArgOperands() >= NumOperands && "Not enough operands");
1463 assert(E.getNumArgOperands() >= NumOperands && "Not enough operands");
1489 haveSameOperands(I, *E, E->getNumArgOperands())) {
1759 assert(Call.getNumArgOperands() > 1 && "Need at least 2 args to swap");
3239 unsigned AlignArg = II->getNumArgOperands() - 1;
4218 unsigned NumArgs = Call.getNumArgOperands();
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp 1043 for (unsigned I = 0, E = II->getNumArgOperands(); I != E; ++I)
lib/Transforms/Instrumentation/AddressSanitizer.cpp 2754 if (CI->getNumArgOperands() <= 5) return false;
lib/Transforms/Instrumentation/MemorySanitizer.cpp 2519 unsigned NumArgOperands = I.getNumArgOperands();
2547 unsigned NumArgOperands = I.getNumArgOperands();
2621 switch (I.getNumArgOperands()) {
2713 assert(I.getNumArgOperands() == 2);
2778 assert(I.getNumArgOperands() == 2);
lib/Transforms/Scalar/GVN.cpp 399 if (local_cdep->getNumArgOperands() != C->getNumArgOperands()) {
399 if (local_cdep->getNumArgOperands() != C->getNumArgOperands()) {
404 for (unsigned i = 0, e = C->getNumArgOperands(); i < e; ++i) {
454 if (cdep->getNumArgOperands() != C->getNumArgOperands()) {
454 if (cdep->getNumArgOperands() != C->getNumArgOperands()) {
458 for (unsigned i = 0, e = C->getNumArgOperands(); i < e; ++i) {
lib/Transforms/Scalar/Scalarizer.cpp 508 unsigned NumArgs = CI.getNumArgOperands();
lib/Transforms/Scalar/TailRecursionElimination.cpp 620 for (unsigned i = 0, e = CI->getNumArgOperands(); i != e; ++i)
lib/Transforms/Utils/LibCallsShrinkWrap.cpp 306 if (CI.getNumArgOperands() == 0)
lib/Transforms/Utils/SimplifyLibCalls.cpp 1331 if (CI->getNumArgOperands() == 1) {
1337 assert(CI->getNumArgOperands() == 2 && "Unexpected signature for cabs!");
2314 if (StreamArg >= (int)CI->getNumArgOperands())
2346 if (FormatStr == "%s" && CI->getNumArgOperands() > 1) {
2367 if (FormatStr == "%c" && CI->getNumArgOperands() > 1 &&
2372 if (FormatStr == "%s\n" && CI->getNumArgOperands() > 1 &&
2422 if (CI->getNumArgOperands() == 2) {
2438 CI->getNumArgOperands() < 3)
2523 if (CI->getNumArgOperands() == 3) {
2546 CI->getNumArgOperands() == 4) {
2613 if (CI->getNumArgOperands() == 2) {
2627 CI->getNumArgOperands() < 3)
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp 706 for (unsigned i = 0, e = CI->getNumArgOperands(); i != e; ++i)
lib/Transforms/Vectorize/LoopVectorize.cpp 4287 for (unsigned i = 0, ie = CI->getNumArgOperands(); i != ie; ++i) {
lib/Transforms/Vectorize/SLPVectorizer.cpp 454 for (unsigned i = 0, e = CI->getNumArgOperands(); i != e; ++i) {
2702 unsigned NumArgs = CI->getNumArgOperands();
2752 for (unsigned i = 0, e = CI->getNumArgOperands(); i != e; ++i) {
3200 for (unsigned op = 0, opc = CI->getNumArgOperands(); op != opc; ++op)
4119 for (int j = 0, e = CI->getNumArgOperands(); j < e; ++j) {
tools/lldb/source/Expression/IRInterpreter.cpp 1518 const int numArgs = call_inst->getNumArgOperands();
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp 1317 for (unsigned op_index = 0, num_ops = Old->getNumArgOperands();
tools/polly/lib/Analysis/ScopBuilder.cpp 1528 if (!CI || CI->getNumArgOperands() != 1)
unittests/IR/InstructionsTest.cpp 555 EXPECT_EQ(Call->getNumArgOperands(), Clone->getNumArgOperands());
555 EXPECT_EQ(Call->getNumArgOperands(), Clone->getNumArgOperands());
588 EXPECT_EQ(Invoke->getNumArgOperands(), Clone->getNumArgOperands());
588 EXPECT_EQ(Invoke->getNumArgOperands(), Clone->getNumArgOperands());