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

Declarations

include/llvm/IR/InstrTypes.h
   76   DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);

References

include/llvm/IR/InstrTypes.h
   61     : Instruction(Ty, iType, &Op<0>(), 1, IB) {
   62     Op<0>() = V;
   65     : Instruction(Ty, iType, &Op<0>(), 1, IAE) {
   66     Op<0>() = V;
  697   Type* getSrcTy() const { return getOperand(0)->getType(); }
include/llvm/IR/Instructions.h
   92   const Value *getArraySize() const { return getOperand(0); }
   93   Value *getArraySize() { return getOperand(0); }
  289   Value *getPointerOperand() { return getOperand(0); }
  290   const Value *getPointerOperand() const { return getOperand(0); }
 1830   Value *getPointerOperand() { return getOperand(0); }
 1831   const Value *getPointerOperand() const { return getOperand(0); }
 2348     return getOperand(0);
 2351     return getOperand(0);
 5132   Value *getPointerOperand() { return getOperand(0); }
 5134   const Value *getPointerOperand() const { return getOperand(0); }
 5232     return getOperand(0);
 5237     return getOperand(0);
lib/Analysis/BasicAliasAnalysis.cpp
  377     Value *CastOp = cast<CastInst>(V)->getOperand(0);
lib/Analysis/BranchProbabilityInfo.cpp
  672       return dyn_cast<ConstantInt>(I->getOperand(0));
lib/Analysis/CFLGraph.h
  273       auto *Ptr = Inst.getOperand(0);
  283       auto *Src = Inst.getOperand(0);
  295       auto *Src = Inst.getOperand(0);
lib/Analysis/ConstantFolding.cpp
  705   if (auto *C = dyn_cast<Constant>(LI->getOperand(0)))
lib/Analysis/GlobalsModRef.cpp
  859     if (GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0)))
  863     if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(LI->getOperand(0)))
lib/Analysis/InlineCost.cpp
  640       ConstantOffsetPtrs.lookup(I.getOperand(0));
  648   if (lookupSROAArgAndCost(I.getOperand(0), SROAArg, CostIt))
  665   unsigned AS = I.getOperand(0)->getType()->getPointerAddressSpace();
  668         ConstantOffsetPtrs.lookup(I.getOperand(0));
  682   if (lookupSROAArgAndCost(I.getOperand(0), SROAArg, CostIt))
  697   Value *Op = I.getOperand(0);
  722   disableSROA(I.getOperand(0));
  745   Value *Operand = I.getOperand(0);
 1104   Value *Op = I.getOperand(0);
