reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/ObjCARCAnalysisUtils.h
   83     V = cast<CallInst>(V)->getArgOperand(0);
  121     V = cast<CallInst>(V)->getArgOperand(0);
  138   return GetRCIdentityRoot(cast<CallInst>(Inst)->getArgOperand(0));
include/llvm/IR/CallSite.h
  308     CALLSITE_DELEGATE_GETTER(getArgOperand(i));
include/llvm/IR/InstrTypes.h
 1591     return Ty ? Ty : getArgOperand(ArgNo)->getType()->getPointerElementType();
include/llvm/IR/IntrinsicInst.h
  109       return cast<MetadataAsValue>(getArgOperand(1))->getMetadata();
  113       return cast<MetadataAsValue>(getArgOperand(2))->getMetadata();
  194       return cast<MetadataAsValue>(getArgOperand(0))->getMetadata();
  322     Value *getLHS() const { return const_cast<Value*>(getArgOperand(0)); }
  323     Value *getRHS() const { return const_cast<Value*>(getArgOperand(1)); }
  385       return const_cast<Value *>(getArgOperand(ARG_DEST));
  391       return const_cast<Value *>(getArgOperand(ARG_LENGTH));
  437       return const_cast<Value *>(BaseCL::getArgOperand(ARG_SOURCE));
  480       return const_cast<Value *>(BaseCL::getArgOperand(ARG_VALUE));
  502       return const_cast<Value *>(getArgOperand(ARG_ELEMENTSIZE));
  596           const_cast<Value *>(getArgOperand(ARG_VOLATILE)));
  788     Value *getArgList() const { return const_cast<Value*>(getArgOperand(0)); }
  801     Value *getArgList() const { return const_cast<Value*>(getArgOperand(0)); }
  814     Value *getDest() const { return const_cast<Value*>(getArgOperand(0)); }
  815     Value *getSrc() const { return const_cast<Value*>(getArgOperand(1)); }
  830           const_cast<Value *>(getArgOperand(0))->stripPointerCasts());
  834       return cast<ConstantInt>(const_cast<Value *>(getArgOperand(1)));
  838       return cast<ConstantInt>(const_cast<Value *>(getArgOperand(2)));
  842       return cast<ConstantInt>(const_cast<Value *>(getArgOperand(3)));
  870           const_cast<Value *>(getArgOperand(0))->stripPointerCasts());
  874       return cast<ConstantInt>(const_cast<Value *>(getArgOperand(1)));
  878       return cast<Value>(const_cast<Value *>(getArgOperand(2)));
  882       return cast<ConstantInt>(const_cast<Value *>(getArgOperand(3)));
  887       return cast<ConstantInt>(const_cast<Value *>(getArgOperand(4)));
include/llvm/IR/PatternMatch.h
 1676       return Val.match(CI->getArgOperand(OpI));
include/llvm/IR/Statepoint.h
  113     return cast<ConstantInt>(getCall()->getArgOperand(FlagsPos))
  119     const Value *IDVal = getCall()->getArgOperand(IDPos);
  125     const Value *NumPatchBytesVal = getCall()->getArgOperand(NumPatchBytesPos);
  134     return getCall()->getArgOperand(CalledFunctionPos);
  165     const Value *NumCallArgsVal = getCall()->getArgOperand(NumCallArgsPos);
  330     const Value *Token = getArgOperand(0);
  337     const Value *Token = getArgOperand(0);
  374     return cast<ConstantInt>(getArgOperand(1))->getZExtValue();
  380     return cast<ConstantInt>(getArgOperand(2))->getZExtValue();
include/llvm/Transforms/IPO/Attributor.h
  368     return *cast<CallBase>(AnchorVal)->getArgOperand(getArgNo());
lib/Analysis/AliasAnalysisSummary.cpp
   78   auto *V = (Index == 0) ? &Call : Call.getArgOperand(Index - 1);
lib/Analysis/AssumptionCache.cpp
   78   Value *Cond = CI->getArgOperand(0), *A, *B;
  235       OS << "  " << *cast<CallInst>(VH)->getArgOperand(0) << "\n";
lib/Analysis/ConstantFolding.cpp
 2502     if (ConstantFP *OpC = dyn_cast<ConstantFP>(Call->getArgOperand(0))) {
 2601     ConstantFP *Op0C = dyn_cast<ConstantFP>(Call->getArgOperand(0));
 2602     ConstantFP *Op1C = dyn_cast<ConstantFP>(Call->getArgOperand(1));
lib/Analysis/InlineCost.cpp
 1976       PointerType *PTy = cast<PointerType>(Call.getArgOperand(I)->getType());
 2031       PointerType *PTy = cast<PointerType>(Call.getArgOperand(I)->getType());
lib/Analysis/InstructionSimplify.cpp
 5150     return simplifyUnaryIntrinsic(F, Call->getArgOperand(0), Q);
 5153     return simplifyBinaryIntrinsic(F, Call->getArgOperand(0),
 5154                                    Call->getArgOperand(1), Q);
 5160     Value *MaskArg = Call->getArgOperand(2);
 5161     Value *PassthruArg = Call->getArgOperand(3);
 5169     Value *Op0 = Call->getArgOperand(0), *Op1 = Call->getArgOperand(1),
 5169     Value *Op0 = Call->getArgOperand(0), *Op1 = Call->getArgOperand(1),
 5170           *ShAmtArg = Call->getArgOperand(2);
 5178       return Call->getArgOperand(IID == Intrinsic::fshl ? 0 : 1);
 5185         return Call->getArgOperand(IID == Intrinsic::fshl ? 0 : 1);
 5191     Value *Op0 = Call->getArgOperand(0);
 5192     Value *Op1 = Call->getArgOperand(1);
 5193     Value *Op2 = Call->getArgOperand(2);
lib/Analysis/LazyValueInfo.cpp
  835     BBLV = intersect(BBLV, getValueFromCondition(Val, I->getArgOperand(0)));
lib/Analysis/MemoryBuiltins.cpp
  343   Value *MallocArg = CI->getArgOperand(0);
  509   bool MaxVal = cast<ConstantInt>(ObjectSize->getArgOperand(1))->isZero();
  520       cast<ConstantInt>(ObjectSize->getArgOperand(2))->isOne();
  523   bool StaticOnly = cast<ConstantInt>(ObjectSize->getArgOperand(3))->isZero();
  528     if (getObjectSize(ObjectSize->getArgOperand(0), Size, DL, TLI, EvalOptions) &&
  535         Eval.compute(ObjectSize->getArgOperand(0));
lib/Analysis/MemoryDependenceAnalysis.cpp
  151     Loc = MemoryLocation(CI->getArgOperand(0));
  538         if (AA.isMustAlias(MemoryLocation(II->getArgOperand(1)), MemLoc))
lib/Analysis/MemoryLocation.cpp
  132   const Value *Arg = Call->getArgOperand(ArgIdx);
  146       if (ConstantInt *LenCI = dyn_cast<ConstantInt>(II->getArgOperand(2)))
  158               cast<ConstantInt>(II->getArgOperand(0))->getZExtValue()),
  170               cast<ConstantInt>(II->getArgOperand(1))->getZExtValue()),
  185                                 II->getArgOperand(1)->getType())),
  203             dyn_cast<ConstantInt>(Call->getArgOperand(2)))
  209   return MemoryLocation(Call->getArgOperand(ArgIdx), LocationSize::unknown(),
lib/Analysis/MemorySSA.cpp
  281       AR = AA.alias(MemoryLocation(II->getArgOperand(1)), UseLoc);
  365       return AA.alias(MemoryLocation(II->getArgOperand(1)), Loc) == MustAlias;
lib/Analysis/ModuleSummaryAnalysis.cpp
  169     auto *TypeMDVal = cast<MetadataAsValue>(CI->getArgOperand(1));
  200     auto *TypeMDVal = cast<MetadataAsValue>(CI->getArgOperand(2));
lib/Analysis/ScalarEvolution.cpp
 9510     if (isImpliedCond(Pred, LHS, RHS, CI->getArgOperand(0), false))
 9665     if (ProveViaCond(CI->getArgOperand(0), false))
lib/Analysis/TypeMetadataUtils.cpp
   94         M, DevirtCalls, CI->getArgOperand(0)->stripPointerCasts(), 0, CI, DT);
  105   auto *Offset = dyn_cast<ConstantInt>(CI->getArgOperand(1));
