Searched refs:ConstantVector (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-10-stable/contrib/llvm/include/llvm/IR/
H A DConstants.h435 /// ConstantVector - Constant Vector Declarations
437 class ConstantVector : public Constant { class in namespace:llvm
438 friend struct ConstantArrayCreator<ConstantVector, VectorType>;
439 ConstantVector(const ConstantVector &) LLVM_DELETED_FUNCTION;
441 ConstantVector(VectorType *T, ArrayRef<Constant *> Val);
443 // ConstantVector accessors
446 /// getSplat - Return a ConstantVector with the specified constant in each
474 struct OperandTraits<ConstantVector> :
475 public VariadicOperandTraits<ConstantVector> {
[all...]
/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp169 if (isa<ConstantVector>(C))
170 return VM[V] = ConstantVector::get(Ops);
/freebsd-10-stable/contrib/llvm/lib/IR/
H A DConstants.cpp98 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this))
158 C = ConstantVector::getSplat(VTy->getNumElements(), C);
175 return ConstantVector::getSplat(VTy->getNumElements(),
190 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this))
460 return ConstantVector::getSplat(VTy->getNumElements(),
472 return ConstantVector::getSplat(VTy->getNumElements(),
497 return ConstantVector::getSplat(VTy->getNumElements(), C);
522 return ConstantVector
912 ConstantVector::ConstantVector(VectorType *T, ArrayRef<Constant *> V) function in class:ConstantVector
[all...]
H A DConstantFold.cpp67 return ConstantVector::get(Result);
147 // Handle ConstantVector and ConstantAggregateVector.
155 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy);
550 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) &&
562 return ConstantVector::get(res);
704 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) {
718 return ConstantVector::get(Result);
783 return ConstantVector::get(Result);
824 return ConstantVector
[all...]
H A DLLVMContextImpl.h272 typedef ConstantAggrUniqueMap<VectorType, ConstantVector> VectorConstantsTy;
H A DAutoUpgrade.cpp315 Rep = Builder.CreateShuffleVector(Op0, Op0, ConstantVector::get(Idxs));
/freebsd-10-stable/contrib/llvm/lib/Analysis/
H A DCostModel.cpp106 ConstantVector *CV = 0;
107 if ((CV = dyn_cast<ConstantVector>(V)))
H A DConstantFolding.cpp103 return FoldBitCast(ConstantVector::get(Ops), DestTy, TD);
107 if (!isa<ConstantDataVector>(C) && !isa<ConstantVector>(C))
150 if (!isa<ConstantVector>(C) && // FIXME: Remove ConstantVector.
190 return ConstantVector::get(Result);
216 return ConstantVector::get(Result);
347 if (isa<ConstantArray>(C) || isa<ConstantVector>(C) ||
1491 // Support ConstantVector in case we have an Undef in the top.
1492 if (isa<ConstantVector>(Operands[0]) ||
/freebsd-10-stable/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp230 } else if (isa<ConstantVector>(C) || isa<ConstantArray>(C) ||
271 if (isa<ConstantVector>(C)) {
H A DNVPTXAsmPrinter.cpp1890 if (isa<ConstantArray>(CPV) || isa<ConstantVector>(CPV) ||
1914 if (isa<ConstantArray>(CPV) || isa<ConstantVector>(CPV)) {
/freebsd-10-stable/contrib/llvm/lib/Target/R600/
H A DR600TextureIntrinsicsReplacer.cpp131 Value *SwizzleMask = ConstantVector::get(Mask);
/freebsd-10-stable/contrib/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp189 return ConstantVector::get(VectorValue);
369 return PT->push_back(ConstantVector::getAllOnesValue(Ty));
371 return PT->push_back(ConstantVector::getNullValue(Ty));
449 Constant *Mask = ConstantVector::get(Idxs);
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBuiltin.cpp1637 Value* SV = llvm::ConstantVector::getSplat(nElts, C);
1661 return llvm::ConstantVector::getSplat(VTy->getNumElements(), C);
1681 return llvm::ConstantVector::getSplat(VTy->getNumElements(), Zero);
1795 Value* SV = llvm::ConstantVector::getSplat(1, cast<ConstantInt>(Ops[1]));
2667 Value *SV = llvm::ConstantVector::get(Indices);
2797 Value* EightV = llvm::ConstantVector::getSplat(nElts, Eight);
2822 Value* TwentyFourV = llvm::ConstantVector::getSplat(nElts, TwentyFour);
3546 Value* SV = llvm::ConstantVector::getSplat(VTy->getNumElements(),
3595 Value* SV = llvm::ConstantVector::getSplat(VTy->getNumElements(),
4229 ShiftAmt = ConstantVector
[all...]
H A DCGExpr.cpp1091 llvm::Value *MaskV = llvm::ConstantVector::get(Mask);
1198 llvm::Value *MaskV = llvm::ConstantVector::get(Mask);
1339 llvm::Value *MaskV = llvm::ConstantVector::get(Mask);
1533 llvm::Value *MaskV = llvm::ConstantVector::get(Mask);
1546 llvm::Value *ExtMaskV = llvm::ConstantVector::get(ExtMask);
1565 llvm::Value *MaskV = llvm::ConstantVector::get(Mask);
2374 return llvm::ConstantVector::get(CElts);
2426 llvm::Constant *CV = llvm::ConstantVector::get(CElts);
H A DCGExprScalar.cpp918 Value* CV = llvm::ConstantVector::get(concat);
932 Value *MaskBits = llvm::ConstantVector::getSplat(MTy->getNumElements(),
969 Value *SV = llvm::ConstantVector::get(indices);
1161 llvm::Constant *Mask = llvm::ConstantVector::get(Args);
1214 llvm::Constant *Mask = llvm::ConstantVector::get(Args);
1230 llvm::Constant *Mask = llvm::ConstantVector::get(Args);
3224 llvm::Constant *Mask = llvm::ConstantVector::get(Args);
H A DCGDecl.cpp708 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) ||
745 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) ||
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp936 // Handle ConstantAggregateZero, ConstantVector, ConstantDataSequential.
966 Constant *NewCV = ConstantVector::get(Elts);
1091 I->setOperand(2, ConstantVector::get(Elts));
1098 if (ConstantVector* CV = dyn_cast<ConstantVector>(I->getOperand(0))) {
H A DInstCombineVectorOps.cpp514 return new ShuffleVectorInst(LHS, RHS, ConstantVector::get(Mask));
705 ConstantVector::get(MaskValues));
835 SVI.setOperand(2, ConstantVector::get(Elts));
1044 return new ShuffleVectorInst(newLHS, newRHS, ConstantVector::get(Elts));
H A DInstCombineMulDivRem.cpp114 return ConstantVector::get(Elts);
1208 if (isa<ConstantVector>(Op1) || isa<ConstantDataVector>(Op1)) {
1236 Constant *NewRHSV = ConstantVector::get(Elts);
/freebsd-10-stable/contrib/llvm/lib/Transforms/Vectorize/
H A DBBVectorize.cpp2304 return ConstantVector::get(Mask);
2511 ConstantVector::get(Mask),
2534 ConstantVector::get(Mask),
2551 ConstantVector::get(Mask),
2573 new ShuffleVectorInst(I1, I2, ConstantVector::get(Mask),
2607 ConstantVector::get(Mask),
2644 ConstantVector::get(Mask),
2671 ConstantVector::get(Mask),
2763 ConstantVector::get( Mask1),
2779 ConstantVector
[all...]
/freebsd-10-stable/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp866 const ConstantVector *CV = dyn_cast<ConstantVector>(C);
1136 if (const ConstantVector *CP = dyn_cast<ConstantVector>(Init)) {
/freebsd-10-stable/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1765 static void emitGlobalConstantVector(const ConstantVector *CV, AsmPrinter &AP) {
1961 if (const ConstantVector *V = dyn_cast<ConstantVector>(CV))
/freebsd-10-stable/contrib/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp764 } else if (const ConstantVector *CVec = dyn_cast<ConstantVector>(CV)) {
774 Out << "Constant* " << constName << " = ConstantVector::get("
811 Out << " = ConstantVector::get(";
/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DPatternMatch.h181 /// m_APInt - Match a ConstantInt or splatted ConstantVector, binding the
731 isa<ConstantVector>(RHS)) &&
/freebsd-10-stable/contrib/llvm/include/llvm-c/
H A DCore.h1124 macro(ConstantVector) \
1562 * Create a ConstantVector from values.
1564 * @see llvm::ConstantVector::get()

Completed in 206 milliseconds

12