Home
last modified time | relevance | path

Searched refs:ShuffleVectorInst (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm/lib/Analysis/
DCostModel.cpp138 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()
DCFLAliasAnalysis.cpp537 void visitShuffleVectorInst(ShuffleVectorInst &Inst) { in visitShuffleVectorInst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp92 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()
DInstructionCombining.cpp1222 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()
DInstCombineCasts.cpp1529 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()
DInstCombineSimplifyDemanded.cpp1076 ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I); in SimplifyDemandedVectorElts()
DInstCombineInternal.h333 Instruction *visitShuffleVectorInst(ShuffleVectorInst &SVI);
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp503 } 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/
DInstructions.cpp1436 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/
DEarlyCSE.cpp71 isa<InsertElementInst>(Inst) || isa<ShuffleVectorInst>(Inst) || in canHandle()
137 isa<ShuffleVectorInst>(Inst)) && in getHashValue()
DScalarizer.cpp148 bool visitShuffleVectorInst(ShuffleVectorInst &);
536 bool Scalarizer::visitShuffleVectorInst(ShuffleVectorInst &SVI) { in visitShuffleVectorInst()
DSCCP.cpp478 void visitShuffleVectorInst(ShuffleVectorInst &I);
964 void SCCPSolver::visitShuffleVectorInst(ShuffleVectorInst &I) { in visitShuffleVectorInst()
DLICM.cpp481 !isa<ShuffleVectorInst>(I) && !isa<ExtractValueInst>(I) && in canSinkOrHoistInst()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h186 void visitShuffleVectorInst(ShuffleVectorInst &I);
/external/llvm/include/llvm/IR/
DInstVisitor.h199 RetTy visitShuffleVectorInst(ShuffleVectorInst &I) { DELEGATE(Instruction);} in visitShuffleVectorInst()
DInstruction.def172 HANDLE_OTHER_INST(56, ShuffleVector, ShuffleVectorInst) // shuffle two vectors.
DInstructions.h1817 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)
DNoFolder.h283 return new ShuffleVectorInst(V1, V2, Mask); in CreateShuffleVector()
/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp243 if (isa<const ShuffleVectorInst>(Instr) && OpIdx == 2) in shouldConvertUse()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1161 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/
DCodeGenPrepare.cpp179 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/
DSelectionDAGBuilder.h69 class ShuffleVectorInst; variable
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp452 Value *V = new ShuffleVectorInst(Val0, Val1, Mask, "Shuff", in Act()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp340 void visitShuffleVectorInst(ShuffleVectorInst &I);
1277 void DFSanVisitor::visitShuffleVectorInst(ShuffleVectorInst &I) { in visitShuffleVectorInst()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp1515 const ShuffleVectorInst* svi = cast<ShuffleVectorInst>(I); in printInstruction()

12