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

Declarations

include/llvm/IR/Instructions.h
 2012   DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);

References

include/llvm/IR/Instructions.h
 2015     return cast<Constant>(getOperand(2));
 2050     unsigned NumSourceElts = Op<0>()->getType()->getVectorNumElements();
 2059     unsigned NumSourceElts = Op<0>()->getType()->getVectorNumElements();
 2252     int NumSrcElts = Op<0>()->getType()->getVectorNumElements();
lib/Analysis/CFLGraph.h
  503       auto *From1 = Inst.getOperand(0);
  504       auto *From2 = Inst.getOperand(1);
lib/Analysis/InstructionSimplify.cpp
 4342         DestElt, SourceShuf->getOperand(0), SourceShuf->getOperand(1),
 4342         DestElt, SourceShuf->getOperand(0), SourceShuf->getOperand(1),
 5366     Result = SimplifyShuffleVectorInst(SVI->getOperand(0), SVI->getOperand(1),
 5366     Result = SimplifyShuffleVectorInst(SVI->getOperand(0), SVI->getOperand(1),
lib/Analysis/TargetTransformInfo.cpp
  947   Value *NextLevelOpL = LS ? LS->getOperand(0) : nullptr;
  948   Value *NextLevelOpR = RS ? RS->getOperand(0) : nullptr;
 1121     if (Shuffle->getOperand(0) != NextRdxOp)
 1290     Type *SrcTy = Shuffle->getOperand(0)->getType();
lib/Analysis/ValueTracking.cpp
 2614       int NumElts = Shuf->getOperand(0)->getType()->getVectorNumElements();
 2631         Tmp = ComputeNumSignBits(Shuf->getOperand(0), Depth + 1, Q);
 2633         Tmp2 = ComputeNumSignBits(Shuf->getOperand(1), Depth + 1, Q);
lib/Analysis/VectorUtils.cpp
  288     unsigned LHSWidth = SVI->getOperand(0)->getType()->getVectorNumElements();
  293       return findScalarElement(SVI->getOperand(0), InEl);
  294     return findScalarElement(SVI->getOperand(1), InEl - LHSWidth);
lib/CodeGen/CodeGenPrepare.cpp
 6150           new ShuffleVectorInst(SVI->getOperand(0), SVI->getOperand(1),
 6150           new ShuffleVectorInst(SVI->getOperand(0), SVI->getOperand(1),
 6151                                 SVI->getOperand(2), "", &*InsertPt);
lib/CodeGen/InterleavedAccessPass.cpp
  299     if (!SVI || !isa<UndefValue>(SVI->getOperand(1)))
  386           assert(Extract->getOperand(0) == Shuffle->getOperand(0) &&
  428   unsigned OpNumElts = SVI->getOperand(0)->getType()->getVectorNumElements();
lib/CodeGen/InterleavedLoadCombinePass.cpp
  787     VectorType *ArgTy = dyn_cast<VectorType>(SVI->getOperand(0)->getType());
  792     if (!compute(SVI->getOperand(0), LHS, DL))
  797     if (!compute(SVI->getOperand(1), RHS, DL))
lib/ExecutionEngine/Interpreter/Execution.cpp
 1869   GenericValue Src1 = getOperandValue(I.getOperand(0), SF);
 1870   GenericValue Src2 = getOperandValue(I.getOperand(1), SF);
 1871   GenericValue Src3 = getOperandValue(I.getOperand(2), SF);
lib/IR/Instructions.cpp
 1800   Op<0>() = V1;
 1801   Op<1>() = V2;
 1802   Op<2>() = Mask;
 1818   Op<0>() = V1;
 1819   Op<1>() = V2;
 1820   Op<2>() = Mask;
 1825   int NumOpElts = Op<0>()->getType()->getVectorNumElements();
 1839   Op<2>() = ConstantVector::get(NewMask);
 1840   Op<0>().swap(Op<1>());
 1840   Op<0>().swap(Op<1>());
 2059   int NumOpElts = Op<0>()->getType()->getVectorNumElements();
 2078   int NumOpElts = Op<0>()->getType()->getVectorNumElements();
 2088   if (isa<UndefValue>(Op<0>()) || isa<UndefValue>(Op<1>()))
 2088   if (isa<UndefValue>(Op<0>()) || isa<UndefValue>(Op<1>()))
 2091   int NumOpElts = Op<0>()->getType()->getVectorNumElements();
 4249   return new ShuffleVectorInst(getOperand(0), getOperand(1), getOperand(2));
 4249   return new ShuffleVectorInst(getOperand(0), getOperand(1), getOperand(2));
 4249   return new ShuffleVectorInst(getOperand(0), getOperand(1), getOperand(2));
lib/IR/Verifier.cpp
 3267   Assert(ShuffleVectorInst::isValidOperands(SV.getOperand(0), SV.getOperand(1),
 3267   Assert(ShuffleVectorInst::isValidOperands(SV.getOperand(0), SV.getOperand(1),
 3268                                             SV.getOperand(2)),
lib/Target/AArch64/AArch64ISelLowering.cpp
 8935   Value *Op0 = SVI->getOperand(0);
 8936   Value *Op1 = SVI->getOperand(1);
lib/Target/ARM/ARMISelLowering.cpp
16896   Value *Op0 = SVI->getOperand(0);
16897   Value *Op1 = SVI->getOperand(1);
lib/Target/X86/X86InterleavedAccess.cpp
  181     Value *Op0 = SVI->getOperand(0);
  182     Value *Op1 = SVI->getOperand(1);
lib/Transforms/InstCombine/InstCombineCasts.cpp
  640   if (Shuf && Shuf->hasOneUse() && isa<UndefValue>(Shuf->getOperand(1)) &&
  642       Shuf->getType() == Shuf->getOperand(0)->getType()) {
  645     Value *NarrowOp = Builder.CreateTrunc(Shuf->getOperand(0), Trunc.getType());
 2412     Value *ShufOp0 = Shuf->getOperand(0);
 2413     Value *ShufOp1 = Shuf->getOperand(1);
 2431         return new ShuffleVectorInst(LHS, RHS, Shuf->getOperand(2));
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
 1252       Shuffle->getOperand(0)->getType()->getVectorNumElements();
 1318         if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(0))) {
 1319           Op = Shuffle->getOperand(1);
 1325         if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(1))) {
 1326           Op = Shuffle->getOperand(0);
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  282       if (Shuffle->getOperand(0) == V && (MaskVal < VWidth))
  284       if (Shuffle->getOperand(1) == V &&
  414           SVI->getOperand(0)->getType()->getVectorNumElements();
  419           Src = SVI->getOperand(0);
  422           Src = SVI->getOperand(1);
  727   int VecSize = Shuf.getOperand(0)->getType()->getVectorNumElements();
  829   Value *Op0 = Shuf->getOperand(0);
  853   if (!Shuf || !isa<UndefValue>(Shuf->getOperand(1)) ||
  865   Value *X = Shuf->getOperand(0);
  894   return new ShuffleVectorInst(X, Shuf->getOperand(1), NewMask);
  940     if (!match(Shuf->getOperand(1), m_Constant(ShufConstVec)) ||
  979     return new ShuffleVectorInst(Shuf->getOperand(0),
 1415   unsigned LHSElems = SVI.getOperand(0)->getType()->getVectorNumElements();
 1474   Value *Op0 = Shuf.getOperand(0), *Op1 = Shuf.getOperand(1);
 1474   Value *Op0 = Shuf.getOperand(0), *Op1 = Shuf.getOperand(1);
 1527   Value *Op0 = Shuf.getOperand(0), *Op1 = Shuf.getOperand(1);
 1527   Value *Op0 = Shuf.getOperand(0), *Op1 = Shuf.getOperand(1);
 1576   if (!match(Shuf.getOperand(0), m_BinOp(B0)) ||
 1577       !match(Shuf.getOperand(1), m_BinOp(B1)))
 1688   if (!match(Shuf.getOperand(1), m_Undef()) || !Shuf.isIdentityWithExtract())
 1694   if (!match(Shuf.getOperand(0),
 1718   Value *Op0 = Shuf.getOperand(0), *Op1 = Shuf.getOperand(1);
 1718   Value *Op0 = Shuf.getOperand(0), *Op1 = Shuf.getOperand(1);
 1758   Value *V0 = Shuf.getOperand(0), *V1 = Shuf.getOperand(1);
 1758   Value *V0 = Shuf.getOperand(0), *V1 = Shuf.getOperand(1);
 1825   auto *Shuffle0 = dyn_cast<ShuffleVectorInst>(Shuf.getOperand(0));
 1826   auto *Shuffle1 = dyn_cast<ShuffleVectorInst>(Shuf.getOperand(1));
 1836   Value *X = Shuffle0->getOperand(0);
 1837   Value *Y = Shuffle1->getOperand(0);
 1844   assert(isa<UndefValue>(Shuffle0->getOperand(1)) &&
 1845          isa<UndefValue>(Shuffle1->getOperand(1)) &&
 1888   Value *LHS = SVI.getOperand(0);
 1889   Value *RHS = SVI.getOperand(1);
 1918     SVI.setOperand(0, SVI.getOperand(1));
 1918     SVI.setOperand(0, SVI.getOperand(1));
 1919     SVI.setOperand(1, UndefValue::get(RHS->getType()));
 1920     SVI.setOperand(2, ConstantVector::get(Elts));
 2102     if (!isa<UndefValue>(LHSShuffle->getOperand(1)) && !isa<UndefValue>(RHS))
 2105     if (!isa<UndefValue>(RHSShuffle->getOperand(1)))
 2116     LHSOp0 = LHSShuffle->getOperand(0);
 2117     LHSOp1 = LHSShuffle->getOperand(1);
 2121     RHSOp0 = RHSShuffle->getOperand(0);
 2195           assert(isa<UndefValue>(RHSShuffle->getOperand(1))
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1875     insertShadowCheck(I.getOperand(2), &I);
 1878               I.getOperand(2), "_msprop"));
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  837         visitIncomingValue(SV->getOperand(0));
  838         visitIncomingValue(SV->getOperand(1));
  906         NewState = meetBDVState(NewState, getStateForInput(SV->getOperand(0)));
  907         NewState = meetBDVState(NewState, getStateForInput(SV->getOperand(1)));
  987         UndefValue *VecUndef = UndefValue::get(SV->getOperand(0)->getType());
  989         return new ShuffleVectorInst(VecUndef, VecUndef, SV->getOperand(2),
 1105         Value *InVal = BdvSV->getOperand(OperandIdx);
 1107         BaseSV->setOperand(OperandIdx, Base);
lib/Transforms/Scalar/Scalarizer.cpp
  723   Scatterer Op0 = scatter(&SVI, SVI.getOperand(0));
  724   Scatterer Op1 = scatter(&SVI, SVI.getOperand(1));
lib/Transforms/Vectorize/LoopVectorize.cpp
 3358         auto Elements0 = SI->getOperand(0)->getType()->getVectorNumElements();
 3360             SI->getOperand(0), VectorType::get(ScalarTruncatedTy, Elements0));
 3361         auto Elements1 = SI->getOperand(1)->getType()->getVectorNumElements();
 3363             SI->getOperand(1), VectorType::get(ScalarTruncatedTy, Elements1));
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3659             V = SV->getOperand(0);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 1840             LHS = cast<llvm::ShuffleVectorInst>(V)->getOperand(0);
 1867       Value *SVOp = SVI->getOperand(0);
 1886           V = cast<llvm::ShuffleVectorInst>(V)->getOperand(0);