Searched defs:SVI (Results 1 - 5 of 5) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 91 if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(V)) { 92 unsigned LHSWidth = SVI->getOperand(0)->getType()->getVectorNumElements(); 93 int InEl = SVI->getMaskValue(EltNo); 97 return FindScalarElement(SVI->getOperand(0), InEl); 98 return FindScalarElement(SVI->getOperand(1), InEl - LHSWidth); 258 } else if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(I)) { 262 int SrcIdx = SVI->getMaskValue(Elt->getZExtValue()); 265 SVI->getOperand(0)->getType()->getVectorNumElements(); 270 Src = SVI->getOperand(0); 273 Src = SVI 856 visitShuffleVectorInst(ShuffleVectorInst &SVI) argument [all...] |
/external/llvm/lib/CodeGen/ |
H A D | InlineSpiller.cpp | 321 const InlineSpiller::SibValueInfo &SVI) { 322 OS << "spill " << PrintReg(SVI.SpillReg) << ':' 323 << SVI.SpillVNI->id << '@' << SVI.SpillVNI->def; 324 if (SVI.SpillMBB) 325 OS << " in BB#" << SVI.SpillMBB->getNumber(); 326 if (SVI.AllDefsAreReloads) 328 if (SVI.DefByOrigPHI) 330 if (SVI.KillsSource) 333 for (unsigned i = 0, e = SVI 320 operator <<(raw_ostream &OS, const InlineSpiller::SibValueInfo &SVI) argument 351 SibValueMap::value_type *SVI = &*SVIIter; local 494 SibValueMap::iterator SVI; local 693 const SibValueInfo &SVI = I->second; local [all...] |
H A D | CodeGenPrepare.cpp | 3042 static bool isBroadcastShuffle(ShuffleVectorInst *SVI) { argument 3043 SmallVector<int, 16> Mask(SVI->getShuffleMask()); 3058 bool CodeGenPrepare::OptimizeShuffleVectorInst(ShuffleVectorInst *SVI) { argument 3059 BasicBlock *DefBB = SVI->getParent(); 3062 if (!TLI || !TLI->isVectorShiftByScalarCheap(SVI->getType())) 3067 if (!isBroadcastShuffle(SVI)) 3074 for (User *U : SVI->users()) { 3090 InsertedShuffle = new ShuffleVectorInst(SVI->getOperand(0), 3091 SVI->getOperand(1), 3092 SVI [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | Scalarizer.cpp | 531 bool Scalarizer::visitShuffleVectorInst(ShuffleVectorInst &SVI) { argument 532 VectorType *VT = dyn_cast<VectorType>(SVI.getType()); 537 Scatterer Op0 = scatter(&SVI, SVI.getOperand(0)); 538 Scatterer Op1 = scatter(&SVI, SVI.getOperand(1)); 543 int Selector = SVI.getMaskValue(I); 551 gather(&SVI, Res);
|
/external/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 1081 static llvm::Constant *getMaskElt(llvm::ShuffleVectorInst *SVI, unsigned Idx, argument 1083 int MV = SVI->getMaskValue(Idx); 1179 llvm::ShuffleVectorInst *SVI = cast<llvm::ShuffleVectorInst>(Init); local 1180 Value *SVOp = SVI->getOperand(0); 1195 Args.push_back(getMaskElt(SVI, j, Offset, CGF.Int32Ty));
|
Completed in 134 milliseconds