Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp85 if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(V)) { in FindScalarElement()
170 } else if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(I)) { in visitExtractElementInst()
392 return new ShuffleVectorInst(LHS, RHS, ConstantVector::get(Mask)); in visitInsertElementInst()
410 Instruction *InstCombiner::visitShuffleVectorInst(ShuffleVectorInst &SVI) { in visitShuffleVectorInst()
532 ShuffleVectorInst* LHSShuffle = dyn_cast<ShuffleVectorInst>(LHS); in visitShuffleVectorInst()
533 ShuffleVectorInst* RHSShuffle = dyn_cast<ShuffleVectorInst>(RHS); in visitShuffleVectorInst()
668 return new ShuffleVectorInst(newLHS, newRHS, ConstantVector::get(Elts)); in visitShuffleVectorInst()
DInstCombineCasts.cpp1445 return new ShuffleVectorInst(InVal, V2, in OptimizeVectorResize()
1737 if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(Src)) { in visitBitCast()
1757 return new ShuffleVectorInst(LHS, RHS, SVI->getOperand(2)); in visitBitCast()
DInstCombine.h198 Instruction *visitShuffleVectorInst(ShuffleVectorInst &SVI);
DInstCombineSimplifyDemanded.cpp928 ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I); in SimplifyDemandedVectorElts()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp577 } else if (!(I->isBinaryOp() || isa<ShuffleVectorInst>(I) || in isInstVectorizable()
688 } else if (isa<ShuffleVectorInst>(I)) { in areInstsCompatible()
1461 int m = cast<ShuffleVectorInst>(J)->getMaskValue(v); in fillNewShuffleMask()
1527 Instruction *BV = new ShuffleVectorInst(L->getOperand(o), in getReplacementInput()
1561 Instruction *BV = new ShuffleVectorInst(LEE->getOperand(0), in getReplacementInput()
1574 Instruction *BV = new ShuffleVectorInst(LEE->getOperand(0), in getReplacementInput()
1633 } else if (isa<ShuffleVectorInst>(I) && o == NumOperands-1) { in getReplacementInputsForPair()
1670 K1 = new ShuffleVectorInst(K, UndefValue::get(VType), in replaceOutputsOfPair()
1674 K2 = new ShuffleVectorInst(K, UndefValue::get(VType), in replaceOutputsOfPair()
/external/llvm/lib/VMCore/
DInstructions.cpp1515 ShuffleVectorInst::ShuffleVectorInst(Value *V1, Value *V2, Value *Mask, in ShuffleVectorInst() function in ShuffleVectorInst
1521 OperandTraits<ShuffleVectorInst>::op_begin(this), in ShuffleVectorInst()
1522 OperandTraits<ShuffleVectorInst>::operands(this), in ShuffleVectorInst()
1532 ShuffleVectorInst::ShuffleVectorInst(Value *V1, Value *V2, Value *Mask, in ShuffleVectorInst() function in ShuffleVectorInst
1538 OperandTraits<ShuffleVectorInst>::op_begin(this), in ShuffleVectorInst()
1539 OperandTraits<ShuffleVectorInst>::operands(this), in ShuffleVectorInst()
1550 bool ShuffleVectorInst::isValidOperands(const Value *V1, const Value *V2, in isValidOperands()
1601 int ShuffleVectorInst::getMaskValue(Constant *Mask, unsigned i) { in getMaskValue()
1613 void ShuffleVectorInst::getShuffleMask(Constant *Mask, in getShuffleMask()
3467 ShuffleVectorInst *ShuffleVectorInst::clone_impl() const { in clone_impl()
[all …]
DVerifier.cpp267 void visitShuffleVectorInst(ShuffleVectorInst &EI);
1303 void Verifier::visitShuffleVectorInst(ShuffleVectorInst &SV) { in visitShuffleVectorInst()
1304 Assert1(ShuffleVectorInst::isValidOperands(SV.getOperand(0), SV.getOperand(1), in visitShuffleVectorInst()
DAsmWriter.cpp1936 if (isa<SelectInst>(I) || isa<StoreInst>(I) || isa<ShuffleVectorInst>(I) in printInstruction()
DConstantFold.cpp796 int Elt = ShuffleVectorInst::getMaskValue(Mask, i); in ConstantFoldShuffleVectorInstruction()
DConstants.cpp1855 assert(ShuffleVectorInst::isValidOperands(V1, V2, Mask) && in getShuffleVector()
/external/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp67 isa<InsertElementInst>(Inst) || isa<ShuffleVectorInst>(Inst) || in canHandle()
116 isa<InsertElementInst>(Inst) || isa<ShuffleVectorInst>(Inst)) && in getHashValue()
DLICM.cpp426 isa<ShuffleVectorInst>(I); in canSinkOrHoistInst()
DSCCP.cpp483 void visitShuffleVectorInst(ShuffleVectorInst &I);
971 void SCCPSolver::visitShuffleVectorInst(ShuffleVectorInst &I) { in visitShuffleVectorInst()
/external/llvm/include/llvm/Support/
DInstVisitor.h193 RetTy visitShuffleVectorInst(ShuffleVectorInst &I) { DELEGATE(Instruction);} in visitShuffleVectorInst()
DNoFolder.h270 return new ShuffleVectorInst(V1, V2, Mask); in CreateShuffleVector()
DIRBuilder.h1220 return Insert(new ShuffleVectorInst(V1, V2, Mask), Name);
/external/llvm/include/llvm/
DInstructions.h1644 class ShuffleVectorInst : public Instruction {
1646 virtual ShuffleVectorInst *clone_impl() const;
1653 ShuffleVectorInst(Value *V1, Value *V2, Value *Mask,
1656 ShuffleVectorInst(Value *V1, Value *V2, Value *Mask,
1702 static inline bool classof(const ShuffleVectorInst *) { return true; }
1712 struct OperandTraits<ShuffleVectorInst> :
1713 public FixedNumOperandTraits<ShuffleVectorInst, 3> {
1716 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ShuffleVectorInst, Value)
DInstruction.def171 HANDLE_OTHER_INST(55, ShuffleVector, ShuffleVectorInst) // shuffle two vectors.
/external/clang/lib/CodeGen/
DCGExprScalar.cpp833 static llvm::Constant *getMaskElt(llvm::ShuffleVectorInst *SVI, unsigned Idx, in getMaskElt()
899 llvm::ShuffleVectorInst *SVV = cast<llvm::ShuffleVectorInst>(V); in VisitInitListExpr()
905 LHS = cast<llvm::ShuffleVectorInst>(V)->getOperand(0); in VisitInitListExpr()
931 llvm::ShuffleVectorInst *SVI = cast<llvm::ShuffleVectorInst>(Init); in VisitInitListExpr()
940 Args.push_back(getMaskElt(cast<llvm::ShuffleVectorInst>(V), j, 0, in VisitInitListExpr()
951 V = cast<llvm::ShuffleVectorInst>(V)->getOperand(0); in VisitInitListExpr()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h65 class ShuffleVectorInst; variable
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp442 Value *V = new ShuffleVectorInst(Val0, Val1, Mask, "Shuff", in Act()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp1462 const ShuffleVectorInst* svi = cast<ShuffleVectorInst>(I); in printInstruction()
/external/llvm/lib/AsmParser/
DLLParser.cpp2318 if (!ShuffleVectorInst::isValidOperands(Elts[0], Elts[1], Elts[2])) in ParseValID()
3457 if (!ShuffleVectorInst::isValidOperands(Op0, Op1, Op2)) in ParseShuffleVector()
3460 Inst = new ShuffleVectorInst(Op0, Op1, Op2); in ParseShuffleVector()
/external/llvm/include/llvm-c/
DCore.h1035 macro(ShuffleVectorInst) \
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2205 I = new ShuffleVectorInst(Vec1, Vec2, Mask); in ParseFunctionBody()

12