lib/Analysis/InstructionSimplify.cpp
 1801     Op0 = Cast0->getOperand(0);
 1802     Op1 = Cast1->getOperand(0);
 3261         if (RI->getOperand(0)->getType() == SrcTy)
 3263           if (Value *V = SimplifyICmpInst(Pred, SrcOp, RI->getOperand(0),
 3273         if (MaxRecurse && SrcTy == RI->getOperand(0)->getType())
 3276                                           SrcOp, RI->getOperand(0), Q,
 3333         if (MaxRecurse && SrcTy == RI->getOperand(0)->getType())
 3335           if (Value *V = SimplifyICmpInst(Pred, SrcOp, RI->getOperand(0),
 4282     auto *Src = CI->getOperand(0);
lib/Analysis/LazyValueInfo.cpp
 1018   if (!CI->getOperand(0)->getType()->isSized()) {
 1355     assert(CI->getOperand(0) == Op && "Operand 0 isn't Op");
lib/Analysis/Lint.cpp
  614   visitMemoryReference(I, I.getOperand(0), MemoryLocation::UnknownSize, 0,
  695       return findValueImpl(CI->getOperand(0), OffsetOk, Visited);
lib/Analysis/Loads.cpp
  111     return isDereferenceableAndAlignedPointer(ASC->getOperand(0), Alignment,
lib/Analysis/LoopAccessAnalysis.cpp
  139     if (CI->getOperand(0)->getType()->isIntegerTy())
  140       return CI->getOperand(0);
lib/Analysis/LoopUnrollAnalyzer.cpp
  145   Constant *COp = dyn_cast<Constant>(I.getOperand(0));
  147     COp = SimplifiedValues.lookup(I.getOperand(0));
lib/Analysis/PHITransAddr.cpp
  189     Value *PHIIn = PHITranslateSubExpr(Cast->getOperand(0), CurBB, PredBB, DT);
  191     if (PHIIn == Cast->getOperand(0))
  382     Value *OpVal = InsertPHITranslatedSubExpr(Cast->getOperand(0),
lib/Analysis/ScalarEvolution.cpp
 7500   GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(LI->getOperand(0));
lib/Analysis/ScalarEvolutionExpander.cpp
  123       if (CI->getOperand(0)->getType() == Ty)
  124         return CI->getOperand(0);
  134           SE.getTypeSizeInBits(CI->getOperand(0)->getType()))
  135         return CI->getOperand(0);
  153             isa<Argument>(cast<BitCastInst>(IP)->getOperand(0)) &&
  154             cast<BitCastInst>(IP)->getOperand(0) != A) ||
lib/Analysis/ValueTracking.cpp
 1774     return isKnownToBeAPowerOfTwo(ZI->getOperand(0), OrZero, Depth, Q);
 2104         return isKnownNonZero(I2P->getOperand(0), Depth, Q);
 2112       return isKnownNonZero(P2I->getOperand(0), Depth, Q);
 4969       return Cast2->getOperand(0);
 5092                                   cast<CastInst>(TrueVal)->getOperand(0), C,
 5101                                   C, cast<CastInst>(FalseVal)->getOperand(0),
lib/CodeGen/CodeGenPrepare.cpp
 1114       InsertedCast = CastInst::Create(CI->getOpcode(), CI->getOperand(0),
 1151   EVT SrcVT = TLI.getValueType(DL, CI->getOperand(0)->getType());
 1986       V = BCI->getOperand(0);
 6717   EVT LowTy = LBC ? EVT::getEVT(LBC->getOperand(0)->getType())
 6719   EVT HighTy = HBC ? EVT::getEVT(HBC->getOperand(0)->getType())
 6731     LValue = Builder.CreateBitCast(LBC->getOperand(0), LBC->getType());
 6733     HValue = Builder.CreateBitCast(HBC->getOperand(0), HBC->getType());
 6949     if (isa<Constant>(CI->getOperand(0)))
lib/CodeGen/InterleavedLoadCombinePass.cpp
  732     Instruction *Op = dyn_cast<Instruction>(BCI->getOperand(0));
  973         computePolynomialFromPointer(*CI.getOperand(0), Result, BasePtr, DL);
 1217   auto CI = Builder.CreatePointerCast(InsertionPoint->getOperand(0),
lib/CodeGen/SelectionDAG/FastISel.cpp
  338     if (Cast->isNoopCast(DL) && !hasTrivialKill(Cast->getOperand(0)))
  962       cast<ConstantInt>(C->getOperand(0))->getZExtValue();
 1765   const Value *Op0 = EVI->getOperand(0);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 4004   const Value *SV = I.getOperand(0);
 4158   const Value *SV = I.getOperand(0);
 5857         Address = BCI->getOperand(0);
 8550       getRoot(), getValue(I.getOperand(0)), DAG.getSrcValue(I.getOperand(0)),
 8550       getRoot(), getValue(I.getOperand(0)), DAG.getSrcValue(I.getOperand(0)),
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  165     return findPreviousSpillSlot(Cast->getOperand(0), Builder, LookUpDepth - 1);
lib/CodeGen/StackProtector.cpp
  174       if (AI == cast<PtrToIntInst>(I)->getOperand(0))
lib/CodeGen/SwiftErrorValueTracking.cpp
  289       const Value *V = LI->getOperand(0);
lib/ExecutionEngine/Interpreter/Execution.cpp
   64   Type *Ty = I.getOperand(0)->getType();
   65   GenericValue Src = getOperandValue(I.getOperand(0), SF);
 1022     getOperandValue(I.getOperand(0), SF).IntVal.getZExtValue();
 1709   SetValue(&I, executeTruncInst(I.getOperand(0), I.getType(), SF), SF);
 1714   SetValue(&I, executeSExtInst(I.getOperand(0), I.getType(), SF), SF);
 1719   SetValue(&I, executeZExtInst(I.getOperand(0), I.getType(), SF), SF);
 1724   SetValue(&I, executeFPTruncInst(I.getOperand(0), I.getType(), SF), SF);
 1729   SetValue(&I, executeFPExtInst(I.getOperand(0), I.getType(), SF), SF);
 1734   SetValue(&I, executeUIToFPInst(I.getOperand(0), I.getType(), SF), SF);
 1739   SetValue(&I, executeSIToFPInst(I.getOperand(0), I.getType(), SF), SF);
 1744   SetValue(&I, executeFPToUIInst(I.getOperand(0), I.getType(), SF), SF);
 1749   SetValue(&I, executeFPToSIInst(I.getOperand(0), I.getType(), SF), SF);
 1754   SetValue(&I, executePtrToIntInst(I.getOperand(0), I.getType(), SF), SF);
 1759   SetValue(&I, executeIntToPtrInst(I.getOperand(0), I.getType(), SF), SF);
 1764   SetValue(&I, executeBitCastInst(I.getOperand(0), I.getType(), SF), SF);
 1775   GenericValue VAList = getOperandValue(I.getOperand(0), SF);
lib/IR/BasicBlock.cpp
  167       RV = BI->getOperand(0);
lib/IR/Instructions.cpp
 1262   if (ConstantInt *CI = dyn_cast<ConstantInt>(getOperand(0)))
 1284   assert(getOperand(0)->getType()->isPointerTy() &&
 2140   assert(getNumOperands() == 1 && "NumOperands not initialized?");
 2151   : UnaryInstruction(EVI.getType(), ExtractValue, EVI.getOperand(0)),
 2195   Op<0>() = S;
 2204   Op<0>() = S;
 2224   Value *LHS = getOperand(0);
 2459       return getOperand(0)->getType()->isIntegerTy() &&
 2470   Type *SrcTy = getOperand(0)->getType();
 2519   return isNoopCast(getOpcode(), getOperand(0)->getType(), getType(), DL);
 4106   return Create(getOpcode(), Op<0>());
 4132                      (Value *)getOperand(0), MaybeAlign(getAlignment()));
 4139   return new LoadInst(getType(), getOperand(0), Twine(), isVolatile(),
 4173   return new TruncInst(getOperand(0), getType());
 4177   return new ZExtInst(getOperand(0), getType());
 4181   return new SExtInst(getOperand(0), getType());
 4185   return new FPTruncInst(getOperand(0), getType());
 4189   return new FPExtInst(getOperand(0), getType());
 4193   return new UIToFPInst(getOperand(0), getType());
 4197   return new SIToFPInst(getOperand(0), getType());
 4201   return new FPToUIInst(getOperand(0), getType());
 4205   return new FPToSIInst(getOperand(0), getType());
 4209   return new PtrToIntInst(getOperand(0), getType());
 4213   return new IntToPtrInst(getOperand(0), getType());
 4217   return new BitCastInst(getOperand(0), getType());
 4221   return new AddrSpaceCastInst(getOperand(0), getType());
 4237   return new VAArgInst(getOperand(0), getType());
lib/IR/Verifier.cpp
 2540   Type *SrcTy = I.getOperand(0)->getType();
 2558   Type *SrcTy = I.getOperand(0)->getType();
 2576   Type *SrcTy = I.getOperand(0)->getType();
 2594   Type *SrcTy = I.getOperand(0)->getType();
 2611   Type *SrcTy = I.getOperand(0)->getType();
 2629   Type *SrcTy = I.getOperand(0)->getType();
 2652   Type *SrcTy = I.getOperand(0)->getType();
 2675   Type *SrcTy = I.getOperand(0)->getType();
 2698   Type *SrcTy = I.getOperand(0)->getType();
 2721   Type *SrcTy = I.getOperand(0)->getType();
 2746   Type *SrcTy = I.getOperand(0)->getType();
 2770       CastInst::castIsValid(Instruction::BitCast, I.getOperand(0), I.getType()),
 2776   Type *SrcTy = I.getOperand(0)->getType();
 3099     Assert(BI->getOperand(0) == RetVal,
 3136   Assert(U.getType() == U.getOperand(0)->getType(), 
 3377   PointerType *PTy = dyn_cast<PointerType>(LI.getOperand(0)->getType());
lib/Target/AArch64/AArch64FastISel.cpp
  743               ZE->getOperand(0)->getType()->isIntegerTy(32)) {
  745             Src = ZE->getOperand(0);
  749               SE->getOperand(0)->getType()->isIntegerTy(32)) {
  751             Src = SE->getOperand(0);
  827               ZE->getOperand(0)->getType()->isIntegerTy(32)) {
  829             Src = ZE->getOperand(0);
  833               SE->getOperand(0)->getType()->isIntegerTy(32)) {
  835             Src = SE->getOperand(0);
  886       if (!isIntExtFree(ZE) && ZE->getOperand(0)->getType()->isIntegerTy(32)) {
  888         Src = ZE->getOperand(0);
  891       if (!isIntExtFree(SE) && SE->getOperand(0)->getType()->isIntegerTy(32)) {
  893         Src = SE->getOperand(0);
 4704             Src0 = ZExt->getOperand(0);
 4713             Src0 = SExt->getOperand(0);
 4771           Op0 = ZExt->getOperand(0);
 4780           Op0 = SExt->getOperand(0);
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
  178       WorkSet.insert(U->getOperand(0));
lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
  245                 FpExt->getOperand(0)->getType()->isFloatTy())
  425                   FpExt->getOperand(0)->getType()->isFloatTy()) {
  426                 Arg = FpExt->getOperand(0);
lib/Target/AMDGPU/SIISelLowering.cpp
11001             dyn_cast<IntrinsicInst>(ExtValue->getOperand(0))) {
lib/Target/ARM/ARMCodeGenPrepare.cpp
  675     Value *Src = ZExt->getOperand(0);
  689       assert(Trunc->getOperand(0)->getType() == ExtTy &&
  691       ReplaceAllUsersOfWith(ZExt, Trunc->getOperand(0));
  719     IntegerType *SrcTy = cast<IntegerType>(Trunc->getOperand(0)->getType());
  725     Value *Masked = Builder.CreateAnd(Trunc->getOperand(0), Mask);
lib/Target/ARM/ARMFastISel.cpp
 1274         (isLoadTypeLegal(TI->getOperand(0)->getType(), SourceVT))) {
 1276       unsigned OpReg = getRegForValue(TI->getOperand(0));
 2938   if (!ARMComputeAddress(LI->getOperand(0), Addr)) return false;
lib/Target/ARM/ARMParallelDSP.cpp
  103           if (auto *I = dyn_cast<Instruction>(SExt->getOperand(0)))
  339     if (auto *Ld = dyn_cast<LoadInst>(SExt->getOperand(0))) {
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1029     Value *Op = Z->getOperand(0);
 1038     Value *And = IRBuilder<>(In).CreateAnd(T->getOperand(0), Mask);
lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
  307     const LoadInst *LI = dyn_cast<const LoadInst>(CI->getOperand(0));
lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp
  107     Value *SrcAddr = LI->getOperand(0);
lib/Target/NVPTX/NVPTXLowerAlloca.cpp
   94             LI->setOperand(LI->getPointerOperandIndex(), NewASCToGeneric);
  109           if (BI && BI->getOperand(0) == allocaInst) {
  110             BI->setOperand(0, NewASCToGeneric);
lib/Target/PowerPC/PPCFastISel.cpp
 2352   if (!PPCComputeAddress(LI->getOperand(0), Addr))
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  168     StrippedBasePtr = BC->getOperand(0);
lib/Target/SystemZ/SystemZTDC.cpp
  244     Value *V = Cast->getOperand(0);
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
  949   unsigned Reg = getRegForValue(Trunc->getOperand(0));
  953   if (Trunc->getOperand(0)->getType()->isIntegerTy(64)) {
  968   const Value *Op = ZExt->getOperand(0);
  985   const Value *Op = SExt->getOperand(0);
lib/Target/X86/X86FastISel.cpp
 1712         isTypeLegal(TI->getOperand(0)->getType(), SourceVT)) {
 1722         unsigned OpReg = getRegForValue(TI->getOperand(0));
 3274       Value *PrevVal = TI->getOperand(0);
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
   70   Worklist.push_back(CurrentTruncInst->getOperand(0));
  141   Value *Src = CurrentTruncInst->getOperand(0);
  145       CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits();
  259       CurrentTruncInst->getOperand(0)->getType()->getScalarSizeInBits();
  363   Value *Res = getReducedOperand(CurrentTruncInst->getOperand(0), SclTy);
lib/Transforms/Coroutines/CoroSplit.cpp
 1485     CastFn = Cast->getOperand(0);
lib/Transforms/IPO/GlobalOpt.cpp
  688       LI->setOperand(0, NewV);
  868         BCI->setOperand(0, NewGV);
 1140         if (LI->getOperand(0) == GV)
 1171     Value *V = GetHeapSROAValue(LI->getOperand(0), FieldNo,
 1552         CI = cast<CallInst>(BCI->getOperand(0));
 1716           assert(LI->getOperand(0) == GV && "Not a copy!");
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1517     Value *LHSIntVal = LHSConv->getOperand(0);
 1554       Value *RHSIntVal = RHSConv->getOperand(0);
 2068   Value *Op = I.getOperand(0);
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1480   Value *CastSrc = CI->getOperand(0);
 1564   Value *Cast0Src = Cast0->getOperand(0);
 1565   Value *Cast1Src = Cast1->getOperand(0);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4111             cast<PointerType>(CI->getOperand(0)->getType())->getElementType();
 4369         *I = CI->getOperand(0);
 4377                       CI->getOperand(0)->getType()->getPointerElementType()));
lib/Transforms/InstCombine/InstCombineCasts.cpp
  119     decomposeSimpleLinearExpr(AI.getOperand(0), ArraySizeScale, ArrayOffset);
  261   Value *Src = CI.getOperand(0);
  269       auto *Res = CastInst::Create(NewOpc, CSrc->getOperand(0), Ty);
  457   Value *TruncOp = Trunc.getOperand(0);
  510   if (!match(Trunc.getOperand(0), m_OneUse(m_Or(m_Value(Or0), m_Value(Or1)))))
  586   if (!match(Trunc.getOperand(0), m_OneUse(m_BinOp(BinOp))))
  639   auto *Shuf = dyn_cast<ShuffleVectorInst>(Trunc.getOperand(0));
  663   auto *InsElt = dyn_cast<InsertElementInst>(Trunc.getOperand(0));
  688   Value *Src = CI.getOperand(0);
  714   if (SelectInst *SI = dyn_cast<SelectInst>(CI.getOperand(0)))
 1098   Value *Src = CI.getOperand(0);
 1146     Value *A = CSrc->getOperand(0);
 1369   Value *Src = CI.getOperand(0);
 1506     return FPExt->getOperand(0)->getType();
 1534   auto *BO = dyn_cast<BinaryOperator>(FPT.getOperand(0));
 1622   Instruction *Op = dyn_cast<Instruction>(FPT.getOperand(0));
 1635   if (auto *II = dyn_cast<IntrinsicInst>(FPT.getOperand(0))) {
 1728   Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0));
 1739   Instruction *OpI = dyn_cast<Instruction>(FI.getOperand(0));
 1762   if (CI.getOperand(0)->getType()->getScalarSizeInBits() !=
 1768     Value *P = Builder.CreateZExtOrTrunc(CI.getOperand(0), Ty);
 1780   Value *Src = CI.getOperand(0);
 1795       CI.setOperand(0, GEP->getOperand(0));
 1818   Value *P = Builder.CreatePtrToInt(CI.getOperand(0), PtrTy);
 2009   Value *IntInput = CI.getOperand(0);
 2038   auto *ExtElt = dyn_cast<ExtractElementInst>(BitCast.getOperand(0));
 2061       !match(BitCast.getOperand(0), m_OneUse(m_BinOp(BO))) ||
 2105   if (!match(BitCast.getOperand(0),
 2126   auto *Sel = cast<Instruction>(BitCast.getOperand(0));
 2167   Value *Src = CI.getOperand(0);
 2191         Value *Addr = LI->getOperand(0);
 2213       Type *TyA = BCI->getOperand(0)->getType();
 2241         NewV = BCI->getOperand(0);
 2275         Type *TyB = BCI->getOperand(0)->getType();
 2292   Value *Src = CI.getOperand(0);
 2375         if (BitCastInst *BCIn = dyn_cast<BitCastInst>(SrcCast->getOperand(0)))
 2376           if (isa<VectorType>(BCIn->getOperand(0)->getType()))
 2377             if (Instruction *I = optimizeVectorResize(BCIn->getOperand(0),
 2424            Tmp->getOperand(0)->getType() == DestTy) ||
 2426            Tmp->getOperand(0)->getType() == DestTy)) {
 2475   Value *Src = CI.getOperand(0);
lib/Transforms/InstCombine/InstCombineCompares.cpp
  558         if (Explored.count(CI->getOperand(0)) == 0)
  559           WorkList.push_back(CI->getOperand(0));
  680       Value *V = NewInsts[CI->getOperand(0)];
  787       V = CI->getOperand(0);
  793       V = CI->getOperand(0);
 1532   Value *X = Trunc->getOperand(0);
 1837     if (auto *GEP = dyn_cast<GetElementPtrInst>(LI->getOperand(0)))
 2733   Value *BCSrcOp = Bitcast->getOperand(0);
 2775       Op1 = BC2->getOperand(0);
 4316     Value *Y = CastOp1->getOperand(0);
 4398   Value *Op0Src = CastOp0->getOperand(0);
 4602         Value *ZextArg = Zext->getOperand(0);
 4702           TI->setOperand(0, Mul);
lib/Transforms/InstCombine/InstCombineInternal.h
  164       return BitCast->getOperand(0);
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  191     AI.setOperand(0, V);
  233     AI.setOperand(0, V);
  317     auto *V = getReplacement(BC->getOperand(0));
  359         AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1));
  916       MemI.setOperand(MemI.getPointerOperandIndex(), NewGEPI);
  950   Value *Op = LI.getOperand(0);
 1046         LI.setOperand(0, SI->getOperand(2));
 1054         LI.setOperand(0, SI->getOperand(1));
 1151     V = BC->getOperand(0);
 1437       if (LI == Val && equivalentAddressValues(LI->getOperand(0), Ptr)) {
lib/Transforms/InstCombine/InstCombinePHI.cpp
  127       DL.getTypeSizeInBits(IntToPtr->getOperand(0)->getType()))
  136       AvailablePtrVals.emplace_back(PI->getOperand(0));
  209                                             IntToPtr->getOperand(0)->getType());
  278                                           IntToPtr->getOperand(0)->getType());
  502   if (AllocaInst *AI = dyn_cast<AllocaInst>(L->getOperand(0))) {
  523   if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(L->getOperand(0)))
  592   PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(),
  596   Value *InVal = FirstLI->getOperand(0);
  621     Value *NewInVal = LI->getOperand(0);
  630     NewLI->setOperand(0, InVal);
  685       NewIncoming.push_back(Zext->getOperand(0));
lib/Transforms/InstCombine/InstCombineShifts.cpp
  635     Instruction *TrOp = dyn_cast<Instruction>(TI->getOperand(0));
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  434         Value *EE = Builder.CreateExtractElement(CI->getOperand(0), Index);
lib/Transforms/InstCombine/InstructionCombining.cpp
  270   auto *BinOp2 = dyn_cast<BinaryOperator>(Cast->getOperand(0));
  288   Cast->setOperand(0, BinOp2->getOperand(0));
 2144     if (auto *BC = dyn_cast<BitCastInst>(ASC->getOperand(0)))
 2149     Value *SrcOp = BCI->getOperand(0);
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1905     if (auto *CI = dyn_cast<CallInst>(I.getOperand(0)))
 3391       RetVal = I->getOperand(0);
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  700         Arg = BI->getOperand(0);
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
   94       return FindSingleUseIdentifiedObject(BC->getOperand(0));
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  723   Value *Base = SDI->getOperand(0);
lib/Transforms/Scalar/EarlyCSE.cpp
  231     return hash_combine(CI->getOpcode(), CI->getType(), CI->getOperand(0));
  234     return hash_combine(EVI->getOpcode(), EVI->getOperand(0),
lib/Transforms/Scalar/GVN.cpp
  348   for (Instruction::op_iterator OI = EI->op_begin(), OE = EI->op_end();
  348   for (Instruction::op_iterator OI = EI->op_begin(), OE = EI->op_end();
 1337   if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(LI->getOperand(0))) {
lib/Transforms/Scalar/IndVarSimplify.cpp
  922                                       Cast->getOperand(0)->getType())) {
lib/Transforms/Scalar/JumpThreading.cpp
  671     Value *Source = CI->getOperand(0);
 1309   Value *LoadedPtr = LoadI->getOperand(0);
lib/Transforms/Scalar/LICM.cpp
  983   Value *Addr = LI->getOperand(0);
  999     Addr = BC->getOperand(0);
 1101     if (AA->pointsToConstantMemory(LI->getOperand(0)))
 1783       Ptr = LI->getOperand(0);
lib/Transforms/Scalar/LoopPredication.cpp
  545         if (AA->pointsToConstantMemory(LI->getOperand(0)) ||
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2739     return Trunc->getOperand(0);
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
  120       V = ZExt->getOperand(0);
  126       V = SExt->getOperand(0);
lib/Transforms/Scalar/MergeICmps.cpp
  155   Value *const Addr = LoadI->getOperand(0);
lib/Transforms/Scalar/NaryReassociate.cpp
  335     IndexToSplit = SExt->getOperand(0);
  338     if (isKnownNonNegative(ZExt->getOperand(0), *DL, 0, AC, GEP, DT))
  339       IndexToSplit = ZExt->getOperand(0);
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  473     return findBaseDefiningValue(BC->getOperand(0));
 1947                                                   CI->getOperand(0));
 1967       Type *SrcTy = CI->getOperand(0)->getType();
lib/Transforms/Scalar/SCCP.cpp
  873   LatticeVal OpSt = getValueState(I.getOperand(0));
 1154   LatticeVal PtrVal = getValueState(I.getOperand(0));
lib/Transforms/Scalar/SROA.cpp
 2495     Value *OldOp = LI.getOperand(0);
lib/Transforms/Scalar/Scalarizer.cpp
  651   Scatterer Op0 = scatter(&CI, CI.getOperand(0));
  671   Scatterer Op0 = scatter(&BCI, BCI.getOperand(0));
lib/Transforms/Utils/BasicBlockUtils.cpp
  784       V = BCI->getOperand(0);
lib/Transforms/Utils/BypassSlowDivision.cpp
  206       C = dyn_cast<ConstantInt>(cast<BitCastInst>(Op1)->getOperand(0));
  396         isa<ConstantInt>(BCI->getOperand(0)))
lib/Transforms/Utils/Evaluator.cpp
  412                                          getVal(CI->getOperand(0)),
  450       Constant *Ptr = getVal(LI->getOperand(0));
lib/Transforms/Utils/GlobalStatus.cpp
  124                        cast<LoadInst>(StoredVal)->getOperand(0) == GV) {
lib/Transforms/Utils/Local.cpp
 2970     Res = findAllocaForValue(CI->getOperand(0), AllocaForValue);
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  810         if (LI->getOperand(0) == AI)
lib/Transforms/Utils/SimplifyIndVar.cpp
  517   Value *IV = TI->getOperand(0);
lib/Transforms/Utils/SimplifyLibCalls.cpp
 1236     Value *Op = Cast->getOperand(0);
lib/Transforms/Vectorize/LoopVectorize.cpp
 1168     Value *Op = Trunc->getOperand(0);
 3316             return ZI->getOperand(0);
 3344           NewI = ShrinkOperand(CI->getOperand(0));
 3348               CI->getOperand(0),
 3353               CI->getOperand(0),
 3406         Value *NewI = Inst->getOperand(0);
 4249       Value *A = getOrCreateVectorValue(CI->getOperand(0), Part);
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3830         Value *Ptr = Builder.CreateBitCast(LI->getOperand(0), PtrTy);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 5823     OTy = BI->getOperand(0)->getType();
tools/clang/lib/CodeGen/CGCall.cpp
 2580     insn = cast<llvm::Instruction>(bitcast->getOperand(0));
 2605     generator = cast<llvm::Instruction>(bitcast->getOperand(0));
 2658     result = bitcast->getOperand(0);
tools/clang/lib/CodeGen/CGCleanup.cpp
  631       assert(condition->getOperand(0) == CGF.NormalCleanupDest.getPointer());
tools/clang/lib/CodeGen/CGExprScalar.cpp
  403       if (ZI->getOperand(0)->getType() == Builder.getInt1Ty()) {
  404         Value *Result = ZI->getOperand(0);
tools/clang/lib/CodeGen/CGObjC.cpp
 2796     llvm::Value *operand = bitcast->getOperand(0);
 2798     bitcast->setOperand(0, operand);
tools/lldb/source/Expression/IRInterpreter.cpp
  889       Value *source = cast_inst->getOperand(0);
  914       Value *source = cast_inst->getOperand(0);
 1186       Value *src_operand = int_to_ptr_inst->getOperand(0);
 1217       Value *src_operand = ptr_to_int_inst->getOperand(0);
 1248       Value *src_operand = trunc_inst->getOperand(0);
tools/polly/lib/Analysis/ScopBuilder.cpp
 1410   auto *MallocMem = Bitcast->getOperand(0);
 1612     auto *Src = BitCast->getOperand(0);
 1636     BasePtr = BasePtrCast->getOperand(0);
tools/polly/lib/Analysis/ScopDetection.cpp
  496       V = P2I->getOperand(0);
tools/polly/lib/CodeGen/BlockGenerators.cpp
 1163   Value *NewOperand = getVectorValue(Stmt, Inst->getOperand(0), VectorMap,
tools/polly/lib/Transform/RewriteByReferenceParameters.cpp
   61     auto *Alloca = dyn_cast<AllocaInst>(BitCast->getOperand(0));
unittests/Analysis/CGSCCPassManagerTest.cpp
 1216         auto &H3F = *cast<Function>(cast<BitCastInst>(H2F.begin()->begin())->getOperand(0));