lib/Analysis/ValueTracking.cpp
  606     Value *Arg = I->getArgOperand(0);
 1488         if (II->getArgOperand(1) == ConstantInt::getTrue(II->getContext()))
 1499         if (II->getArgOperand(1) == ConstantInt::getTrue(II->getContext()))
 1590           computeKnownBitsAddSub(true, II->getArgOperand(0),
 1591                                  II->getArgOperand(1), false, Known, Known2,
 1596           computeKnownBitsAddSub(false, II->getArgOperand(0),
 1597                                  II->getArgOperand(1), false, Known, Known2,
 1602           computeKnownBitsMul(II->getArgOperand(0), II->getArgOperand(1), false,
 1602           computeKnownBitsMul(II->getArgOperand(0), II->getArgOperand(1), false,
 2929       return CannotBeNegativeZero(Call->getArgOperand(0), TLI, Depth + 1);
 3152       return isKnownNeverNaN(II->getArgOperand(0), TLI, Depth + 1);
 3154       return isKnownNeverNaN(II->getArgOperand(0), TLI, Depth + 1) &&
 3155              CannotBeOrderedLessThanZero(II->getArgOperand(0), TLI);
 3159       return isKnownNeverNaN(II->getArgOperand(0), TLI, Depth + 1) ||
 3160              isKnownNeverNaN(II->getArgOperand(1), TLI, Depth + 1);
 3673     return Call->getArgOperand(0);
lib/Bitcode/Writer/BitcodeWriter.cpp
 3017         Vals.push_back(VE.getValueID(CI.getArgOperand(i)));
 3019         pushValue(CI.getArgOperand(i), InstID, Vals); // fixed param.
 3026         pushValueAndType(CI.getArgOperand(i), InstID, Vals); // varargs
lib/CodeGen/Analysis.cpp
  646         RetVal == Call->getArgOperand(0))
lib/CodeGen/CodeGenPrepare.cpp
 1877       ZExtInst *ExtVal = dyn_cast<ZExtInst>(CI->getArgOperand(0));
 1891       Value *ArgVal = II->getArgOperand(0);
 5047       Value *OpVal = CS->getArgOperand(ArgNo++);
lib/CodeGen/ExpandMemCmp.cpp
  283       getPtrToElementAtOffset(CI->getArgOperand(0), LoadSizeType, OffsetBytes);
  285       getPtrToElementAtOffset(CI->getArgOperand(1), LoadSizeType, OffsetBytes);
  343     Value *Source1 = getPtrToElementAtOffset(CI->getArgOperand(0), LoadSizeType,
  345     Value *Source2 = getPtrToElementAtOffset(CI->getArgOperand(1), LoadSizeType,
  450   Value *Source1 = getPtrToElementAtOffset(CI->getArgOperand(0), LoadSizeType,
  452   Value *Source2 = getPtrToElementAtOffset(CI->getArgOperand(1), LoadSizeType,
  567   Value *Source1 = CI->getArgOperand(0);
  568   Value *Source2 = CI->getArgOperand(1);
  731   ConstantInt *SizeCast = dyn_cast<ConstantInt>(CI->getArgOperand(2));
lib/CodeGen/ExpandReductions.cpp
  103       Value *Acc = II->getArgOperand(0);
  104       Value *Vec = II->getArgOperand(1);
  124       Value *Vec = II->getArgOperand(0);
lib/CodeGen/GCRootLowering.cpp
  207         Value *St = new StoreInst(CI->getArgOperand(0),
  208                                   CI->getArgOperand(2), CI);
  216         Value *Ld = new LoadInst(CI->getType(), CI->getArgOperand(1), "", CI);
  227             cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts()));
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1123   if (isa<UndefValue>(CI.getArgOperand(1)))
 1133       cast<ConstantInt>(CI.getArgOperand(CI.getNumArgOperands() - 1))
 1155       MachinePointerInfo(CI.getArgOperand(0)),
 1159         MachinePointerInfo(CI.getArgOperand(1)),
 1301     GetUnderlyingObjects(CI.getArgOperand(1), Allocas, *DL);
 1361     Value *Ptr = CI.getArgOperand(0);
 1411     Register Op0 = getOrCreateVReg(*CI.getArgOperand(0));
 1412     Register Op1 = getOrCreateVReg(*CI.getArgOperand(1));
 1413     Register Op2 = getOrCreateVReg(*CI.getArgOperand(2));
 1434     GlobalValue *GV = ExtractTypeInfo(CI.getArgOperand(0));
 1450     LLT PtrTy = getLLTForType(*CI.getArgOperand(0)->getType(), *DL);
 1454     AllocaInst *Slot = cast<AllocaInst>(CI.getArgOperand(1));
 1482     Register Reg = getOrCreateVReg(*CI.getArgOperand(0));
 1496     ConstantInt *Cst = cast<ConstantInt>(CI.getArgOperand(1));
 1505         .addUse(getOrCreateVReg(*CI.getArgOperand(0)));
 1509     LLT PtrTy = getLLTForType(*CI.getArgOperand(0)->getType(), *DL);
lib/CodeGen/IntrinsicLowering.cpp
  215   switch (CI->getArgOperand(0)->getType()->getTypeID()) {
  229                   CI->getArgOperand(0)->getType());
  252     Value *V = CI->getArgOperand(0);
  286     CI->replaceAllUsesWith(LowerCTPOP(Context, CI->getArgOperand(0), CI));
  290     CI->replaceAllUsesWith(LowerBSWAP(Context, CI->getArgOperand(0), CI));
  294     CI->replaceAllUsesWith(LowerCTLZ(Context, CI->getArgOperand(0), CI));
  299     Value *Src = CI->getArgOperand(0);
  376     Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
  379     Ops[0] = CI->getArgOperand(0);
  380     Ops[1] = CI->getArgOperand(1);
  382     ReplaceCallWith("memcpy", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
  387     Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
  390     Ops[0] = CI->getArgOperand(0);
  391     Ops[1] = CI->getArgOperand(1);
  393     ReplaceCallWith("memmove", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
  397     Value *Op0 = CI->getArgOperand(0);
  399     Value *Size = Builder.CreateIntCast(CI->getArgOperand(2), IntPtr,
  404     Ops[1] = Builder.CreateIntCast(CI->getArgOperand(1),
  408     ReplaceCallWith("memset", CI, Ops, Ops+3, CI->getArgOperand(0)->getType());
  491       CI->getType() != CI->getArgOperand(0)->getType() ||
  503   Value *Op = CI->getArgOperand(0);
lib/CodeGen/PreISelIntrinsicLowering.cpp
   45         B.CreateGEP(Int8Ty, CI->getArgOperand(0), CI->getArgOperand(1));
   45         B.CreateGEP(Int8Ty, CI->getArgOperand(0), CI->getArgOperand(1));
   49     Value *ResultPtr = B.CreateGEP(Int8Ty, CI->getArgOperand(0), OffsetI32);
lib/CodeGen/SafeStack.cpp
  699         Instruction *SI = IRB.CreateStore(II->getArgOperand(0), UnsafeStackPtr);
lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
  127   Value *Ptr = CI->getArgOperand(0);
  128   Value *Alignment = CI->getArgOperand(1);
  129   Value *Mask = CI->getArgOperand(2);
  130   Value *Src0 = CI->getArgOperand(3);
  265   Value *Src = CI->getArgOperand(0);
  266   Value *Ptr = CI->getArgOperand(1);
  267   Value *Alignment = CI->getArgOperand(2);
  268   Value *Mask = CI->getArgOperand(3);
  390   Value *Ptrs = CI->getArgOperand(0);
  391   Value *Alignment = CI->getArgOperand(1);
  392   Value *Mask = CI->getArgOperand(2);
  393   Value *Src0 = CI->getArgOperand(3);
  514   Value *Src = CI->getArgOperand(0);
  515   Value *Ptrs = CI->getArgOperand(1);
  516   Value *Alignment = CI->getArgOperand(2);
  517   Value *Mask = CI->getArgOperand(3);
  599   Value *Ptr = CI->getArgOperand(0);
  600   Value *Mask = CI->getArgOperand(1);
  601   Value *PassThru = CI->getArgOperand(2);
  712   Value *Src = CI->getArgOperand(0);
  713   Value *Ptr = CI->getArgOperand(1);
  714   Value *Mask = CI->getArgOperand(2);
  857         cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
  865         cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
  866       if (TTI->isLegalMaskedStore(CI->getArgOperand(0)->getType(),
  878       if (TTI->isLegalMaskedScatter(CI->getArgOperand(0)->getType()))
  888       if (TTI->isLegalMaskedCompressStore(CI->getArgOperand(0)->getType()))
lib/CodeGen/SelectionDAG/FastISel.cpp
  763     Value *Val = CI->getArgOperand(i);
  990       unsigned Reg = getRegForValue(I->getArgOperand(i));
 1046   Ops.push_back(MachineOperand::CreateReg(getRegForValue(I->getArgOperand(0)),
 1048   Ops.push_back(MachineOperand::CreateReg(getRegForValue(I->getArgOperand(1)),
 1065   Ops.push_back(MachineOperand::CreateReg(getRegForValue(I->getArgOperand(0)),
 1067   Ops.push_back(MachineOperand::CreateReg(getRegForValue(I->getArgOperand(1)),
 1069   Ops.push_back(MachineOperand::CreateReg(getRegForValue(I->getArgOperand(2)),
 1468     unsigned ResultReg = getRegForValue(II->getArgOperand(0));
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 4272     Src0 = I.getArgOperand(0);
 4273     Ptr = I.getArgOperand(1);
 4274     Alignment = cast<ConstantInt>(I.getArgOperand(2))->getZExtValue();
 4275     Mask = I.getArgOperand(3);
 4280     Src0 = I.getArgOperand(0);
 4281     Ptr = I.getArgOperand(1);
 4282     Mask = I.getArgOperand(2);
 4388   const Value *Ptr = I.getArgOperand(1);
 4389   SDValue Src0 = getValue(I.getArgOperand(0));
 4390   SDValue Mask = getValue(I.getArgOperand(3));
 4392   unsigned Alignment = (cast<ConstantInt>(I.getArgOperand(2)))->getZExtValue();
 4432     Ptr = I.getArgOperand(0);
 4433     Alignment = cast<ConstantInt>(I.getArgOperand(1))->getZExtValue();
 4434     Mask = I.getArgOperand(2);
 4435     Src0 = I.getArgOperand(3);
 4440     Ptr = I.getArgOperand(0);
 4442     Mask = I.getArgOperand(1);
 4443     Src0 = I.getArgOperand(2);
 4494   const Value *Ptr = I.getArgOperand(0);
 4495   SDValue Src0 = getValue(I.getArgOperand(3));
 4496   SDValue Mask = getValue(I.getArgOperand(2));
 4500   unsigned Alignment = (cast<ConstantInt>(I.getArgOperand(1)))->getZExtValue();
 4795     const Value *Arg = I.getArgOperand(i);
 5657                              getValue(I.getArgOperand(0))));
 5670                              getValue(I.getArgOperand(0))));
 5673     Value *Reg = I.getArgOperand(0);
 5685     Value *Reg = I.getArgOperand(0);
 5686     Value *RegValue = I.getArgOperand(1);
 5702     SDValue Op1 = getValue(I.getArgOperand(0));
 5703     SDValue Op2 = getValue(I.getArgOperand(1));
 5704     SDValue Op3 = getValue(I.getArgOperand(2));
 5715                                MachinePointerInfo(I.getArgOperand(0)),
 5716                                MachinePointerInfo(I.getArgOperand(1)));
 5722     SDValue Op1 = getValue(I.getArgOperand(0));
 5723     SDValue Op2 = getValue(I.getArgOperand(1));
 5724     SDValue Op3 = getValue(I.getArgOperand(2));
 5730                                isTC, MachinePointerInfo(I.getArgOperand(0)));
 5736     SDValue Op1 = getValue(I.getArgOperand(0));
 5737     SDValue Op2 = getValue(I.getArgOperand(1));
 5738     SDValue Op3 = getValue(I.getArgOperand(2));
 5748                                 isTC, MachinePointerInfo(I.getArgOperand(0)),
 5749                                 MachinePointerInfo(I.getArgOperand(1)));
 5921     GlobalValue *GV = ExtractTypeInfo(I.getArgOperand(0));
 5934                             getValue(I.getArgOperand(0)),
 5935                             getValue(I.getArgOperand(1))));
 5943                              getValue(I.getArgOperand(0))));
 5947     ConstantInt *CI = dyn_cast<ConstantInt>(I.getArgOperand(0));
 5958       cast<AllocaInst>(I.getArgOperand(0)->stripPointerCasts());
 5966     Ops[1] = getValue(I.getArgOperand(0));
 5975                             getRoot(), getValue(I.getArgOperand(0))));
 6000     setValue(&I, ExpandPowI(sdl, getValue(I.getArgOperand(0)),
 6001                             getValue(I.getArgOperand(1)), DAG));
 6004     setValue(&I, expandLog(sdl, getValue(I.getArgOperand(0)), DAG, TLI));
 6007     setValue(&I, expandLog2(sdl, getValue(I.getArgOperand(0)), DAG, TLI));
 6010     setValue(&I, expandLog10(sdl, getValue(I.getArgOperand(0)), DAG, TLI));
 6013     setValue(&I, expandExp(sdl, getValue(I.getArgOperand(0)), DAG, TLI));
 6016     setValue(&I, expandExp2(sdl, getValue(I.getArgOperand(0)), DAG, TLI));
 6019     setValue(&I, expandPow(sdl, getValue(I.getArgOperand(0)),
 6020                            getValue(I.getArgOperand(1)), DAG, TLI));
 6050                              getValue(I.getArgOperand(0)).getValueType(),
 6051                              getValue(I.getArgOperand(0))));
 6069                              getValue(I.getArgOperand(0))));
 6074                              getValue(I.getArgOperand(0)).getValueType(),
 6075                              getValue(I.getArgOperand(0)),
 6076                              getValue(I.getArgOperand(1))));
 6080                              getValue(I.getArgOperand(0)).getValueType(),
 6081                              getValue(I.getArgOperand(0)),
 6082                              getValue(I.getArgOperand(1))));
 6086                              getValue(I.getArgOperand(0)).getValueType(),
 6087                              getValue(I.getArgOperand(0)),
 6088                              getValue(I.getArgOperand(1))));
 6092                              getValue(I.getArgOperand(0)).getValueType(),
 6093                              getValue(I.getArgOperand(0)),
 6094                              getValue(I.getArgOperand(1))));
 6098                              getValue(I.getArgOperand(0)).getValueType(),
 6099                              getValue(I.getArgOperand(0)),
 6100                              getValue(I.getArgOperand(1))));
 6104                              getValue(I.getArgOperand(0)).getValueType(),
 6105                              getValue(I.getArgOperand(0)),
 6106                              getValue(I.getArgOperand(1)),
 6107                              getValue(I.getArgOperand(2))));
 6148                                getValue(I.getArgOperand(0)).getValueType(),
 6149                                getValue(I.getArgOperand(0)),
 6150                                getValue(I.getArgOperand(1)),
 6151                                getValue(I.getArgOperand(2))));
 6155                                 getValue(I.getArgOperand(0)).getValueType(),
 6156                                 getValue(I.getArgOperand(0)),
 6157                                 getValue(I.getArgOperand(1)));
 6159                                 getValue(I.getArgOperand(0)).getValueType(),
 6161                                 getValue(I.getArgOperand(2)));
 6169                                          getValue(I.getArgOperand(0)),
 6177                                          getValue(I.getArgOperand(0)))));
 6180     SDValue Tmp = getValue(I.getArgOperand(0));
 6194                              getValue(I.getArgOperand(0)).getValueType(),
 6195                              getValue(I.getArgOperand(0))));
 6199                              getValue(I.getArgOperand(0)).getValueType(),
 6200                              getValue(I.getArgOperand(0))));
 6203     SDValue Arg = getValue(I.getArgOperand(0));
 6204     ConstantInt *CI = cast<ConstantInt>(I.getArgOperand(1));
 6211     SDValue Arg = getValue(I.getArgOperand(0));
 6212     ConstantInt *CI = cast<ConstantInt>(I.getArgOperand(1));
 6219     SDValue Arg = getValue(I.getArgOperand(0));
 6227     SDValue X = getValue(I.getArgOperand(0));
 6228     SDValue Y = getValue(I.getArgOperand(1));
 6229     SDValue Z = getValue(I.getArgOperand(2));
 6290     SDValue Op1 = getValue(I.getArgOperand(0));
 6291     SDValue Op2 = getValue(I.getArgOperand(1));
 6296     SDValue Op1 = getValue(I.getArgOperand(0));
 6297     SDValue Op2 = getValue(I.getArgOperand(1));
 6302     SDValue Op1 = getValue(I.getArgOperand(0));
 6303     SDValue Op2 = getValue(I.getArgOperand(1));
 6308     SDValue Op1 = getValue(I.getArgOperand(0));
 6309     SDValue Op2 = getValue(I.getArgOperand(1));
 6315     SDValue Op1 = getValue(I.getArgOperand(0));
 6316     SDValue Op2 = getValue(I.getArgOperand(1));
 6317     SDValue Op3 = getValue(I.getArgOperand(2));
 6323     SDValue Op1 = getValue(I.getArgOperand(0));
 6324     SDValue Op2 = getValue(I.getArgOperand(1));
 6325     SDValue Op3 = getValue(I.getArgOperand(2));
 6331     SDValue Op1 = getValue(I.getArgOperand(0));
 6332     SDValue Op2 = getValue(I.getArgOperand(1));
 6333     SDValue Op3 = getValue(I.getArgOperand(2));
 6348     Res = getValue(I.getArgOperand(0));
 6396       Src = getValue(I.getArgOperand(0));   // The guard's value.
 6398     AllocaInst *Slot = cast<AllocaInst>(I.getArgOperand(1));
 6437     Metadata *MD = cast<MetadataAsValue>(I.getArgOperand(0))->getMetadata();
 6445     const Function *F = cast<Function>(I.getArgOperand(1)->stripPointerCasts());
 6449     Ops[1] = getValue(I.getArgOperand(0));
 6450     Ops[2] = getValue(I.getArgOperand(1));
 6451     Ops[3] = getValue(I.getArgOperand(2));
 6452     Ops[4] = DAG.getSrcValue(I.getArgOperand(0));
 6463                              getValue(I.getArgOperand(0))));
 6469     const Value *Alloca = I.getArgOperand(0)->stripPointerCasts();
 6470     const Constant *TypeMap = cast<Constant>(I.getArgOperand(1));
 6485     setValue(&I, getValue(I.getArgOperand(0)));
 6530     SDValue Op1 = getValue(I.getArgOperand(0));
 6531     SDValue Op2 = getValue(I.getArgOperand(1));
 6545     unsigned rw = cast<ConstantInt>(I.getArgOperand(1))->getZExtValue();
 6548     Ops[1] = getValue(I.getArgOperand(0));
 6549     Ops[2] = getValue(I.getArgOperand(1));
 6550     Ops[3] = getValue(I.getArgOperand(2));
 6551     Ops[4] = getValue(I.getArgOperand(3));
 6555                                              MachinePointerInfo(I.getArgOperand(0)),
 6574         cast<ConstantInt>(I.getArgOperand(0))->getSExtValue();
 6575     Value *const ObjectPtr = I.getArgOperand(1);
 6646       Value *Arg = I.getArgOperand(Idx)->stripPointerCasts();
 6671     auto *Fn = cast<Function>(I.getArgOperand(0)->stripPointerCasts());
 6672     auto *Idx = cast<ConstantInt>(I.getArgOperand(2));
 6686     Value *FP = I.getArgOperand(1);
 6697     const auto *CPI = cast<CatchPadInst>(I.getArgOperand(0));
 6720     SDValue LogEntryVal = getValue(I.getArgOperand(0));
 6721     SDValue StrSizeVal = getValue(I.getArgOperand(1));
 6753     SDValue LogTypeId = getValue(I.getArgOperand(0));
 6754     SDValue LogEntryVal = getValue(I.getArgOperand(1));
 6755     SDValue StrSizeVal = getValue(I.getArgOperand(2));
 6796     Ops.push_back(getValue(I.getArgOperand(0)));
 6800         I.getArgOperand(1), Offset, DAG.getDataLayout()));
 6814           I.getArgOperand(Op), Offset, DAG.getDataLayout()));
 6819       SDValue Val = getValue(I.getArgOperand(Op + 1));
 6859         DAG, getCurSDLoc(), getRoot(), getValue(I.getArgOperand(0)),
 6860         getValue(I.getArgOperand(1)), MachinePointerInfo(I.getArgOperand(0)),
 6860         getValue(I.getArgOperand(1)), MachinePointerInfo(I.getArgOperand(0)),
 6993                           { Chain, getValue(FPI.getArgOperand(0)),
 6998                          { Chain, getValue(FPI.getArgOperand(0)) });
 7001                          { Chain, getValue(FPI.getArgOperand(0)),
 7002                                   getValue(FPI.getArgOperand(1)),
 7003                                   getValue(FPI.getArgOperand(2)) });
 7006                          { Chain, getValue(FPI.getArgOperand(0)),
 7007                            getValue(FPI.getArgOperand(1))  });
 7261   const Value *LHS = I.getArgOperand(0), *RHS = I.getArgOperand(1);
 7261   const Value *LHS = I.getArgOperand(0), *RHS = I.getArgOperand(1);
 7262   const Value *Size = I.getArgOperand(2);
 7353   const Value *Src = I.getArgOperand(0);
 7354   const Value *Char = I.getArgOperand(1);
 7355   const Value *Length = I.getArgOperand(2);
 7377   SDValue Dst = getValue(I.getArgOperand(0));
 7378   SDValue Src = getValue(I.getArgOperand(1));
 7379   SDValue Size = getValue(I.getArgOperand(2));
 7395                              MachinePointerInfo(I.getArgOperand(0)),
 7396                              MachinePointerInfo(I.getArgOperand(1)));
 7417   const Value *Arg0 = I.getArgOperand(0), *Arg1 = I.getArgOperand(1);
 7417   const Value *Arg0 = I.getArgOperand(0), *Arg1 = I.getArgOperand(1);
 7440   const Value *Arg0 = I.getArgOperand(0), *Arg1 = I.getArgOperand(1);
 7440   const Value *Arg0 = I.getArgOperand(0), *Arg1 = I.getArgOperand(1);
 7463   const Value *Arg0 = I.getArgOperand(0);
 7484   const Value *Arg0 = I.getArgOperand(0), *Arg1 = I.getArgOperand(1);
 7484   const Value *Arg0 = I.getArgOperand(0), *Arg1 = I.getArgOperand(1);
 7511   SDValue Tmp = getValue(I.getArgOperand(0));
 7527   SDValue Tmp0 = getValue(I.getArgOperand(0));
 7528   SDValue Tmp1 = getValue(I.getArgOperand(1));
 7570           SDValue LHS = getValue(I.getArgOperand(0));
 7571           SDValue RHS = getValue(I.getArgOperand(1));
 8541                           getValue(I.getArgOperand(0)),
 8542                           DAG.getSrcValue(I.getArgOperand(0))));
 8563                           getValue(I.getArgOperand(0)),
 8564                           DAG.getSrcValue(I.getArgOperand(0))));
 8570                           getValue(I.getArgOperand(0)),
 8571                           getValue(I.getArgOperand(1)),
 8572                           DAG.getSrcValue(I.getArgOperand(0)),
 8573                           DAG.getSrcValue(I.getArgOperand(1))));
 8902   SDValue Op1 = getValue(I.getArgOperand(0));
 8905     Op2 = getValue(I.getArgOperand(1));
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1211           Value *IndexArg = Call->getArgOperand(1);
lib/CodeGen/ShadowStackGCLowering.cpp
  109     Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1));
  243                 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts()));
  244             if (IsNullValue(CI->getArgOperand(1)))
lib/CodeGen/StackProtector.cpp
  433       AI = cast<AllocaInst>(SPCall->getArgOperand(1));
lib/IR/AsmWriter.cpp
 3869       writeParamOperand(CI->getArgOperand(op), PAL.getParamAttributes(op));
 3914       writeParamOperand(II->getArgOperand(op), PAL.getParamAttributes(op));
 3954       writeParamOperand(CBI->getArgOperand(op), PAL.getParamAttributes(op));
