/external/llvm/lib/Analysis/ |
D | CostModel.cpp | 138 static bool matchPairwiseShuffleMask(ShuffleVectorInst *SI, bool IsLeft, in matchPairwiseShuffleMask() 178 ShuffleVectorInst *LS = dyn_cast<ShuffleVectorInst>(L); in matchPairwiseReductionAtLevel() 181 ShuffleVectorInst *RS = dyn_cast<ShuffleVectorInst>(R); in matchPairwiseReductionAtLevel() 291 static std::pair<Value *, ShuffleVectorInst *> 296 ShuffleVectorInst *S = nullptr; in getShuffleAndOtherOprd() 298 if ((S = dyn_cast<ShuffleVectorInst>(L))) in getShuffleAndOtherOprd() 301 S = dyn_cast<ShuffleVectorInst>(R); in getShuffleAndOtherOprd() 352 ShuffleVectorInst *Shuffle; in matchVectorSplittingReduction() 490 const ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I); in getInstructionCost()
|
D | CFLAliasAnalysis.cpp | 537 void visitShuffleVectorInst(ShuffleVectorInst &Inst) { in visitShuffleVectorInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 92 if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(V)) { in FindScalarElement() 259 } else if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(I)) { in visitExtractElementInst() 572 return new ShuffleVectorInst(LR.first, LR.second, in visitInsertElementInst() 864 static bool isShuffleExtractingFromLHS(ShuffleVectorInst &SVI, in isShuffleExtractingFromLHS() 879 Instruction *InstCombiner::visitShuffleVectorInst(ShuffleVectorInst &SVI) { in visitShuffleVectorInst() 1087 ShuffleVectorInst* LHSShuffle = dyn_cast<ShuffleVectorInst>(LHS); in visitShuffleVectorInst() 1088 ShuffleVectorInst* RHSShuffle = dyn_cast<ShuffleVectorInst>(RHS); in visitShuffleVectorInst() 1223 return new ShuffleVectorInst(newLHS, newRHS, ConstantVector::get(Elts)); in visitShuffleVectorInst()
|
D | InstructionCombining.cpp | 1222 if (isa<ShuffleVectorInst>(LHS) && isa<ShuffleVectorInst>(RHS)) { in SimplifyVectorOp() 1223 ShuffleVectorInst *LShuf = cast<ShuffleVectorInst>(LHS); in SimplifyVectorOp() 1224 ShuffleVectorInst *RShuf = cast<ShuffleVectorInst>(RHS); in SimplifyVectorOp() 1239 ShuffleVectorInst *Shuffle = nullptr; in SimplifyVectorOp() 1241 if (isa<ShuffleVectorInst>(LHS)) Shuffle = cast<ShuffleVectorInst>(LHS); in SimplifyVectorOp() 1242 if (isa<ShuffleVectorInst>(RHS)) Shuffle = cast<ShuffleVectorInst>(RHS); in SimplifyVectorOp()
|
D | InstCombineCasts.cpp | 1529 return new ShuffleVectorInst(InVal, V2, in OptimizeVectorResize() 1844 if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(Src)) { in visitBitCast() 1863 return new ShuffleVectorInst(LHS, RHS, SVI->getOperand(2)); in visitBitCast()
|
D | InstCombineSimplifyDemanded.cpp | 1076 ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I); in SimplifyDemandedVectorElts()
|
D | InstCombineInternal.h | 333 Instruction *visitShuffleVectorInst(ShuffleVectorInst &SVI);
|
/external/llvm/lib/Transforms/Vectorize/ |
D | BBVectorize.cpp | 503 } else if (ShuffleVectorInst *SI = dyn_cast<ShuffleVectorInst>(I)) { in getInstructionTypes() 894 } else if (!(I->isBinaryOp() || isa<ShuffleVectorInst>(I) || in isInstVectorizable() 1886 if (!isa<ShuffleVectorInst>(S->first) && in findBestDAGFor() 1976 if (ShuffleVectorInst *SI = dyn_cast<ShuffleVectorInst>(U)) { in findBestDAGFor() 2007 if (ShuffleVectorInst *SI = dyn_cast<ShuffleVectorInst>(U)) { in findBestDAGFor() 2082 ShuffleVectorInst *SIO1 = dyn_cast<ShuffleVectorInst>(O1), in findBestDAGFor() 2083 *SIO2 = dyn_cast<ShuffleVectorInst>(O2); in findBestDAGFor() 2319 int m = cast<ShuffleVectorInst>(J)->getMaskValue(v); in fillNewShuffleMask() 2449 ShuffleVectorInst *LSV = dyn_cast<ShuffleVectorInst>(LOp); in getReplacementInput() 2450 ShuffleVectorInst *HSV = dyn_cast<ShuffleVectorInst>(HOp); in getReplacementInput() [all …]
|
/external/llvm/lib/IR/ |
D | Instructions.cpp | 1436 ShuffleVectorInst::ShuffleVectorInst(Value *V1, Value *V2, Value *Mask, in ShuffleVectorInst() function in ShuffleVectorInst 1442 OperandTraits<ShuffleVectorInst>::op_begin(this), in ShuffleVectorInst() 1443 OperandTraits<ShuffleVectorInst>::operands(this), in ShuffleVectorInst() 1453 ShuffleVectorInst::ShuffleVectorInst(Value *V1, Value *V2, Value *Mask, in ShuffleVectorInst() function in ShuffleVectorInst 1459 OperandTraits<ShuffleVectorInst>::op_begin(this), in ShuffleVectorInst() 1460 OperandTraits<ShuffleVectorInst>::operands(this), in ShuffleVectorInst() 1471 bool ShuffleVectorInst::isValidOperands(const Value *V1, const Value *V2, in isValidOperands() 1522 int ShuffleVectorInst::getMaskValue(Constant *Mask, unsigned i) { in getMaskValue() 1534 void ShuffleVectorInst::getShuffleMask(Constant *Mask, in getShuffleMask() 3650 ShuffleVectorInst *ShuffleVectorInst::clone_impl() const { in clone_impl() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | EarlyCSE.cpp | 71 isa<InsertElementInst>(Inst) || isa<ShuffleVectorInst>(Inst) || in canHandle() 137 isa<ShuffleVectorInst>(Inst)) && in getHashValue()
|
D | Scalarizer.cpp | 148 bool visitShuffleVectorInst(ShuffleVectorInst &); 536 bool Scalarizer::visitShuffleVectorInst(ShuffleVectorInst &SVI) { in visitShuffleVectorInst()
|
D | SCCP.cpp | 478 void visitShuffleVectorInst(ShuffleVectorInst &I); 964 void SCCPSolver::visitShuffleVectorInst(ShuffleVectorInst &I) { in visitShuffleVectorInst()
|
D | LICM.cpp | 481 !isa<ShuffleVectorInst>(I) && !isa<ExtractValueInst>(I) && in canSinkOrHoistInst()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Interpreter.h | 186 void visitShuffleVectorInst(ShuffleVectorInst &I);
|
/external/llvm/include/llvm/IR/ |
D | InstVisitor.h | 199 RetTy visitShuffleVectorInst(ShuffleVectorInst &I) { DELEGATE(Instruction);} in visitShuffleVectorInst()
|
D | Instruction.def | 172 HANDLE_OTHER_INST(56, ShuffleVector, ShuffleVectorInst) // shuffle two vectors.
|
D | Instructions.h | 1817 class ShuffleVectorInst : public Instruction { 1819 ShuffleVectorInst *clone_impl() const override; 1826 ShuffleVectorInst(Value *V1, Value *V2, Value *Mask, 1829 ShuffleVectorInst(Value *V1, Value *V2, Value *Mask, 1884 struct OperandTraits<ShuffleVectorInst> : 1885 public FixedNumOperandTraits<ShuffleVectorInst, 3> { 1888 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ShuffleVectorInst, Value)
|
D | NoFolder.h | 283 return new ShuffleVectorInst(V1, V2, Mask); in CreateShuffleVector()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64PromoteConstant.cpp | 243 if (isa<const ShuffleVectorInst>(Instr) && OpIdx == 2) in shouldConvertUse()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1161 static llvm::Constant *getMaskElt(llvm::ShuffleVectorInst *SVI, unsigned Idx, in getMaskElt() 1227 llvm::ShuffleVectorInst *SVV = cast<llvm::ShuffleVectorInst>(V); in VisitInitListExpr() 1233 LHS = cast<llvm::ShuffleVectorInst>(V)->getOperand(0); in VisitInitListExpr() 1259 llvm::ShuffleVectorInst *SVI = cast<llvm::ShuffleVectorInst>(Init); in VisitInitListExpr() 1268 Args.push_back(getMaskElt(cast<llvm::ShuffleVectorInst>(V), j, 0, in VisitInitListExpr() 1279 V = cast<llvm::ShuffleVectorInst>(V)->getOperand(0); in VisitInitListExpr()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 179 bool OptimizeShuffleVectorInst(ShuffleVectorInst *SI); 3869 static bool isBroadcastShuffle(ShuffleVectorInst *SVI) { in isBroadcastShuffle() 3885 bool CodeGenPrepare::OptimizeShuffleVectorInst(ShuffleVectorInst *SVI) { in OptimizeShuffleVectorInst() 3917 InsertedShuffle = new ShuffleVectorInst(SVI->getOperand(0), in OptimizeShuffleVectorInst() 4388 if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(I)) in OptimizeInst()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 69 class ShuffleVectorInst; variable
|
/external/llvm/tools/llvm-stress/ |
D | llvm-stress.cpp | 452 Value *V = new ShuffleVectorInst(Val0, Val1, Mask, "Shuff", in Act()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | DataFlowSanitizer.cpp | 340 void visitShuffleVectorInst(ShuffleVectorInst &I); 1277 void DFSanVisitor::visitShuffleVectorInst(ShuffleVectorInst &I) { in visitShuffleVectorInst()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 1515 const ShuffleVectorInst* svi = cast<ShuffleVectorInst>(I); in printInstruction()
|