lib/IR/AutoUpgrade.cpp
 1077   Value *Args[] = { CI.getArgOperand(0) , CI.getArgOperand(1),
 1077   Value *Args[] = { CI.getArgOperand(0) , CI.getArgOperand(1),
 1078                     CI.getArgOperand(2) };
 1087                              : Builder.CreateBitCast(CI.getArgOperand(1),
 1089   return EmitX86Select(Builder, CI.getArgOperand(3), V, PassThru);
 1115   Value *Src = CI.getArgOperand(0);
 1116   Value *Amt = CI.getArgOperand(1);
 1142   Value *LHS = CI.getArgOperand(0);
 1143   Value *RHS = CI.getArgOperand(1);
 1181   Value *Op0 = CI.getArgOperand(0);
 1182   Value *Op1 = CI.getArgOperand(1);
 1183   Value *Amt = CI.getArgOperand(2);
 1203     Value *VecSrc = NumArgs == 5 ? CI.getArgOperand(3) :
 1205                                    CI.getArgOperand(0);
 1253   Value *Op0 = CI.getArgOperand(0);
 1261     Res = EmitX86Select(Builder,CI.getArgOperand(2), Res, CI.getArgOperand(1));
 1261     Res = EmitX86Select(Builder,CI.getArgOperand(2), Res, CI.getArgOperand(1));
 1268   Value *Op0 = CI.getArgOperand(0);
 1269   Value *Op1 = CI.getArgOperand(1);
 1274     Res = EmitX86Select(Builder, CI.getArgOperand(3), Res, CI.getArgOperand(2));
 1274     Res = EmitX86Select(Builder, CI.getArgOperand(3), Res, CI.getArgOperand(2));
 1283   Value *LHS = Builder.CreateBitCast(CI.getArgOperand(0), Ty);
 1284   Value *RHS = Builder.CreateBitCast(CI.getArgOperand(1), Ty);
 1303     Res = EmitX86Select(Builder, CI.getArgOperand(3), Res, CI.getArgOperand(2));
 1303     Res = EmitX86Select(Builder, CI.getArgOperand(3), Res, CI.getArgOperand(2));
 1333   Value *Op0 = CI.getArgOperand(0);
 1352     Cmp = Builder.CreateICmp(Pred, Op0, CI.getArgOperand(1));
 1355   Value *Mask = CI.getArgOperand(CI.getNumArgOperands() - 1);
 1365                                  { CI.getArgOperand(0), CI.getArgOperand(1) });
 1365                                  { CI.getArgOperand(0), CI.getArgOperand(1) });
 1366   return EmitX86Select(Builder, CI.getArgOperand(3), Rep, CI.getArgOperand(2));
 1366   return EmitX86Select(Builder, CI.getArgOperand(3), Rep, CI.getArgOperand(2));
 1370   Value* A = CI.getArgOperand(0);
 1371   Value* B = CI.getArgOperand(1);
 1372   Value* Src = CI.getArgOperand(2);
 1373   Value* Mask = CI.getArgOperand(3);
 1385   Value* Op = CI.getArgOperand(0);
 1627   Rep = EmitX86Select(Builder, CI.getArgOperand(NumArgs - 1), Rep,
 1628                       CI.getArgOperand(NumArgs - 2));
 1675       Value *Arg0 = CI->getArgOperand(0);
 1676       Value *Arg1 = CI->getArgOperand(1);
 1702       Value *Arg0 = CI->getArgOperand(0);
 1703       Value *Arg1 = CI->getArgOperand(1);
 1720       Value *Arg0 = CI->getArgOperand(0);
 1721       Value *Arg1 = CI->getArgOperand(1);
 1739       Value *Arg0 = CI->getArgOperand(0);
 1740       Value *Arg1 = CI->getArgOperand(1);
 1753       Value *Mask = Builder.CreateAnd(CI->getArgOperand(2), Builder.getInt8(1));
 1754       UpgradeMaskedStore(Builder, CI->getArgOperand(0), CI->getArgOperand(1),
 1754       UpgradeMaskedStore(Builder, CI->getArgOperand(0), CI->getArgOperand(1),
 1765       UpgradeMaskedStore(Builder, CI->getArgOperand(0), CI->getArgOperand(1),
 1765       UpgradeMaskedStore(Builder, CI->getArgOperand(0), CI->getArgOperand(1),
 1766                          CI->getArgOperand(2), Aligned);
 1780                                CI->getArgOperand(0), CI->getArgOperand(1));
 1780                                CI->getArgOperand(0), CI->getArgOperand(1));
 1788       Rep = Builder.CreateZExt(CI->getArgOperand(0), ExtTy);
 1792       Value *Vec = CI->getArgOperand(0);
 1804                                {CI->getArgOperand(0)});
 1807           (!isa<ConstantInt>(CI->getArgOperand(3)) ||
 1808            cast<ConstantInt>(CI->getArgOperand(3))->getZExtValue() != 4)) {
 1812         Value *Args[] = { CI->getArgOperand(0), CI->getArgOperand(3) };
 1812         Value *Args[] = { CI->getArgOperand(0), CI->getArgOperand(3) };
 1819                                  {CI->getArgOperand(0)});
 1821       Rep = EmitX86Select(Builder, CI->getArgOperand(2), Rep,
 1822                           CI->getArgOperand(1));
 1825       Value *Op0 = CI->getArgOperand(0);
 1826       Value *Op1 = CI->getArgOperand(1);
 1827       Value *Mask = CI->getArgOperand(2);
 1837           CI->getArgOperand(1)->getType()->getVectorNumElements();
 1838       Rep = Builder.CreateVectorSplat(NumElts, CI->getArgOperand(0));
 1839       Rep = EmitX86Select(Builder, CI->getArgOperand(2), Rep,
 1840                           CI->getArgOperand(1));
 1843       Value *LHS = getX86MaskVec(Builder, CI->getArgOperand(0), NumElts);
 1844       Value *RHS = getX86MaskVec(Builder, CI->getArgOperand(1), NumElts);
 1861       Value *LHS = getX86MaskVec(Builder, CI->getArgOperand(0), 16);
 1862       Value *RHS = getX86MaskVec(Builder, CI->getArgOperand(1), 16);
 1866       Value *LHS = getX86MaskVec(Builder, CI->getArgOperand(0), 16);
 1867       Value *RHS = getX86MaskVec(Builder, CI->getArgOperand(1), 16);
 1872       Value *LHS = getX86MaskVec(Builder, CI->getArgOperand(0), 16);
 1873       Value *RHS = getX86MaskVec(Builder, CI->getArgOperand(1), 16);
 1877       Value *LHS = getX86MaskVec(Builder, CI->getArgOperand(0), 16);
 1878       Value *RHS = getX86MaskVec(Builder, CI->getArgOperand(1), 16);
 1882       Value *LHS = getX86MaskVec(Builder, CI->getArgOperand(0), 16);
 1883       Value *RHS = getX86MaskVec(Builder, CI->getArgOperand(1), 16);
 1888       Rep = getX86MaskVec(Builder, CI->getArgOperand(0), 16);
 1893       Value *LHS = getX86MaskVec(Builder, CI->getArgOperand(0), 16);
 1894       Value *RHS = getX86MaskVec(Builder, CI->getArgOperand(1), 16);
 1909       Value *Elt0 = Builder.CreateExtractElement(CI->getArgOperand(0),
 1911       Value *Elt1 = Builder.CreateExtractElement(CI->getArgOperand(1),
 1922       Rep = Builder.CreateInsertElement(CI->getArgOperand(0), EltOp,
 1929       Type *OpTy = CI->getArgOperand(0)->getType();
 1940                                { CI->getOperand(0), CI->getArgOperand(1) });
 1941       Rep = ApplyX86MaskOn1BitsVec(Builder, Rep, CI->getArgOperand(2));
 1943       Type *OpTy = CI->getArgOperand(0)->getType();
 1963                                { CI->getOperand(0), CI->getArgOperand(1) });
 1964       Rep = ApplyX86MaskOn1BitsVec(Builder, Rep, CI->getArgOperand(2));
 1966       Type *OpTy = CI->getArgOperand(0)->getType();
 1986       Args.push_back(CI->getArgOperand(0));
 1987       Args.push_back(CI->getArgOperand(1));
 1988       Args.push_back(CI->getArgOperand(2));
 1990         Args.push_back(CI->getArgOperand(4));
 1994       Rep = ApplyX86MaskOn1BitsVec(Builder, Rep, CI->getArgOperand(3));
 1998       unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
 2001       unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
 2007       Value *Op = CI->getArgOperand(0);
 2055       Rep = Builder.CreateSIToFP(CI->getArgOperand(1),
 2057       Rep = Builder.CreateInsertElement(CI->getArgOperand(0), Rep, (uint64_t)0);
 2059       Rep = Builder.CreateUIToFP(CI->getArgOperand(1),
 2061       Rep = Builder.CreateInsertElement(CI->getArgOperand(0), Rep, (uint64_t)0);
 2063       Rep = Builder.CreateExtractElement(CI->getArgOperand(1), (uint64_t)0);
 2065       Rep = Builder.CreateInsertElement(CI->getArgOperand(0), Rep, (uint64_t)0);
 2085       Rep = CI->getArgOperand(0);
 2100                (!isa<ConstantInt>(CI->getArgOperand(3)) ||
 2101                 cast<ConstantInt>(CI->getArgOperand(3))->getZExtValue() != 4)) {
 2106         Rep = Builder.CreateCall(F, { Rep, CI->getArgOperand(3) });
 2113         Rep = EmitX86Select(Builder, CI->getArgOperand(2), Rep,
 2114                             CI->getArgOperand(1));
 2116       Rep = UpgradeMaskedLoad(Builder, CI->getArgOperand(0),
 2117                               CI->getArgOperand(1), CI->getArgOperand(2),
 2117                               CI->getArgOperand(1), CI->getArgOperand(2),
 2120       Rep = UpgradeMaskedLoad(Builder, CI->getArgOperand(0),
 2121                               CI->getArgOperand(1),CI->getArgOperand(2),
 2121                               CI->getArgOperand(1),CI->getArgOperand(2),
 2131       Value *MaskVec = getX86MaskVec(Builder, CI->getArgOperand(2),
 2139       Type *ResultTy = CI->getArgOperand(1)->getType();
 2146       Value *MaskVec = getX86MaskVec(Builder, CI->getArgOperand(2),
 2152       Rep = Builder.CreateCall(CSt, { CI->getArgOperand(1), Ptr, MaskVec });
 2157       Value *MaskVec = getX86MaskVec(Builder, CI->getArgOperand(2),
 2179         Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
 2204       Value *Sel = CI->getArgOperand(2);
 2206       Value *Sel0 = Builder.CreateAnd(CI->getArgOperand(0), Sel);
 2207       Value *Sel1 = Builder.CreateAnd(CI->getArgOperand(1), NotSel);
 2229       Value *Trunc0 = Builder.CreateTrunc(CI->getArgOperand(0), Type::getInt32Ty(C));
 2230       Rep = Builder.CreateCall(CRC32, {Trunc0, CI->getArgOperand(1)});
 2238       Value *Cast = Builder.CreateBitCast(CI->getArgOperand(0),
 2252       VectorType *SrcTy = cast<VectorType>(CI->getArgOperand(0)->getType());
 2262           CI->getArgOperand(0), UndefValue::get(SrcTy), ShuffleMask);
 2269         Rep = EmitX86Select(Builder, CI->getArgOperand(2), Rep,
 2270                             CI->getArgOperand(1));
 2275       Type *Ty = CI->getArgOperand(1)->getType();
 2276       Rep = Builder.CreateTrunc(CI->getArgOperand(0), Ty);
 2277       Rep = EmitX86Select(Builder, CI->getArgOperand(2), Rep,
 2278                           CI->getArgOperand(1));
 2285       Value *Op = Builder.CreatePointerCast(CI->getArgOperand(0),
 2296       unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
 2312       Rep = Builder.CreateShuffleVector(CI->getArgOperand(0),
 2313                                         CI->getArgOperand(1), ShuffleMask);
 2314       Rep = EmitX86Select(Builder, CI->getArgOperand(4), Rep,
 2315                           CI->getArgOperand(3));
 2319                         CI->getArgOperand(0)->getType()->getVectorNumElements();
 2326       Rep = Builder.CreateShuffleVector(CI->getArgOperand(0),
 2327                                         CI->getArgOperand(0),
 2329       Rep = EmitX86Select(Builder, CI->getArgOperand(2), Rep,
 2330                           CI->getArgOperand(1));
 2336       Value *Op = CI->getArgOperand(0);
 2343         Rep = EmitX86Select(Builder, CI->getArgOperand(2), Rep,
 2344                             CI->getArgOperand(1));
 2364       Rep = UpgradeX86ALIGNIntrinsics(Builder, CI->getArgOperand(0),
 2365                                       CI->getArgOperand(1),
 2366                                       CI->getArgOperand(2),
 2367                                       CI->getArgOperand(3),
 2368                                       CI->getArgOperand(4),
 2371       Rep = UpgradeX86ALIGNIntrinsics(Builder, CI->getArgOperand(0),
 2372                                       CI->getArgOperand(1),
 2373                                       CI->getArgOperand(2),
 2374                                       CI->getArgOperand(3),
 2375                                       CI->getArgOperand(4),
 2380       unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
 2381       Rep = UpgradeX86PSLLDQIntrinsics(Builder, CI->getArgOperand(0),
 2386       unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
 2387       Rep = UpgradeX86PSRLDQIntrinsics(Builder, CI->getArgOperand(0),
 2393       unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
 2394       Rep = UpgradeX86PSLLDQIntrinsics(Builder, CI->getArgOperand(0), Shift);
 2399       unsigned Shift = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
 2400       Rep = UpgradeX86PSRLDQIntrinsics(Builder, CI->getArgOperand(0), Shift);
 2406       Value *Op0 = CI->getArgOperand(0);
 2407       Value *Op1 = CI->getArgOperand(1);
 2408       unsigned Imm = cast <ConstantInt>(CI->getArgOperand(2))->getZExtValue();
 2420       Value *Op0 = CI->getArgOperand(0);
 2421       Value *Op1 = CI->getArgOperand(1);
 2422       unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
 2460         Rep = EmitX86Select(Builder, CI->getArgOperand(4), Rep,
 2461                             CI->getArgOperand(3));
 2465       Value *Op0 = CI->getArgOperand(0);
 2466       unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
 2483         Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2484                             CI->getArgOperand(2));
 2489       Value *Op0 = CI->getArgOperand(0);
 2490       unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
 2501         Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2502                             CI->getArgOperand(2));
 2513       uint8_t Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
 2520       Value *V0 = (Imm & 0x02) ? CI->getArgOperand(1) : CI->getArgOperand(0);
 2520       Value *V0 = (Imm & 0x02) ? CI->getArgOperand(1) : CI->getArgOperand(0);
 2521       Value *V1 = (Imm & 0x20) ? CI->getArgOperand(1) : CI->getArgOperand(0);
 2521       Value *V1 = (Imm & 0x20) ? CI->getArgOperand(1) : CI->getArgOperand(0);
 2543       Value *Op0 = CI->getArgOperand(0);
 2544       unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
 2561         Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2562                             CI->getArgOperand(2));
 2565       Value *Op0 = CI->getArgOperand(0);
 2566       unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
 2580         Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2581                             CI->getArgOperand(2));
 2584       Value *Op0 = CI->getArgOperand(0);
 2585       unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue();
 2599         Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2600                             CI->getArgOperand(2));
 2602       Value *Op0 = CI->getArgOperand(0);
 2603       Value *Op1 = CI->getArgOperand(1);
 2604       unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue();
 2624       Rep = EmitX86Select(Builder, CI->getArgOperand(4), Rep,
 2625                           CI->getArgOperand(3));
 2629       Value *Op0 = CI->getArgOperand(0);
 2646       Rep = EmitX86Select(Builder, CI->getArgOperand(2), Rep,
 2647                           CI->getArgOperand(1));
 2650       Value *Op0 = CI->getArgOperand(0);
 2651       Value *Op1 = CI->getArgOperand(1);
 2662       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2663                           CI->getArgOperand(2));
 2666       Value *Op0 = CI->getArgOperand(0);
 2667       Value *Op1 = CI->getArgOperand(1);
 2678       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2679                           CI->getArgOperand(2));
 2684       Rep = Builder.CreateAnd(Builder.CreateBitCast(CI->getArgOperand(0), ITy),
 2685                               Builder.CreateBitCast(CI->getArgOperand(1), ITy));
 2687       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2688                           CI->getArgOperand(2));
 2693       Rep = Builder.CreateNot(Builder.CreateBitCast(CI->getArgOperand(0), ITy));
 2695                               Builder.CreateBitCast(CI->getArgOperand(1), ITy));
 2697       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2698                           CI->getArgOperand(2));
 2703       Rep = Builder.CreateOr(Builder.CreateBitCast(CI->getArgOperand(0), ITy),
 2704                              Builder.CreateBitCast(CI->getArgOperand(1), ITy));
 2706       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2707                           CI->getArgOperand(2));
 2712       Rep = Builder.CreateXor(Builder.CreateBitCast(CI->getArgOperand(0), ITy),
 2713                               Builder.CreateBitCast(CI->getArgOperand(1), ITy));
 2715       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2716                           CI->getArgOperand(2));
 2718       Rep = Builder.CreateAdd(CI->getArgOperand(0), CI->getArgOperand(1));
 2718       Rep = Builder.CreateAdd(CI->getArgOperand(0), CI->getArgOperand(1));
 2719       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2720                           CI->getArgOperand(2));
 2722       Rep = Builder.CreateSub(CI->getArgOperand(0), CI->getArgOperand(1));
 2722       Rep = Builder.CreateSub(CI->getArgOperand(0), CI->getArgOperand(1));
 2723       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2724                           CI->getArgOperand(2));
 2726       Rep = Builder.CreateMul(CI->getArgOperand(0), CI->getArgOperand(1));
 2726       Rep = Builder.CreateMul(CI->getArgOperand(0), CI->getArgOperand(1));
 2727       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2728                           CI->getArgOperand(2));
 2738                                  { CI->getArgOperand(0), CI->getArgOperand(1),
 2738                                  { CI->getArgOperand(0), CI->getArgOperand(1),
 2739                                    CI->getArgOperand(4) });
 2741         Rep = Builder.CreateFAdd(CI->getArgOperand(0), CI->getArgOperand(1));
 2741         Rep = Builder.CreateFAdd(CI->getArgOperand(0), CI->getArgOperand(1));
 2743       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2744                           CI->getArgOperand(2));
 2754                                  { CI->getArgOperand(0), CI->getArgOperand(1),
 2754                                  { CI->getArgOperand(0), CI->getArgOperand(1),
 2755                                    CI->getArgOperand(4) });
 2757         Rep = Builder.CreateFDiv(CI->getArgOperand(0), CI->getArgOperand(1));
 2757         Rep = Builder.CreateFDiv(CI->getArgOperand(0), CI->getArgOperand(1));
 2759       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2760                           CI->getArgOperand(2));
 2770                                  { CI->getArgOperand(0), CI->getArgOperand(1),
 2770                                  { CI->getArgOperand(0), CI->getArgOperand(1),
 2771                                    CI->getArgOperand(4) });
 2773         Rep = Builder.CreateFMul(CI->getArgOperand(0), CI->getArgOperand(1));
 2773         Rep = Builder.CreateFMul(CI->getArgOperand(0), CI->getArgOperand(1));
 2775       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2776                           CI->getArgOperand(2));
 2786                                  { CI->getArgOperand(0), CI->getArgOperand(1),
 2786                                  { CI->getArgOperand(0), CI->getArgOperand(1),
 2787                                    CI->getArgOperand(4) });
 2789         Rep = Builder.CreateFSub(CI->getArgOperand(0), CI->getArgOperand(1));
 2789         Rep = Builder.CreateFSub(CI->getArgOperand(0), CI->getArgOperand(1));
 2791       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2792                           CI->getArgOperand(2));
 2805                                { CI->getArgOperand(0), CI->getArgOperand(1),
 2805                                { CI->getArgOperand(0), CI->getArgOperand(1),
 2806                                  CI->getArgOperand(4) });
 2807       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep,
 2808                           CI->getArgOperand(2));
 2813                                { CI->getArgOperand(0), Builder.getInt1(false) });
 2814       Rep = EmitX86Select(Builder, CI->getArgOperand(2), Rep,
 2815                           CI->getArgOperand(1));
 3027       Value *Ptr = CI->getArgOperand(0);
 3044       Value *Ops[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3044       Value *Ops[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3045                        CI->getArgOperand(2) };
 3066         Rep = Builder.CreateInsertElement(CI->getArgOperand(0), Rep,
 3069       Value *Ops[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3069       Value *Ops[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3070                        CI->getArgOperand(2) };
 3095       Value *A = CI->getArgOperand(0);
 3096       Value *B = CI->getArgOperand(1);
 3097       Value *C = CI->getArgOperand(2);
 3110       if (!isa<ConstantInt>(CI->getArgOperand(4)) ||
 3111           cast<ConstantInt>(CI->getArgOperand(4))->getZExtValue() != 4) {
 3112         Value *Ops[] = { A, B, C, CI->getArgOperand(4) };
 3134         PassThru = Builder.CreateExtractElement(CI->getArgOperand(2),
 3137       Rep = EmitX86ScalarSelect(Builder, CI->getArgOperand(3),
 3139       Rep = Builder.CreateInsertElement(CI->getArgOperand(IsMask3 ? 2 : 0),
 3155       Value *A = CI->getArgOperand(0);
 3156       Value *B = CI->getArgOperand(1);
 3157       Value *C = CI->getArgOperand(2);
 3167           (!isa<ConstantInt>(CI->getArgOperand(4)) ||
 3168            cast<ConstantInt>(CI->getArgOperand(4))->getZExtValue() != 4)) {
 3177                                  { A, B, C, CI->getArgOperand(4) });
 3186                         IsMask3 ? CI->getArgOperand(2) :
 3187                                   CI->getArgOperand(0);
 3189       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, PassThru);
 3195       Value *Ops[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3195       Value *Ops[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3196                        CI->getArgOperand(2) };
 3222           (!isa<ConstantInt>(CI->getArgOperand(4)) ||
 3223            cast<ConstantInt>(CI->getArgOperand(4))->getZExtValue() != 4)) {
 3231         Value *Ops[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3231         Value *Ops[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3232                          CI->getArgOperand(2), CI->getArgOperand(4) };
 3232                          CI->getArgOperand(2), CI->getArgOperand(4) };
 3237                                  {CI->getArgOperand(0), CI->getArgOperand(1),
 3237                                  {CI->getArgOperand(0), CI->getArgOperand(1),
 3238                                   CI->getArgOperand(2), CI->getArgOperand(4)});
 3238                                   CI->getArgOperand(2), CI->getArgOperand(4)});
 3242         Value *Ops[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3242         Value *Ops[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3243                          CI->getArgOperand(2) };
 3262                         IsMask3 ? CI->getArgOperand(2) :
 3263                                   CI->getArgOperand(0);
 3265       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, PassThru);
 3287       Value *Args[] = { CI->getArgOperand(0) , CI->getArgOperand(1),
 3287       Value *Args[] = { CI->getArgOperand(0) , CI->getArgOperand(1),
 3288                         CI->getArgOperand(2), CI->getArgOperand(3) };
 3288                         CI->getArgOperand(2), CI->getArgOperand(3) };
 3292                                  : CI->getArgOperand(0);
 3293       Rep = EmitX86Select(Builder, CI->getArgOperand(4), Rep, PassThru);
 3315       Value *Args[] = { CI->getArgOperand(0) , CI->getArgOperand(1),
 3315       Value *Args[] = { CI->getArgOperand(0) , CI->getArgOperand(1),
 3316                         CI->getArgOperand(2) };
 3320                                  : CI->getArgOperand(0);
 3321       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, PassThru);
 3351       Value *Args[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3351       Value *Args[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3352                         CI->getArgOperand(2)  };
 3356                                  : CI->getArgOperand(0);
 3357       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, PassThru);
 3381       Value *Args[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3381       Value *Args[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3382                         CI->getArgOperand(2)  };
 3386                                  : CI->getArgOperand(0);
 3387       Rep = EmitX86Select(Builder, CI->getArgOperand(3), Rep, PassThru);
 3404       Value *Args[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3404       Value *Args[] = { CI->getArgOperand(0), CI->getArgOperand(1),
 3405                         CI->getArgOperand(2)};
 3413       Value *Ptr = Builder.CreateBitCast(CI->getArgOperand(3),
 3425       Value *Arg = CI->getArgOperand(0);
 3432       Value *Ptr = CI->getArgOperand(0);
 3433       Value *Val = CI->getArgOperand(1);
 3438       Value *Arg0 = CI->getArgOperand(0);
 3439       Value *Arg1 = CI->getArgOperand(1);
 3446       Value *Arg0 = CI->getArgOperand(0);
 3447       Value *Arg1 = CI->getArgOperand(1);
 3454       Value *Arg = CI->getArgOperand(0);
 3463       Value *Arg = CI->getArgOperand(0);
 3473                                CI->getArgOperand(0), "h2f");
 3540     NewCall = Builder.CreateCall(NewFn, {CI->getArgOperand(0)});
 3548         Builder.CreateCall(NewFn, {CI->getArgOperand(0), Builder.getFalse()});
 3554                                    : CI->getArgOperand(2);
 3556         CI->getNumArgOperands() < 4 ? Builder.getFalse() : CI->getArgOperand(3);
 3558         NewFn, {CI->getArgOperand(0), CI->getArgOperand(1), NullIsUnknownSize, Dynamic});
 3558         NewFn, {CI->getArgOperand(0), CI->getArgOperand(1), NullIsUnknownSize, Dynamic});
 3563     NewCall = Builder.CreateCall(NewFn, {CI->getArgOperand(0)});
 3567     NewCall = Builder.CreateCall(NewFn, {CI->getArgOperand(0)});
 3574     if (auto *Offset = dyn_cast_or_null<Constant>(CI->getArgOperand(1)))
 3578             {CI->getArgOperand(0), CI->getArgOperand(2), CI->getArgOperand(3)});
 3578             {CI->getArgOperand(0), CI->getArgOperand(2), CI->getArgOperand(3)});
 3578             {CI->getArgOperand(0), CI->getArgOperand(2), CI->getArgOperand(3)});
 3586     NewCall = Builder.CreateCall(NewFn, {CI->getArgOperand(1)});
 3609     Value *Arg0 = CI->getArgOperand(0);
 3614     Value *Arg1 = CI->getArgOperand(1);
 3635     Value *Ptr = Builder.CreateBitCast(CI->getArgOperand(0),
 3701     Value *Args[4] = {CI->getArgOperand(0), CI->getArgOperand(1),
 3701     Value *Args[4] = {CI->getArgOperand(0), CI->getArgOperand(1),
 3702                       CI->getArgOperand(2), CI->getArgOperand(4)};
 3702                       CI->getArgOperand(2), CI->getArgOperand(4)};
 3706     const ConstantInt *Align = cast<ConstantInt>(CI->getArgOperand(3));
 3890         Value *Arg = CI->getArgOperand(I);
lib/IR/Instructions.cpp
  313     return getArgOperand(Index - AttributeList::FirstArgIndex);
  317       return getArgOperand(Index - AttributeList::FirstArgIndex);
  826       if (dyn_cast<BlockAddress>(getArgOperand(ArgNo)) == Old)
lib/IR/IntrinsicInst.cpp
   40   Value *Op = getArgOperand(0);
   98     return const_cast<Value *>(getArgOperand(4));
  109       cast<MetadataAsValue>(getArgOperand(NumOperands - 2))->getMetadata();
  155       cast<MetadataAsValue>(getArgOperand(NumOperands - 1))->getMetadata();
lib/IR/Value.cpp
  516           V = Call->getArgOperand(0);
lib/IR/Verifier.cpp
 1950       cast<ConstantInt>(Call.getArgOperand(1))->getSExtValue();
 1957   const Value *Target = Call.getArgOperand(2);
 1963   const int NumCallArgs = cast<ConstantInt>(Call.getArgOperand(3))->getZExtValue();
 1983     = cast<ConstantInt>(Call.getArgOperand(4))->getZExtValue();
 1992     Type *ArgType = Call.getArgOperand(5 + i)->getType();
 2008   const Value *NumTransitionArgsV = Call.getArgOperand(EndCallArgsInx + 1);
 2019   const Value *NumDeoptArgsV = Call.getArgOperand(EndTransitionArgsInx + 1);
 2048       Assert(UserCall->getArgOperand(0) == &Call,
 2051       Assert(UserCall->getArgOperand(0) == &Call,
 2841     Assert(Call.getArgOperand(i)->getType() == FTy->getParamType(i),
 2843            Call.getArgOperand(i), FTy->getParamType(i), Call);
 2870     Value *InAllocaArg = Call.getArgOperand(FTy->getNumParams() - 1);
 2881       Value *SwiftErrorArg = Call.getArgOperand(i);
 2901              Call.getArgOperand(i), Call);
 2905       Value *ArgVal = Call.getArgOperand(i);
 2925       Type *Ty = Call.getArgOperand(Idx)->getType();
 4287     auto *InfoArg = Call.getArgOperand(3)->stripPointerCasts();
 4335     Assert(isa<MetadataAsValue>(Call.getArgOperand(0)),
 4406           dyn_cast<AllocaInst>(Call.getArgOperand(0)->stripPointerCasts());
 4408       Assert(isa<Constant>(Call.getArgOperand(1)),
 4411         Assert(!isa<ConstantPointerNull>(Call.getArgOperand(1)),
 4422     Assert(isa<Function>(Call.getArgOperand(1)->stripPointerCasts()),
 4427     Assert(cast<ConstantInt>(Call.getArgOperand(1))->getZExtValue() < 2 &&
 4428            cast<ConstantInt>(Call.getArgOperand(2))->getZExtValue() < 4,
 4432     Assert(isa<AllocaInst>(Call.getArgOperand(1)->stripPointerCasts()),
 4453     Value *FnArg = Call.getArgOperand(0)->stripPointerCasts();
 4459     auto *IdxArg = cast<ConstantInt>(Call.getArgOperand(2));
 4479     const auto *StatepointCall = dyn_cast<CallBase>(Call.getArgOperand(0));
 4486            Call.getArgOperand(0));
 4489     const Value *Target = StatepointCall->getArgOperand(2);
 4506             dyn_cast<LandingPadInst>(Call.getArgOperand(0))) {
 4523       auto Token = Call.getArgOperand(0);
 4533     Value *Base = Call.getArgOperand(1);
 4537     Value *Derived = Call.getArgOperand(2);
 4553     Assert(isa<ConstantInt>(StatepointCall.getArgOperand(3)),
 4556         cast<ConstantInt>(StatepointCall.getArgOperand(3))->getZExtValue();
 4559     Assert(isa<ConstantInt>(StatepointCall.getArgOperand(NumCallArgs + 5)),
 4563         cast<ConstantInt>(StatepointCall.getArgOperand(NumCallArgs + 5))
 4566     Assert(isa<ConstantInt>(StatepointCall.getArgOperand(DeoptArgsStart)),
 4570         cast<ConstantInt>(StatepointCall.getArgOperand(DeoptArgsStart))
 4605     Assert(isa<CatchPadInst>(Call.getArgOperand(0)),
 4613     Value *Ptr = Call.getArgOperand(0);
 4614     ConstantInt *Alignment = cast<ConstantInt>(Call.getArgOperand(1));
 4615     Value *Mask = Call.getArgOperand(2);
 4616     Value *PassThru = Call.getArgOperand(3);
 4634     Value *Val = Call.getArgOperand(0);
 4635     Value *Ptr = Call.getArgOperand(1);
 4636     ConstantInt *Alignment = cast<ConstantInt>(Call.getArgOperand(2));
 4637     Value *Mask = Call.getArgOperand(3);
 4687     Value *Op1 = Call.getArgOperand(0);
 4688     Value *Op2 = Call.getArgOperand(1);
 4701     Value *Op1 = Call.getArgOperand(0);
 4702     Value *Op2 = Call.getArgOperand(1);
 4710     auto *Op3 = cast<ConstantInt>(Call.getArgOperand(2));
 4729     Type *ValTy = Call.getArgOperand(0)->getType();
 4786     Type *ValTy = FPI.getArgOperand(0)->getType();
 4799     Type *ValTy = FPI.getArgOperand(0)->getType();
 4835     Value *Operand = FPI.getArgOperand(0);
 4868     Value *Operand = FPI.getArgOperand(0);
 4917   auto *MD = cast<MetadataAsValue>(DII.getArgOperand(0))->getMetadata();
lib/Target/AArch64/AArch64FastISel.cpp
 3402   const Value *LHS = II->getArgOperand(0);
 3403   const Value *RHS = II->getArgOperand(1);
 3695     const Value *LHS = II->getArgOperand(0);
 3696     const Value *RHS = II->getArgOperand(1);
lib/Target/AArch64/AArch64ISelLowering.cpp
 8382     Info.ptrVal = I.getArgOperand(I.getNumArgOperands() - 1);
 8402       Type *ArgTy = I.getArgOperand(ArgI)->getType();
 8408     Info.ptrVal = I.getArgOperand(I.getNumArgOperands() - 1);
 8417     PointerType *PtrTy = cast<PointerType>(I.getArgOperand(0)->getType());
 8420     Info.ptrVal = I.getArgOperand(0);
 8428     PointerType *PtrTy = cast<PointerType>(I.getArgOperand(1)->getType());
 8431     Info.ptrVal = I.getArgOperand(1);
 8441     Info.ptrVal = I.getArgOperand(0);
 8450     Info.ptrVal = I.getArgOperand(2);
lib/Target/AArch64/AArch64StackTagging.cpp
  548             llvm::findAllocaForValue(II->getArgOperand(1), AllocaForValue);
  636           dyn_cast<ConstantInt>(Start->getArgOperand(0))->getZExtValue();
  638       tagAlloca(AI, Start->getNextNode(), Start->getArgOperand(1), Size);
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  803       if (Inst->getArgOperand(i)->getType() != ST->getElementType(i))
  809       Value *L = Inst->getArgOperand(i);
  833     Info.PtrVal = Inst->getArgOperand(0);
  840     Info.PtrVal = Inst->getArgOperand(Inst->getNumArgOperands() - 1);
lib/Target/AMDGPU/AMDGPULibCalls.cpp
  517     Value *opr0 = aCI->getArgOperand(0);
  533       new StoreInst(cosval, aCI->getArgOperand(1), aCI);
  591   auto *PacketSize = CI->getArgOperand(NumArg - 2);
  592   auto *PacketAlign = CI->getArgOperand(NumArg - 1);
  606   auto PtrArg = CI->getArgOperand(PtrArgLoc);
  612     ArgTys.push_back(CI->getArgOperand(I)->getType());
  626     Args.push_back(CI->getArgOperand(I));
  743   Value *opr0 = CI->getArgOperand(0);
  823   Value *opr0 = CI->getArgOperand(0);
  841   Value *opr0 = CI->getArgOperand(0);
  842   Value *opr1 = CI->getArgOperand(1);
  882   opr0 = CI->getArgOperand(0);
  883   opr1 = CI->getArgOperand(1);
 1135     opr_n = CI->getArgOperand(1);
 1156   Value *opr0 = CI->getArgOperand(0);
 1157   Value *opr1 = CI->getArgOperand(1);
 1210   Value *opr0 = CI->getArgOperand(0);
 1211   Value *opr1 = CI->getArgOperand(1);
 1212   Value *opr2 = CI->getArgOperand(2);
 1269       Value *opr0 = CI->getArgOperand(0);
 1291   Value *CArgVal = CI->getArgOperand(0);
 1305         CArgVal = CI->getArgOperand(0);
 1359   CallInst *Call = CreateCallEx2(B, Fsincos, UI->getArgOperand(0), P);
 1631     if ((copr0 = dyn_cast<Constant>(aCI->getArgOperand(0))) == nullptr)
 1636     if ((copr1 = dyn_cast<Constant>(aCI->getArgOperand(1))) == nullptr) {
 1643     if ((copr2 = dyn_cast<Constant>(aCI->getArgOperand(2))) == nullptr)
 1705     new StoreInst(nval1, aCI->getArgOperand(1), aCI);
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  161     Value *Op = CI->getArgOperand(0);
  210         Value *Arg = CI->getArgOperand(ArgCount);
  407         Value *Arg = CI->getArgOperand(ArgCount);
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  319     auto *Ordering = dyn_cast<ConstantInt>(Inst->getArgOperand(2));
  320     auto *Volatile = dyn_cast<ConstantInt>(Inst->getArgOperand(4));
  328     Info.PtrVal = Inst->getArgOperand(0);
  619     const ConstantInt *IsVolatile = cast<ConstantInt>(II->getArgOperand(4));
lib/Target/AMDGPU/SIISelLowering.cpp
  920         CI.getArgOperand(RsrcIntr->RsrcArg));
  925         CI.getArgOperand(RsrcIntr->RsrcArg));
  940       Info.memVT = MVT::getVT(CI.getArgOperand(0)->getType());
  983       CI.getArgOperand(1));
 1055     Value *Ptr = II->getArgOperand(0);
lib/Target/ARM/ARMCodeGenPrepare.cpp
  632         Value *Arg = Call->getArgOperand(i);
  758         Value *Arg = Call->getArgOperand(i);
lib/Target/ARM/ARMISelLowering.cpp
16260     Info.ptrVal = I.getArgOperand(0);
16262     Value *AlignArg = I.getArgOperand(I.getNumArgOperands() - 1);
16276     Info.ptrVal = I.getArgOperand(I.getNumArgOperands() - 1);
16295       Type *ArgTy = I.getArgOperand(ArgI)->getType();
16301     Info.ptrVal = I.getArgOperand(0);
16303     Value *AlignArg = I.getArgOperand(I.getNumArgOperands() - 1);
16317       Type *ArgTy = I.getArgOperand(ArgI)->getType();
16323     Info.ptrVal = I.getArgOperand(0);
16333     PointerType *PtrTy = cast<PointerType>(I.getArgOperand(0)->getType());
16336     Info.ptrVal = I.getArgOperand(0);
16345     PointerType *PtrTy = cast<PointerType>(I.getArgOperand(1)->getType());
16348     Info.ptrVal = I.getArgOperand(1);
16358     Info.ptrVal = I.getArgOperand(2);
16368     Info.ptrVal = I.getArgOperand(0);
lib/Target/ARM/MVETailPredication.cpp
  177   bool Changed = TryConvert(Setup->getArgOperand(0));
  458     auto *Predicate = dyn_cast<Instruction>(I->getArgOperand(PredOp));
lib/Target/BPF/BPFAbstractMemberAccess.cpp
  244     CInfo.AccessIndex = getConstant(Call->getArgOperand(2));
  245     CInfo.Base = Call->getArgOperand(0);
  253     CInfo.AccessIndex = getConstant(Call->getArgOperand(1));
  254     CInfo.Base = Call->getArgOperand(0);
  262     CInfo.AccessIndex = getConstant(Call->getArgOperand(2));
  263     CInfo.Base = Call->getArgOperand(0);
  270     uint64_t InfoKind = getConstant(Call->getArgOperand(1));
  286       Dimension = getConstant(Call->getArgOperand(DimensionIndex));
  293     IdxList.push_back(Call->getArgOperand(GEPIndex));
  295     auto *GEP = GetElementPtrInst::CreateInBounds(Call->getArgOperand(0),
  338     Call->replaceAllUsesWith(Call->getArgOperand(0));
lib/Target/Hexagon/HexagonISelLowering.cpp
 1819     Type *VecTy = I.getArgOperand(1)->getType();
 1821     Info.ptrVal = I.getArgOperand(0);
lib/Target/NVPTX/NVPTXISelLowering.cpp
 3497     Info.ptrVal = I.getArgOperand(0);
 3521     Info.ptrVal = I.getArgOperand(0);
 3547     Info.ptrVal = I.getArgOperand(0);
 3585     Info.ptrVal = I.getArgOperand(0);
 3606     Info.ptrVal = I.getArgOperand(0);
 3627     Info.ptrVal = I.getArgOperand(0);
 3648     Info.ptrVal = I.getArgOperand(0);
 3665     Info.ptrVal = I.getArgOperand(0);
 3686     Info.ptrVal = I.getArgOperand(0);
 3707     Info.ptrVal = I.getArgOperand(0);
 3728     Info.ptrVal = I.getArgOperand(0);
 3745     Info.ptrVal = I.getArgOperand(0);
 3780     Info.ptrVal = I.getArgOperand(0);
 3798     Info.ptrVal = I.getArgOperand(0);
 3802         MaybeAlign(cast<ConstantInt>(I.getArgOperand(1))->getZExtValue());
 3818     Info.ptrVal = I.getArgOperand(0);
 3822         MaybeAlign(cast<ConstantInt>(I.getArgOperand(1))->getZExtValue());
lib/Target/NVPTX/NVVMReflect.cpp
  129     const Value *Str = Call->getArgOperand(0);
  132       Str = ConvCall->getArgOperand(0);
lib/Target/PowerPC/PPCISelLowering.cpp
14675     Info.ptrVal = I.getArgOperand(0);
14709     Info.ptrVal = I.getArgOperand(0);
14761     Info.ptrVal = I.getArgOperand(1);
14794     Info.ptrVal = I.getArgOperand(1);
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  190       return IMemI->getArgOperand(0);
  258           PtrValue = IMemI->getArgOperand(0);
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  324             if (CI->getArgOperand(0)->getType()->getScalarType()->
  361           if (!CI->getArgOperand(0)->getType()->isFloatingPointTy())
  416               TLI->getValueType(DL, CI->getArgOperand(0)->getType(), true);
lib/Target/RISCV/RISCVISelLowering.cpp
  240     PointerType *PtrTy = cast<PointerType>(I.getArgOperand(0)->getType());
  243     Info.ptrVal = I.getArgOperand(0);
lib/Target/SystemZ/SystemZTDC.cpp
  221       Op0 = CI->getArgOperand(0);
  265     Value *V = CI->getArgOperand(0);
  266     auto *MaskC = dyn_cast<ConstantInt>(CI->getArgOperand(1));
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  834     Value *V = Call->getArgOperand(I);
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  578     Info.ptrVal = I.getArgOperand(0);
  592     Info.ptrVal = I.getArgOperand(0);
  600     Info.ptrVal = I.getArgOperand(0);
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  821           IRB.CreateCall(EHTypeIDF, CI->getArgOperand(0), "typeid");
  935     Value *Args[] = {CI->getArgOperand(0), IRB.getInt32(SetjmpRetPHIs.size()),
lib/Target/X86/X86FastISel.cpp
 2609     const Value *Op = II->getArgOperand(0);
 2771     const Value *Op1 = II->getArgOperand(0); // The guard's value.
 2772     const AllocaInst *Slot = cast<AllocaInst>(II->getArgOperand(1));
 2831     const Value *SrcVal = II->getArgOperand(0);
 2880     const Value *LHS = II->getArgOperand(0);
 2881     const Value *RHS = II->getArgOperand(1);
 3029     const Value *Op = II->getArgOperand(0);
lib/Target/X86/X86ISelLowering.cpp
 4800     Info.ptrVal = I.getArgOperand(0);
 4801     MVT VT  = MVT::getVT(I.getArgOperand(1)->getType());
 4820     MVT IndexVT = MVT::getVT(I.getArgOperand(2)->getType());
 4831     MVT DataVT = MVT::getVT(I.getArgOperand(3)->getType());
 4832     MVT IndexVT = MVT::getVT(I.getArgOperand(2)->getType());
lib/Transforms/Coroutines/CoroCleanup.cpp
   67         II->replaceAllUsesWith(II->getArgOperand(1));
   70         II->replaceAllUsesWith(II->getArgOperand(1));
lib/Transforms/Coroutines/CoroEarly.cpp
   66   Value *Operand = Intrin->getArgOperand(0);
   91   Value *Operand = II->getArgOperand(0);
lib/Transforms/Coroutines/CoroInstr.h
   48   Value *getFrame() const { return getArgOperand(FrameArg); }
   57     return cast<ConstantInt>(getArgOperand(IndexArg));
  118     Value *Arg = getArgOperand(PromiseArg);
  125     Value *Arg = getArgOperand(PromiseArg);
  177     return cast<Constant>(getArgOperand(InfoArg)->stripPointerCasts());
  183     return cast<Function>(getArgOperand(CoroutineArg)->stripPointerCasts());
  186     assert(isa<ConstantPointerNull>(getArgOperand(CoroutineArg)) &&
  211     return cast<ConstantInt>(getArgOperand(SizeArg))->getZExtValue();
  215     return cast<ConstantInt>(getArgOperand(AlignArg))->getZExtValue();
  219     return getArgOperand(StorageArg);
  226     return cast<Function>(getArgOperand(PrototypeArg)->stripPointerCasts());
  231     return cast<Function>(getArgOperand(AllocArg)->stripPointerCasts());
  236     return cast<Function>(getArgOperand(DeallocArg)->stripPointerCasts());
  293   Value *getFrame() const { return getArgOperand(FrameArg); }
  310     return cast<AnyCoroIdInst>(getArgOperand(IdArg));
  313   Value *getMem() const { return getArgOperand(MemArg); }
  342     return cast<Constant>(getArgOperand(FromArg))->isOneValue();
  345     return cast<ConstantInt>(getArgOperand(AlignArg))->getZExtValue();
  377     Value *Arg = getArgOperand(SaveArg);
  385     return cast<Constant>(getArgOperand(FinalArg))->isOneValue();
  447     return cast<Constant>(getArgOperand(UnwindArg))->isOneValue();
  464     return getArgOperand(SizeArg);
  467     return cast<ConstantInt>(getArgOperand(AlignArg))->getZExtValue();
  484     return cast<CoroAllocaAllocInst>(getArgOperand(AllocArg));
  501     return cast<CoroAllocaAllocInst>(getArgOperand(AllocArg));
lib/Transforms/Coroutines/CoroSplit.cpp
  538       auto Value = MappedOp->getArgOperand(0);
 1437   auto CastFn = Prepare->getArgOperand(0); // as an i8*
lib/Transforms/Coroutines/Coroutines.cpp
  627   checkConstantInt(this, getArgOperand(SizeArg),
  629   checkConstantInt(this, getArgOperand(AlignArg),
  631   checkWFRetconPrototype(this, getArgOperand(PrototypeArg));
  632   checkWFAlloc(this, getArgOperand(AllocArg));
  633   checkWFDealloc(this, getArgOperand(DeallocArg));
lib/Transforms/IPO/Attributor.cpp
  483       assert(cast<CallBase>(*AnchorVal).getArgOperand(getArgNo()) ==
 1204         VisitReturnedValue(*CB->getArgOperand(Arg->getArgNo()), RVS);
lib/Transforms/IPO/GlobalDCE.cpp
  244     auto *Offset = dyn_cast<ConstantInt>(CI->getArgOperand(1));
  245     Value *TypeIdValue = CI->getArgOperand(2);
lib/Transforms/IPO/GlobalOpt.cpp
 1335   Constant *ConstantZero = ConstantInt::get(CI->getArgOperand(0)->getType(), 0);
 1336   Value *RunningOr = new ICmpInst(CI, ICmpInst::ICMP_SLT, CI->getArgOperand(0),
 1523   if (NElems == ConstantInt::get(CI->getArgOperand(0)->getType(), 1))
 2895       dyn_cast<Function>(CI->getArgOperand(0)->stripPointerCasts());
lib/Transforms/IPO/LowerTypeTests.cpp
  733   Value *Ptr = CI->getArgOperand(0);
 1027   auto TypeIdMDVal = dyn_cast<MetadataAsValue>(CI->getArgOperand(1));
 2002       auto TypeIdMDVal = dyn_cast<MetadataAsValue>(CI->getArgOperand(1));
lib/Transforms/IPO/StripSymbols.cpp
  259       Value *Arg1 = CI->getArgOperand(0);
  260       Value *Arg2 = CI->getArgOperand(1);
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
   90         cast<MetadataAsValue>(CI->getArgOperand(ArgNo))->getMetadata();
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1575           cast<MetadataAsValue>(CI->getArgOperand(1))->getMetadata();
 1576       Value *Ptr = CI->getArgOperand(0)->stripPointerCasts();
 1609     Value *Ptr = CI->getArgOperand(0);
 1610     Value *Offset = CI->getArgOperand(1);
 1611     Value *TypeIdValue = CI->getArgOperand(2);
lib/Transforms/InstCombine/InstCombineCalls.cpp
  159     cast<PointerType>(MI->getArgOperand(1)->getType())->getAddressSpace();
  161     cast<PointerType>(MI->getArgOperand(0)->getType())->getAddressSpace();
  184   Value *Src = Builder.CreateBitCast(MI->getArgOperand(1), NewSrcPtrTy);
  185   Value *Dest = Builder.CreateBitCast(MI->getArgOperand(0), NewDstPtrTy);
  357   auto Arg1 = II.getArgOperand(1);
  384   auto Vec = II.getArgOperand(0);
  467   auto *CShift = dyn_cast<Constant>(II.getArgOperand(1));
  471   auto Vec = II.getArgOperand(0);
  546   Value *Arg0 = II.getArgOperand(0);
  547   Value *Arg1 = II.getArgOperand(1);
  612   Value *Arg = II.getArgOperand(0);
  642   Value *CarryIn = II.getArgOperand(0);
  643   Value *Op1 = II.getArgOperand(1);
  644   Value *Op2 = II.getArgOperand(2);
  669   auto *CInt = dyn_cast<ConstantInt>(II.getArgOperand(2));
  697   Value *V1 = II.getArgOperand(1);
  702     if ((II.getArgOperand(0) == II.getArgOperand(1)) ||
  702     if ((II.getArgOperand(0) == II.getArgOperand(1)) ||
  721   return Builder.CreateShuffleVector(II.getArgOperand(0), V1, ShuffleMask);
  917   Constant *V = dyn_cast<Constant>(II.getArgOperand(1));
  956   auto V1 = II.getArgOperand(0);
  964   Constant *V = dyn_cast<Constant>(II.getArgOperand(1));
 1006   auto V1 = II.getArgOperand(0);
 1014   auto *V = dyn_cast<Constant>(II.getArgOperand(1));
 1043   auto V1 = II.getArgOperand(0);
 1051   Value *LoadPtr = II.getArgOperand(0);
 1052   unsigned Alignment = cast<ConstantInt>(II.getArgOperand(1))->getZExtValue();
 1056   if (maskIsAllOneOrUndef(II.getArgOperand(2)))
 1067     return Builder.CreateSelect(II.getArgOperand(2), LI, II.getArgOperand(3));
 1067     return Builder.CreateSelect(II.getArgOperand(2), LI, II.getArgOperand(3));
 1077   auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(3));
 1087     Value *StorePtr = II.getArgOperand(1);
 1089         cast<ConstantInt>(II.getArgOperand(2))->getZExtValue());
 1090     return new StoreInst(II.getArgOperand(0), StorePtr, false, Alignment);
 1123   auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(3));
 1158   auto *Arg = II.getArgOperand(0);
 1187   Value *Op0 = II.getArgOperand(0);
 1194     return CallInst::Create(F, {X, II.getArgOperand(1)});
 1237     if (!match(II.getArgOperand(1), m_One())) {
 1261   Value *Op0 = II.getArgOperand(0);
 1403   auto *C = dyn_cast<Constant>(II.getArgOperand(1));
 1431   auto *V1 = II.getArgOperand(0);
 1442   auto *IntrAlign = dyn_cast<ConstantInt>(II.getArgOperand(1));
 1453   auto *BCastInst = Builder.CreateBitCast(II.getArgOperand(0),
 1465     if (I.getArgOperand(i) != E.getArgOperand(i))
 1465     if (I.getArgOperand(i) != E.getArgOperand(i))
 1719     Type *Tys[] = {II->getArgOperand(0)->getType()};
 1726     return BinaryOperator::Create(*Action.BinaryOp, II->getArgOperand(0),
 1727                                   II->getArgOperand(1), II->getName());
 1731     return CastInst::Create(*Action.CastOp, II->getArgOperand(0), II->getType(),
 1742         Instruction::FDiv, ConstantFP::get(II->getArgOperand(0)->getType(), 1),
 1743         II->getArgOperand(0), II->getName());
 1760   Value *Arg0 = Call.getArgOperand(0), *Arg1 = Call.getArgOperand(1);
 1760   Value *Arg0 = Call.getArgOperand(0), *Arg1 = Call.getArgOperand(1);
 1833           Type *Tys[3] = { CI.getArgOperand(0)->getType(),
 1834                            CI.getArgOperand(1)->getType(),
 1835                            CI.getArgOperand(2)->getType() };
 1890     Value *IIOperand = II->getArgOperand(0);
 1919     if (ConstantInt *Power = dyn_cast<ConstantInt>(II->getArgOperand(1))) {
 1925                                           II->getArgOperand(0));
 1928         return BinaryOperator::CreateFMul(II->getArgOperand(0),
 1929                                           II->getArgOperand(0));
 1946     Value *Op0 = II->getArgOperand(0), *Op1 = II->getArgOperand(1);
 1946     Value *Op0 = II->getArgOperand(0), *Op1 = II->getArgOperand(1);
 1950     if (match(II->getArgOperand(2), m_Constant(ShAmtC)) &&
 2022     Value *Arg0 = II->getArgOperand(0);
 2023     Value *Arg1 = II->getArgOperand(1);
 2055     Value *Arg0 = II->getArgOperand(0);
 2056     Value *Arg1 = II->getArgOperand(1);
 2129           match(Other->getArgOperand(0), m_Value(X)) &&
 2130           match(Other->getArgOperand(1), m_APInt(Val2))) {
 2160     Value *Arg0 = II->getArgOperand(0);
 2161     Value *Arg1 = II->getArgOperand(1);
 2195           ((match(M->getArgOperand(0), m_Value(X)) &&
 2196             match(M->getArgOperand(1), m_APFloat(C2))) ||
 2197            (match(M->getArgOperand(1), m_Value(X)) &&
 2198             match(M->getArgOperand(0), m_APFloat(C2))))) {
 2230       Value *Mul = Builder.CreateFMul(II->getArgOperand(0),
 2231                                       II->getArgOperand(1));
 2232       Value *Add = Builder.CreateFAdd(Mul, II->getArgOperand(2));
 2238     if (Value *V = SimplifyFMulInst(II->getArgOperand(0), II->getArgOperand(1),
 2238     if (Value *V = SimplifyFMulInst(II->getArgOperand(0), II->getArgOperand(1),
 2241       auto *FAdd = BinaryOperator::CreateFAdd(V, II->getArgOperand(2));
 2253     Value *Src0 = II->getArgOperand(0);
 2254     Value *Src1 = II->getArgOperand(1);
 2272     if (Value *V = SimplifyFMAFMul(II->getArgOperand(0), II->getArgOperand(1),
 2272     if (Value *V = SimplifyFMAFMul(II->getArgOperand(0), II->getArgOperand(1),
 2275       auto *FAdd = BinaryOperator::CreateFAdd(V, II->getArgOperand(2));
 2285     if (match(II->getArgOperand(0),
 2301     if (match(II->getArgOperand(0), m_OneUse(m_FPExt(m_Value(ExtSrc))))) {
 2311     Value *Src = II->getArgOperand(0);
 2322     if (match(II->getArgOperand(0), m_OneUse(m_FNeg(m_Value(X))))) {
 2334     if (getOrEnforceKnownAlignment(II->getArgOperand(0), 16, DL, II, &AC,
 2336       Value *Ptr = Builder.CreateBitCast(II->getArgOperand(0),
 2344     Value *Ptr = Builder.CreateBitCast(II->getArgOperand(0),
 2351     if (getOrEnforceKnownAlignment(II->getArgOperand(1), 16, DL, II, &AC,
 2354         PointerType::getUnqual(II->getArgOperand(0)->getType());
 2355       Value *Ptr = Builder.CreateBitCast(II->getArgOperand(1), OpPtrTy);
 2356       return new StoreInst(II->getArgOperand(0), Ptr);
 2362     Type *OpPtrTy = PointerType::getUnqual(II->getArgOperand(0)->getType());
 2363     Value *Ptr = Builder.CreateBitCast(II->getArgOperand(1), OpPtrTy);
 2364     return new StoreInst(II->getArgOperand(0), Ptr, false, Align::None());
 2368     if (getOrEnforceKnownAlignment(II->getArgOperand(0), 16, DL, II, &AC,
 2372       Value *Ptr = Builder.CreateBitCast(II->getArgOperand(0),
 2380     if (getOrEnforceKnownAlignment(II->getArgOperand(0), 32, DL, II, &AC,
 2382       Value *Ptr = Builder.CreateBitCast(II->getArgOperand(0),
 2389     if (getOrEnforceKnownAlignment(II->getArgOperand(1), 16, DL, II, &AC,
 2392           II->getArgOperand(0)->getType()->getVectorNumElements());
 2393       Value *TOp = Builder.CreateFPTrunc(II->getArgOperand(0), VTy);
 2395       Value *Ptr = Builder.CreateBitCast(II->getArgOperand(1), OpPtrTy);
 2401     if (getOrEnforceKnownAlignment(II->getArgOperand(1), 32, DL, II, &AC,
 2404         PointerType::getUnqual(II->getArgOperand(0)->getType());
 2405       Value *Ptr = Builder.CreateBitCast(II->getArgOperand(1), OpPtrTy);
 2406       return new StoreInst(II->getArgOperand(0), Ptr);
 2415     if (auto *C = dyn_cast<ConstantInt>(II->getArgOperand(1))) {
 2424       if (auto *InC = dyn_cast<ConstantInt>(II->getArgOperand(0))) {
 2439     if (auto *C = dyn_cast<ConstantInt>(II->getArgOperand(1))) {
 2443         return replaceInstUsesWith(CI, II->getArgOperand(0));
 2447       if (auto *InC = dyn_cast<ConstantInt>(II->getArgOperand(0))) {
 2458     auto Arg = II->getArgOperand(0);
 2526     Value *Arg = II->getArgOperand(0);
 2577     Value *Arg0 = II->getArgOperand(0);
 2578     Value *Arg1 = II->getArgOperand(1);
 2599     Value *Arg0 = II->getArgOperand(0);
 2600     Value *Arg1 = II->getArgOperand(1);
 2634     if (auto *R = dyn_cast<ConstantInt>(II->getArgOperand(2))) {
 2636         Value *Arg0 = II->getArgOperand(0);
 2637         Value *Arg1 = II->getArgOperand(1);
 2675     if (auto *R = dyn_cast<ConstantInt>(II->getArgOperand(4))) {
 2678         Value *Arg0 = II->getArgOperand(0);
 2679         Value *Arg1 = II->getArgOperand(1);
 2705         Value *Mask = II->getArgOperand(3);
 2715           Value *Passthru = Builder.CreateExtractElement(II->getArgOperand(2),
 2794     Value *Arg1 = II->getArgOperand(1);
 2860     if (auto *C = dyn_cast<ConstantInt>(II->getArgOperand(2))) {
 2864       Value *Arg0 = II->getArgOperand(0);
 2865       Value *Arg1 = II->getArgOperand(1);
 2904     Value *Op0 = II->getArgOperand(0);
 2905     Value *Op1 = II->getArgOperand(1);
 2944     Value *Op0 = II->getArgOperand(0);
 2950     ConstantInt *CILength = dyn_cast<ConstantInt>(II->getArgOperand(1));
 2951     ConstantInt *CIIndex = dyn_cast<ConstantInt>(II->getArgOperand(2));
 2967     Value *Op0 = II->getArgOperand(0);
 2968     Value *Op1 = II->getArgOperand(1);
 3003     Value *Op0 = II->getArgOperand(0);
 3004     Value *Op1 = II->getArgOperand(1);
 3012     ConstantInt *CILength = dyn_cast<ConstantInt>(II->getArgOperand(2));
 3013     ConstantInt *CIIndex = dyn_cast<ConstantInt>(II->getArgOperand(3));
 3046     Value *Op0 = II->getArgOperand(0);
 3047     Value *Op1 = II->getArgOperand(1);
 3048     Value *Mask = II->getArgOperand(2);
 3164     if (Constant *Mask = dyn_cast<Constant>(II->getArgOperand(2))) {
 3180         Value *Op0 = Builder.CreateBitCast(II->getArgOperand(0),
 3182         Value *Op1 = Builder.CreateBitCast(II->getArgOperand(1),
 3217     unsigned MemAlign = getKnownAlignment(II->getArgOperand(0),
 3238         getKnownAlignment(II->getArgOperand(0), DL, II, &AC, &DT);
 3240     ConstantInt *IntrAlign = dyn_cast<ConstantInt>(II->getArgOperand(AlignArg));
 3260     Value *Arg0 = II->getArgOperand(0);
 3261     Value *Arg1 = II->getArgOperand(1);
 3298     Value *DataArg = II->getArgOperand(0);
 3299     Value *KeyArg  = II->getArgOperand(1);
 3315     assert(II->getArgOperand(CarryOp)->getType()->getScalarSizeInBits() == 32 &&
 3325     Value *Src = II->getArgOperand(0);
 3345     Value *Src = II->getArgOperand(0);
 3354     Value *Src = II->getArgOperand(0);
 3394     Value *Src0 = II->getArgOperand(0);
 3395     Value *Src1 = II->getArgOperand(1);
 3473     Value *Src0 = II->getArgOperand(0);
 3474     Value *Src1 = II->getArgOperand(1);
 3501     Value *Src0 = II->getArgOperand(0);
 3502     Value *Src1 = II->getArgOperand(1);
 3512     Value *Src = II->getArgOperand(0);
 3520     ConstantInt *CWidth = dyn_cast<ConstantInt>(II->getArgOperand(2));
 3535     ConstantInt *COffset = dyn_cast<ConstantInt>(II->getArgOperand(1));
 3573     ConstantInt *En = cast<ConstantInt>(II->getArgOperand(1));
 3583         Value *Src = II->getArgOperand(I + 2);
 3600     Value *Src0 = II->getArgOperand(0);
 3601     Value *Src1 = II->getArgOperand(1);
 3602     Value *Src2 = II->getArgOperand(2);
 3663     const ConstantInt *CC = cast<ConstantInt>(II->getArgOperand(2));
 3673     Value *Src0 = II->getArgOperand(0);
 3674     Value *Src1 = II->getArgOperand(1);
 3799     if (!isa<Constant>(II->getArgOperand(0)))
 3802     return replaceInstUsesWith(*II, II->getArgOperand(0));
 3805     const ConstantInt *C = dyn_cast<ConstantInt>(II->getArgOperand(0));
 3813     Value *Old = II->getArgOperand(0);
 3815     auto BC = cast<ConstantInt>(II->getArgOperand(5));
 3816     auto RM = cast<ConstantInt>(II->getArgOperand(3));
 3817     auto BM = cast<ConstantInt>(II->getArgOperand(4));
 3831     if (Constant *C = dyn_cast<Constant>(II->getArgOperand(0)))
 3836     Value *Src = II->getArgOperand(0);
 3853                   m_Value(), m_Specific(II->getArgOperand(1)))))
 3862     if (IntrinsicInst *SS = dyn_cast<IntrinsicInst>(II->getArgOperand(0))) {
 3922     Value *IIOperand = II->getArgOperand(0);
 4045       Value *CurrCond = II->getArgOperand(0);
 4705   Function *NestF = cast<Function>(Tramp.getArgOperand(1)->stripPointerCasts());
 4742             Value *NestVal = Tramp.getArgOperand(2);
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1645       Value *Src = II->getArgOperand(0);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 3032     Cmp.setOperand(0, II->getArgOperand(0));
 3041       Cmp.setOperand(0, II->getArgOperand(0));
 3057       Cmp.setOperand(0, Builder.CreateAnd(II->getArgOperand(0), Mask1));
 3071       Cmp.setOperand(0, II->getArgOperand(0));
 3083       Value *Or = Builder.CreateOr(II->getArgOperand(0), II->getArgOperand(1));
 3083       Value *Or = Builder.CreateOr(II->getArgOperand(0), II->getArgOperand(1));
 3097                               II->getArgOperand(0), II->getArgOperand(1));
 3097                               II->getArgOperand(0), II->getArgOperand(1));
 3124                              II->getArgOperand(0), ConstantInt::get(Ty, Limit));
 3133                              II->getArgOperand(0), ConstantInt::get(Ty, Limit));
 3146                              Builder.CreateAnd(II->getArgOperand(0), Mask),
 3155                              Builder.CreateAnd(II->getArgOperand(0), Mask),
lib/Transforms/InstCombine/InstCombineSelect.cpp
  827   return CallInst::Create(F, {X, II->getArgOperand(1)});
  885   if (II->hasOneUse() && !match(II->getArgOperand(1), m_One()))
lib/Transforms/InstCombine/InstCombineShifts.cpp
  994       Value *Cmp = Builder.CreateICmpEQ(II->getArgOperand(0), RHS);
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  679             NewVal = BinaryOperator::CreateLShr(II->getArgOperand(0),
  682             NewVal = BinaryOperator::CreateShl(II->getArgOperand(0),
  728           auto Arg = II->getArgOperand(0);
  992     ConstantInt *DMask = cast<ConstantInt>(II->getArgOperand(DMaskIdx));
 1044     Args.push_back(II->getArgOperand(I));
 1170     Value *Op = II ? II->getArgOperand(OpNum) : Inst->getOperand(OpNum);
 1515         return II->getArgOperand(0);
 1535         return II->getArgOperand(0);
 1562         return II->getArgOperand(0);
 1596         return II->getArgOperand(0);
 1623       auto *Ty0 = II->getArgOperand(0)->getType();
lib/Transforms/InstCombine/InstructionCombining.cpp
 2447   Value *Op = FI.getArgOperand(0);
 2512   Value *Op = FI.getArgOperand(0);
lib/Transforms/Instrumentation/AddressSanitizer.cpp
 1051     auto *Size = cast<ConstantInt>(II.getArgOperand(0));
 1062         llvm::findAllocaForValue(II.getArgOperand(1), AllocaForValue);
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1654           if (CustomCI->getArgOperand(ArgNo)->getType() == DFSF.DFS.ShadowTy)
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2409         {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()),
 2410          IRB.CreatePointerCast(I.getArgOperand(1), IRB.getInt8PtrTy()),
 2411          IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
 2423         {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()),
 2424          IRB.CreatePointerCast(I.getArgOperand(1), IRB.getInt8PtrTy()),
 2425          IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
 2434         {IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()),
 2435          IRB.CreateIntCast(I.getArgOperand(1), IRB.getInt32Ty(), false),
 2436          IRB.CreateIntCast(I.getArgOperand(2), MS.IntptrTy, false)});
 2454     Value* Addr = I.getArgOperand(0);
 2478     Value *Addr = I.getArgOperand(0);
 2522       Type *Ty = I.getArgOperand(i)->getType();
 2530       SC.Add(I.getArgOperand(i));
 2552         I.getArgOperand(0)->getType()->isPointerTy() &&
 2553         I.getArgOperand(1)->getType()->isVectorTy() &&
 2561         I.getArgOperand(0)->getType()->isPointerTy() &&
 2586         llvm::findAllocaForValue(I.getArgOperand(1), AllocaForValue);
 2594     Value *Op = I.getArgOperand(0);
 2623       assert(isa<ConstantInt>(I.getArgOperand(2)) && "Invalid rounding mode");
 2626       CopyOp = I.getArgOperand(0);
 2627       ConvertOp = I.getArgOperand(1);
 2630       ConvertOp = I.getArgOperand(0);
 2873     Value* Addr = I.getArgOperand(0);
 2890     Value *Addr = I.getArgOperand(0);
 2908     Value *V = I.getArgOperand(0);
 2909     Value *Addr = I.getArgOperand(1);
 2910     unsigned Align = cast<ConstantInt>(I.getArgOperand(2))->getZExtValue();
 2911     Value *Mask = I.getArgOperand(3);
 2938     Value *Addr = I.getArgOperand(0);
 2939     unsigned Align = cast<ConstantInt>(I.getArgOperand(1))->getZExtValue();
 2940     Value *Mask = I.getArgOperand(2);
 2941     Value *PassThru = I.getArgOperand(3);
 3908     Value *VAListTag = I.getArgOperand(0);
 3960       Value *VAListTag = OrigInst->getArgOperand(0);
 4062     Value *VAListTag = I.getArgOperand(0);
 4074     Value *VAListTag = I.getArgOperand(0);
 4103       Value *VAListTag = OrigInst->getArgOperand(0);
 4231     Value *VAListTag = I.getArgOperand(0);
 4243     Value *VAListTag = I.getArgOperand(0);
 4298       Value *VAListTag = OrigInst->getArgOperand(0);
 4498     Value *VAListTag = I.getArgOperand(0);
 4509     Value *VAListTag = I.getArgOperand(0);
 4540       Value *VAListTag = OrigInst->getArgOperand(0);
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  605         {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()),
  606          IRB.CreateIntCast(M->getArgOperand(1), IRB.getInt32Ty(), false),
  607          IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)});
  612         {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()),
  613          IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()),
  614          IRB.CreateIntCast(M->getArgOperand(2), IntptrTy, false)});
lib/Transforms/ObjCARC/ObjCARC.h
   52   Value *OldArg = cast<CallInst>(CI)->getArgOperand(0);
lib/Transforms/ObjCARC/ObjCARCAPElim.cpp
  103       if (Push && cast<CallInst>(Inst)->getArgOperand(0) == Push) {
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  508     if (IsNullOrUndef(CI->getArgOperand(1))) {
  511       new StoreInst(Null, CI->getArgOperand(0), CI);
  691     Value *Arg = cast<CallInst>(Inst)->getArgOperand(0);
lib/Transforms/ObjCARC/ObjCARCExpand.cpp
  113       Value *Value = cast<CallInst>(Inst)->getArgOperand(0);
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  100                cast<CallInst>(Arg)->getArgOperand(0));
  801       if (IsNullOrUndef(CI->getArgOperand(0))) {
  803         Type *Ty = CI->getArgOperand(0)->getType();
  821       if (IsNullOrUndef(CI->getArgOperand(0)) ||
  822           IsNullOrUndef(CI->getArgOperand(1))) {
  824         Type *Ty = CI->getArgOperand(0)->getType();
  853       const Value *Arg = Call->getArgOperand(0);
  863         CallInst *NewCall = CallInst::Create(Decl, Call->getArgOperand(0), "",
 1006           Type *ParamTy = CInst->getArgOperand(0)->getType();
 1922         Value *Arg = Call->getArgOperand(0);
 1923         Value *EarlierArg = EarlierCall->getArgOperand(0);
 1951         Value *Arg = Call->getArgOperand(0);
 1952         Value *EarlierArg = EarlierCall->getArgOperand(0);
 1963           Call->replaceAllUsesWith(EarlierCall->getArgOperand(1));
 2002     Value *Arg = Call->getArgOperand(0);
 2022           UserInst->replaceAllUsesWith(UserInst->getArgOperand(1));
lib/Transforms/Scalar/ADCE.cpp
  348         if (isa<Constant>(CI->getArgOperand(0)))
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
  203   ICmpInst *ICI = dyn_cast<ICmpInst>(I->getArgOperand(0));
lib/Transforms/Scalar/DeadStoreElimination.cpp
  205       return MemoryLocation(II->getArgOperand(0));
  207       uint64_t Len = cast<ConstantInt>(II->getArgOperand(0))->getZExtValue();
  208       return MemoryLocation(II->getArgOperand(1), Len);
  684       if (!AA->isMustAlias(F->getArgOperand(0), DepPointer))
lib/Transforms/Scalar/EarlyCSE.cpp
  924           dyn_cast<Instruction>(cast<CallInst>(Inst)->getArgOperand(0));
  967               dyn_cast<Instruction>(cast<CallInst>(Inst)->getArgOperand(0))) {
lib/Transforms/Scalar/GVN.cpp
  405         uint32_t c_vn = lookupOrAdd(C->getArgOperand(i));
  406         uint32_t cd_vn = lookupOrAdd(local_cdep->getArgOperand(i));
  459       uint32_t c_vn = lookupOrAdd(C->getArgOperand(i));
  460       uint32_t cd_vn = lookupOrAdd(cdep->getArgOperand(i));
 1401   Value *V = IntrinsicI->getArgOperand(0);
lib/Transforms/Scalar/GuardWidening.cpp
   98     return GI->getArgOperand(0);
lib/Transforms/Scalar/InferAddressSpaces.cpp
  289     appendsFlatAddressExpressionToPostorderStack(II->getArgOperand(0),
  296         appendsFlatAddressExpressionToPostorderStack(II->getArgOperand(Idx),
lib/Transforms/Scalar/JumpThreading.cpp
 2690   Value *GuardCond = Guard->getArgOperand(0);
lib/Transforms/Scalar/LICM.cpp
 1016         cast<ConstantInt>(II->getArgOperand(0))->getSExtValue() * 8;
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  809       if (II->getArgOperand(0) == OperandVal)
  814       if (II->getArgOperand(0) == OperandVal ||
  815           II->getArgOperand(1) == OperandVal)
  853       AccessTy.AddrSpace = II->getArgOperand(0)->getType()->getPointerAddressSpace();
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
   66   Value *ArgValue = CI->getArgOperand(0);
   67   ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
  100   Value &Arg = *Expect->getArgOperand(0);
  101   ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(Expect->getArgOperand(1));
  282   Value *ArgValue = CI->getArgOperand(0);
  283   ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
  354         Value *Exp = CI->getArgOperand(0);
lib/Transforms/Scalar/MemCpyOptimizer.cpp
 1075       if (ConstantInt *LTSize = dyn_cast<ConstantInt>(II->getArgOperand(0)))
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 2475         if (isa<PointerType>(Call->getArgOperand(i)->getType()))
lib/Transforms/Scalar/SROA.cpp
  934       ConstantInt *Length = cast<ConstantInt>(II.getArgOperand(0));
 3073     assert(II.getArgOperand(1) == OldPtr);
 3090         ConstantInt::get(cast<IntegerType>(II.getArgOperand(0)->getType()),
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 2393       SplitBlockAndInsertIfThen(GI->getArgOperand(0), GI, true);
 2549           auto *Cond = cast<IntrinsicInst>(&I)->getArgOperand(0);
lib/Transforms/Scalar/TailRecursionElimination.cpp
  377     if (CI->getArgOperand(ArgNo) == Arg)
  621     ArgumentPHIs[i]->addIncoming(CI->getArgOperand(i), BB);
lib/Transforms/Utils/Evaluator.cpp
  526           ConstantInt *Size = cast<ConstantInt>(II->getArgOperand(0));
  527           Value *PtrArg = getVal(II->getArgOperand(1));
lib/Transforms/Utils/GlobalStatus.cpp
  158         if (MTI->getArgOperand(0) == V)
  160         if (MTI->getArgOperand(1) == V)
  163         assert(MSI->getArgOperand(0) == V && "Memset only takes one pointer!");
lib/Transforms/Utils/GuardUtils.cpp
   33       SplitBlockAndInsertIfThen(Guard->getArgOperand(0), Guard, true);
lib/Transforms/Utils/LibCallsShrinkWrap.cpp
  106     Value *Arg = CI->getArgOperand(0);
  124     Value *Arg = CI->getArgOperand(0);
  309   Type *ArgType = CI.getArgOperand(0)->getType();
  427   Value *Base = CI->getArgOperand(0);
  428   Value *Exp = CI->getArgOperand(1);
lib/Transforms/Utils/Local.cpp
  407       return isa<UndefValue>(II->getArgOperand(1));
  415       if (ConstantInt *Cond = dyn_cast<ConstantInt>(II->getArgOperand(0)))
  426     if (Constant *C = dyn_cast<Constant>(CI->getArgOperand(0)))
 2037             if (match(CI->getArgOperand(0), m_CombineOr(m_Zero(), m_Undef()))) {
 2053             if (match(CI->getArgOperand(0), m_Zero()))
lib/Transforms/Utils/SimplifyLibCalls.cpp
  198     unsigned AS = CI->getArgOperand(ArgNo)->getType()->getPointerAddressSpace();
  226     unsigned AS = CI->getArgOperand(ArgNo)->getType()->getPointerAddressSpace();
  257   Value *Dst = CI->getArgOperand(0);
  258   Value *Src = CI->getArgOperand(1);
  298   Value *Dst = CI->getArgOperand(0);
  299   Value *Src = CI->getArgOperand(1);
  300   Value *Size = CI->getArgOperand(2);
  342   Value *SrcStr = CI->getArgOperand(0);
  347   ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1));
  357     return emitMemChr(SrcStr, CI->getArgOperand(1), // include nul.
  385   Value *SrcStr = CI->getArgOperand(0);
  386   ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1));
  413   Value *Str1P = CI->getArgOperand(0), *Str2P = CI->getArgOperand(1);
  413   Value *Str1P = CI->getArgOperand(0), *Str2P = CI->getArgOperand(1);
  468   Value *Str1P = CI->getArgOperand(0);
  469   Value *Str2P = CI->getArgOperand(1);
  470   Value *Size = CI->getArgOperand(2);
  536   Value *Src = CI->getArgOperand(0);
  537   ConstantInt *Size = dyn_cast<ConstantInt>(CI->getArgOperand(1));
  549   Value *Dst = CI->getArgOperand(0), *Src = CI->getArgOperand(1);
  549   Value *Dst = CI->getArgOperand(0), *Src = CI->getArgOperand(1);
  572   Value *Dst = CI->getArgOperand(0), *Src = CI->getArgOperand(1);
  572   Value *Dst = CI->getArgOperand(0), *Src = CI->getArgOperand(1);
  599   Value *Dst = CI->getArgOperand(0);
  600   Value *Src = CI->getArgOperand(1);
  601   Value *Size = CI->getArgOperand(2);
  647   Value *Src = CI->getArgOperand(0);
  755   bool HasS1 = getConstantStringInfo(CI->getArgOperand(0), S1);
  756   bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2);
  769     return B.CreateGEP(B.getInt8Ty(), CI->getArgOperand(0), B.getInt64(I),
  775     return emitStrChr(CI->getArgOperand(0), S2[0], B, TLI);
  781   Value *EndPtr = CI->getArgOperand(1);
  793   bool HasS1 = getConstantStringInfo(CI->getArgOperand(0), S1);
  794   bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2);
  814   bool HasS1 = getConstantStringInfo(CI->getArgOperand(0), S1);
  815   bool HasS2 = getConstantStringInfo(CI->getArgOperand(1), S2);
  831     return emitStrLen(CI->getArgOperand(0), B, DL, TLI);
  838   if (CI->getArgOperand(0) == CI->getArgOperand(1))
  838   if (CI->getArgOperand(0) == CI->getArgOperand(1))
  839     return B.CreateBitCast(CI->getArgOperand(0), CI->getType());
  842   if (isOnlyUsedInEqualityComparison(CI, CI->getArgOperand(0))) {
  843     Value *StrLen = emitStrLen(CI->getArgOperand(1), B, DL, TLI);
  846     Value *StrNCmp = emitStrNCmp(CI->getArgOperand(0), CI->getArgOperand(1),
  846     Value *StrNCmp = emitStrNCmp(CI->getArgOperand(0), CI->getArgOperand(1),
  862   bool HasStr1 = getConstantStringInfo(CI->getArgOperand(0), SearchStr);
  863   bool HasStr2 = getConstantStringInfo(CI->getArgOperand(1), ToFindStr);
  867     return B.CreateBitCast(CI->getArgOperand(0), CI->getType());
  877     Value *Result = castToCStr(CI->getArgOperand(0), B);
  885     Value *StrChr = emitStrChr(CI->getArgOperand(0), ToFindStr[0], B, TLI);
  900   Value *SrcStr = CI->getArgOperand(0);
  901   Value *Size = CI->getArgOperand(2);
  903   ConstantInt *CharC = dyn_cast<ConstantInt>(CI->getArgOperand(1));
  958     Value *C = B.CreateZExtOrTrunc(CI->getArgOperand(1), BitfieldC->getType());
 1066   Value *LHS = CI->getArgOperand(0), *RHS = CI->getArgOperand(1);
 1066   Value *LHS = CI->getArgOperand(0), *RHS = CI->getArgOperand(1);
 1067   Value *Size = CI->getArgOperand(2);
 1096     Value *LHS = CI->getArgOperand(0);
 1097     Value *RHS = CI->getArgOperand(1);
 1098     Value *Size = CI->getArgOperand(2);
 1110   Value *Size = CI->getArgOperand(2);
 1117       B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(1), 1, Size);
 1117       B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(1), 1, Size);
 1119   return CI->getArgOperand(0);
 1123   Value *Dst = CI->getArgOperand(0);
 1124   Value *N = CI->getArgOperand(2);
 1126   CallInst *NewCI = B.CreateMemCpy(Dst, 1, CI->getArgOperand(1), 1, N);
 1132   Value *Size = CI->getArgOperand(2);
 1139       B.CreateMemMove(CI->getArgOperand(0), 1, CI->getArgOperand(1), 1, Size);
 1139       B.CreateMemMove(CI->getArgOperand(0), 1, CI->getArgOperand(1), 1, Size);
 1141   return CI->getArgOperand(0);
 1147   auto *FillValue = dyn_cast<ConstantInt>(Memset->getArgOperand(1));
 1155   auto *Malloc = dyn_cast<CallInst>(Memset->getArgOperand(0));
 1170   if (Memset->getArgOperand(2) != Malloc->getArgOperand(0))
 1170   if (Memset->getArgOperand(2) != Malloc->getArgOperand(0))
 1179                                  Malloc->getArgOperand(0),
 1189   Value *Size = CI->getArgOperand(2);
 1198   Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), false);
 1199   CallInst *NewCI = B.CreateMemSet(CI->getArgOperand(0), Val, Size, 1);
 1201   return CI->getArgOperand(0);
 1205   if (isa<ConstantPointerNull>(CI->getArgOperand(0)))
 1206     return emitMalloc(CI->getArgOperand(1), B, DL, TLI);
 1222   Value *V = CI->getArgOperand(0);
 1270   V[0] = valueHasFloatPrecision(CI->getArgOperand(0));
 1271   V[1] = isBinary ? valueHasFloatPrecision(CI->getArgOperand(1)) : nullptr;
 1332     Value *Op = CI->getArgOperand(0);
 1338     Real = CI->getArgOperand(0);
 1339     Imag = CI->getArgOperand(1);
 1369     if (match(Call->getArgOperand(0), m_OneUse(m_FNeg(m_Value(X)))))
 1376     if (match(Call->getArgOperand(0), m_FNeg(m_Value(X))))
 1430   Value *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1);
 1430   Value *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1);
 1483       Value *FMul = B.CreateFMul(BaseFn->getArgOperand(0), Expo, "mul");
 1503   if (!match(Pow->getArgOperand(0), m_APFloat(BaseF)))
 1592   Value *Sqrt, *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1);
 1592   Value *Sqrt, *Base = Pow->getArgOperand(0), *Expo = Pow->getArgOperand(1);
 1636   Value *Base = Pow->getArgOperand(0);
 1637   Value *Expo = Pow->getArgOperand(1);
 1769   Value *Op = CI->getArgOperand(0);
 1808   return B.CreateCall(F, { CI->getArgOperand(0), CI->getArgOperand(1) });
 1808   return B.CreateCall(F, { CI->getArgOperand(0), CI->getArgOperand(1) });
 1824   CallInst *Arg = dyn_cast<CallInst>(Log->getArgOperand(0));
 1930     Value *MulY = B.CreateFMul(Arg->getArgOperand(1), LogX, "mul");
 1953     Value *MulY = B.CreateFMul(Arg->getArgOperand(0), LogE, "mul");
 1976   Instruction *I = dyn_cast<Instruction>(CI->getArgOperand(0));
 2039   Value *Op1 = CI->getArgOperand(0);
 2057     Ret = OpC->getArgOperand(0);
 2125   Value *Arg = CI->getArgOperand(0);
 2202   Value *Op = CI->getArgOperand(0);
 2216   Value *Op = CI->getArgOperand(0);
 2229   Value *X = CI->getArgOperand(0);
 2237   Value *Op = CI->getArgOperand(0);
 2245   Value *Op = CI->getArgOperand(0);
 2252   return B.CreateAnd(CI->getArgOperand(0),
 2258   if (!getConstantStringInfo(CI->getArgOperand(0), Str))
 2266   if (!getConstantStringInfo(CI->getArgOperand(0), Str))
 2269   if (!isa<ConstantPointerNull>(CI->getArgOperand(1)))
 2272   if (ConstantInt *CInt = dyn_cast<ConstantInt>(CI->getArgOperand(2))) {
 2316   LoadInst *LI = dyn_cast<LoadInst>(CI->getArgOperand(StreamArg));
 2328   if (!getConstantStringInfo(CI->getArgOperand(0), FormatStr))
 2368       CI->getArgOperand(1)->getType()->isIntegerTy())
 2369     return emitPutChar(CI->getArgOperand(1), B, TLI);
 2373       CI->getArgOperand(1)->getType()->isPointerTy())
 2374     return emitPutS(CI->getArgOperand(1), B, TLI);
 2418   if (!getConstantStringInfo(CI->getArgOperand(1), FormatStr))
 2429     B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(1), 1,
 2429     B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(1), 1,
 2444     if (!CI->getArgOperand(2)->getType()->isIntegerTy())
 2446     Value *V = B.CreateTrunc(CI->getArgOperand(2), B.getInt8Ty(), "char");
 2447     Value *Ptr = castToCStr(CI->getArgOperand(0), B);
 2458     if (!CI->getArgOperand(2)->getType()->isPointerTy())
 2461     Value *Len = emitStrLen(CI->getArgOperand(2), B, DL, TLI);
 2466     B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(2), 1, IncLen);
 2466     B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(2), 1, IncLen);
 2512   ConstantInt *Size = dyn_cast<ConstantInt>(CI->getArgOperand(1));
 2519   if (!getConstantStringInfo(CI->getArgOperand(2), FormatStr))
 2537         CI->getArgOperand(0), 1, CI->getArgOperand(2), 1,
 2537         CI->getArgOperand(0), 1, CI->getArgOperand(2), 1,
 2556       if (!CI->getArgOperand(3)->getType()->isIntegerTy())
 2558       Value *V = B.CreateTrunc(CI->getArgOperand(3), B.getInt8Ty(), "char");
 2559       Value *Ptr = castToCStr(CI->getArgOperand(0), B);
 2570       if (!getConstantStringInfo(CI->getArgOperand(3), Str))
 2578       B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(3), 1,
 2578       B.CreateMemCpy(CI->getArgOperand(0), 1, CI->getArgOperand(3), 1,
 2603   if (!getConstantStringInfo(CI->getArgOperand(1), FormatStr))
 2619         CI->getArgOperand(1),
 2621         CI->getArgOperand(0), B, DL, TLI);
 2633     if (!CI->getArgOperand(2)->getType()->isIntegerTy())
 2635     return emitFPutC(CI->getArgOperand(2), CI->getArgOperand(0), B, TLI);
 2635     return emitFPutC(CI->getArgOperand(2), CI->getArgOperand(0), B, TLI);
 2640     if (!CI->getArgOperand(2)->getType()->isPointerTy())
 2642     return emitFPutS(CI->getArgOperand(2), CI->getArgOperand(0), B, TLI);
 2642     return emitFPutS(CI->getArgOperand(2), CI->getArgOperand(0), B, TLI);
 2686   ConstantInt *SizeC = dyn_cast<ConstantInt>(CI->getArgOperand(1));
 2687   ConstantInt *CountC = dyn_cast<ConstantInt>(CI->getArgOperand(2));
 2699                                  castToCStr(CI->getArgOperand(0), B), "char");
 2700       Value *NewCI = emitFPutC(Char, CI->getArgOperand(3), B, TLI);
 2705   if (isLocallyOpenedFile(CI->getArgOperand(3), CI, B, TLI))
 2706     return emitFWriteUnlocked(CI->getArgOperand(0), CI->getArgOperand(1),
 2706     return emitFWriteUnlocked(CI->getArgOperand(0), CI->getArgOperand(1),
 2707                               CI->getArgOperand(2), CI->getArgOperand(3), B, DL,
 2707                               CI->getArgOperand(2), CI->getArgOperand(3), B, DL,
 2725     if (isLocallyOpenedFile(CI->getArgOperand(1), CI, B, TLI))
 2726       return emitFPutSUnlocked(CI->getArgOperand(0), CI->getArgOperand(1), B,
 2726       return emitFPutSUnlocked(CI->getArgOperand(0), CI->getArgOperand(1), B,
 2734   uint64_t Len = GetStringLength(CI->getArgOperand(0));
 2740       CI->getArgOperand(0),
 2742       CI->getArgOperand(1), B, DL, TLI);
 2748   if (isLocallyOpenedFile(CI->getArgOperand(1), CI, B, TLI))
 2749     return emitFPutCUnlocked(CI->getArgOperand(0), CI->getArgOperand(1), B,
 2749     return emitFPutCUnlocked(CI->getArgOperand(0), CI->getArgOperand(1), B,
 2756   if (isLocallyOpenedFile(CI->getArgOperand(0), CI, B, TLI))
 2757     return emitFGetCUnlocked(CI->getArgOperand(0), B, TLI);
 2763   if (isLocallyOpenedFile(CI->getArgOperand(2), CI, B, TLI))
 2764     return emitFGetSUnlocked(CI->getArgOperand(0), CI->getArgOperand(1),
 2764     return emitFGetSUnlocked(CI->getArgOperand(0), CI->getArgOperand(1),
 2765                              CI->getArgOperand(2), B, TLI);
 2771   if (isLocallyOpenedFile(CI->getArgOperand(3), CI, B, TLI))
 2772     return emitFReadUnlocked(CI->getArgOperand(0), CI->getArgOperand(1),
 2772     return emitFReadUnlocked(CI->getArgOperand(0), CI->getArgOperand(1),
 2773                              CI->getArgOperand(2), CI->getArgOperand(3), B, DL,
 2773                              CI->getArgOperand(2), CI->getArgOperand(3), B, DL,
 2787   if (getConstantStringInfo(CI->getArgOperand(0), Str) && Str.empty())
 2795   return B.CreateMemMove(CI->getArgOperand(1), 1, CI->getArgOperand(0), 1,
 2795   return B.CreateMemMove(CI->getArgOperand(1), 1, CI->getArgOperand(0), 1,
 2796                          CI->getArgOperand(2));
 3188     ConstantInt *Flag = dyn_cast<ConstantInt>(CI->getArgOperand(*FlagOp));
 3193   if (SizeOp && CI->getArgOperand(ObjSizeOp) == CI->getArgOperand(*SizeOp))
 3193   if (SizeOp && CI->getArgOperand(ObjSizeOp) == CI->getArgOperand(*SizeOp))
 3197           dyn_cast<ConstantInt>(CI->getArgOperand(ObjSizeOp))) {
 3204       uint64_t Len = GetStringLength(CI->getArgOperand(*StrOp));
 3216               dyn_cast<ConstantInt>(CI->getArgOperand(*SizeOp)))
 3227         CI->getArgOperand(0), 1, CI->getArgOperand(1), 1, CI->getArgOperand(2));
 3227         CI->getArgOperand(0), 1, CI->getArgOperand(1), 1, CI->getArgOperand(2));
 3227         CI->getArgOperand(0), 1, CI->getArgOperand(1), 1, CI->getArgOperand(2));
 3229     return CI->getArgOperand(0);
 3238         CI->getArgOperand(0), 1, CI->getArgOperand(1), 1, CI->getArgOperand(2));
 3238         CI->getArgOperand(0), 1, CI->getArgOperand(1), 1, CI->getArgOperand(2));
 3238         CI->getArgOperand(0), 1, CI->getArgOperand(1), 1, CI->getArgOperand(2));
 3240     return CI->getArgOperand(0);
 3250     Value *Val = B.CreateIntCast(CI->getArgOperand(1), B.getInt8Ty(), false);
 3252         B.CreateMemSet(CI->getArgOperand(0), Val, CI->getArgOperand(2), 1);
 3252         B.CreateMemSet(CI->getArgOperand(0), Val, CI->getArgOperand(2), 1);
 3254     return CI->getArgOperand(0);
 3263   Value *Dst = CI->getArgOperand(0), *Src = CI->getArgOperand(1),
 3263   Value *Dst = CI->getArgOperand(0), *Src = CI->getArgOperand(1),
 3264         *ObjSize = CI->getArgOperand(2);
 3309       return emitStrNCpy(CI->getArgOperand(0), CI->getArgOperand(1),
 3309       return emitStrNCpy(CI->getArgOperand(0), CI->getArgOperand(1),
 3310                                CI->getArgOperand(2), B, TLI);
 3312       return emitStpNCpy(CI->getArgOperand(0), CI->getArgOperand(1),
 3312       return emitStpNCpy(CI->getArgOperand(0), CI->getArgOperand(1),
 3313                          CI->getArgOperand(2), B, TLI);
 3322     return emitMemCCpy(CI->getArgOperand(0), CI->getArgOperand(1),
 3322     return emitMemCCpy(CI->getArgOperand(0), CI->getArgOperand(1),
 3323                        CI->getArgOperand(2), CI->getArgOperand(3), B, TLI);
 3323                        CI->getArgOperand(2), CI->getArgOperand(3), B, TLI);
 3332     return emitSNPrintf(CI->getArgOperand(0), CI->getArgOperand(1),
 3332     return emitSNPrintf(CI->getArgOperand(0), CI->getArgOperand(1),
 3333                         CI->getArgOperand(4), VariadicArgs, B, TLI);
 3343     return emitSPrintf(CI->getArgOperand(0), CI->getArgOperand(3), VariadicArgs,
 3343     return emitSPrintf(CI->getArgOperand(0), CI->getArgOperand(3), VariadicArgs,
 3353     return emitStrCat(CI->getArgOperand(0), CI->getArgOperand(1), B, TLI);
 3353     return emitStrCat(CI->getArgOperand(0), CI->getArgOperand(1), B, TLI);
 3361     return emitStrLCat(CI->getArgOperand(0), CI->getArgOperand(1),
 3361     return emitStrLCat(CI->getArgOperand(0), CI->getArgOperand(1),
 3362                        CI->getArgOperand(2), B, TLI);
 3370     return emitStrNCat(CI->getArgOperand(0), CI->getArgOperand(1),
 3370     return emitStrNCat(CI->getArgOperand(0), CI->getArgOperand(1),
 3371                        CI->getArgOperand(2), B, TLI);
 3379     return emitStrLCpy(CI->getArgOperand(0), CI->getArgOperand(1),
 3379     return emitStrLCpy(CI->getArgOperand(0), CI->getArgOperand(1),
 3380                        CI->getArgOperand(2), B, TLI);
 3388     return emitVSNPrintf(CI->getArgOperand(0), CI->getArgOperand(1),
 3388     return emitVSNPrintf(CI->getArgOperand(0), CI->getArgOperand(1),
 3389                          CI->getArgOperand(4), CI->getArgOperand(5), B, TLI);
 3389                          CI->getArgOperand(4), CI->getArgOperand(5), B, TLI);
 3397     return emitVSPrintf(CI->getArgOperand(0), CI->getArgOperand(3),
 3397     return emitVSPrintf(CI->getArgOperand(0), CI->getArgOperand(3),
 3398                         CI->getArgOperand(4), B, TLI);
lib/Transforms/Vectorize/LoopVectorize.cpp
 4288         Value *Arg = CI->getArgOperand(i);
 4292           Arg = getOrCreateVectorValue(CI->getArgOperand(i), Part);
lib/Transforms/Vectorize/SLPVectorizer.cpp
  456         return (CI->getArgOperand(i) == Scalar);
 2706           ScalarArgs[j] = CI->getArgOperand(j);
 2723             Value *A1J = CI2->getArgOperand(j);
 2757           Operands.push_back(CI2->getArgOperand(i));
 3201         ScalarTys.push_back(CI->getArgOperand(op)->getType());
 4125           ScalarArg = CEI->getArgOperand(j);
 4126           OpVecs.push_back(CEI->getArgOperand(j));
tools/clang/lib/CodeGen/CGCall.cpp
 2650   result = call->getArgOperand(0);
 2691   llvm::Value *retainedValue = retainCall->getArgOperand(0);
 2760           const llvm::Value *CastAddr = Intrinsic->getArgOperand(1);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 4302       if (callSite->getArgOperand(argNo)->getType() != A.getType()) {
tools/lldb/source/Expression/IRInterpreter.cpp
 1532         llvm::Value *arg_op = call_inst->getArgOperand(i);
tools/lldb/source/Plugins/ExpressionParser/Clang/IRDynamicChecks.cpp
  410         target_object = call_inst->getArgOperand(1);
  411         selector = call_inst->getArgOperand(2);
  413         target_object = call_inst->getArgOperand(0);
  414         selector = call_inst->getArgOperand(1);
  418       target_object = call_inst->getArgOperand(1);
  419       selector = call_inst->getArgOperand(2);
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
 1320     if (!MaybeHandleVariable(Old->getArgOperand(op_index))) {
tools/polly/lib/Analysis/ScopBuilder.cpp
 1536     auto *Val = CI->getArgOperand(0);
unittests/IR/IRBuilderTest.cpp
  307   EXPECT_EQ(Start1->getArgOperand(0), Builder.getInt64(-1));
  308   EXPECT_EQ(Start2->getArgOperand(0), Builder.getInt64(-1));
  309   EXPECT_EQ(Start3->getArgOperand(0), Builder.getInt64(100));
  311   EXPECT_EQ(Start1->getArgOperand(1), Var1);
  312   EXPECT_NE(Start2->getArgOperand(1), Var2);
  313   EXPECT_EQ(Start3->getArgOperand(1), Var3);
unittests/IR/InstructionsTest.cpp
   93     EXPECT_EQ(Call->getArgOperand(Idx)->getType(), Arg->getType());
  111     EXPECT_EQ(Invoke->getArgOperand(Idx)->getType(), Arg->getType());
  556   EXPECT_EQ(Call->getArgOperand(0), Clone->getArgOperand(0));
  556   EXPECT_EQ(Call->getArgOperand(0), Clone->getArgOperand(0));
  589   EXPECT_EQ(Invoke->getArgOperand(0), Clone->getArgOperand(0));
  589   EXPECT_EQ(Invoke->getArgOperand(0), Clone->getArgOperand(0));
 1107   BlockAddress *ArgBA = cast<BlockAddress>(CBI.getArgOperand(0));
unittests/Linker/LinkModulesTest.cpp
  266       cast<MDNode>(cast<MetadataAsValue>(CI->getArgOperand(0))->getMetadata());
  294   EXPECT_EQ(M1, cast<MetadataAsValue>(CI->getArgOperand(0))->getMetadata());