/freebsd-10-stable/contrib/llvm/include/llvm/IR/ |
H A D | Constants.h | 435 /// 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 D | ValueMapper.cpp | 169 if (isa<ConstantVector>(C)) 170 return VM[V] = ConstantVector::get(Ops);
|
/freebsd-10-stable/contrib/llvm/lib/IR/ |
H A D | Constants.cpp | 98 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 D | ConstantFold.cpp | 67 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 D | LLVMContextImpl.h | 272 typedef ConstantAggrUniqueMap<VectorType, ConstantVector> VectorConstantsTy;
|
H A D | AutoUpgrade.cpp | 315 Rep = Builder.CreateShuffleVector(Op0, Op0, ConstantVector::get(Idxs));
|
/freebsd-10-stable/contrib/llvm/lib/Analysis/ |
H A D | CostModel.cpp | 106 ConstantVector *CV = 0; 107 if ((CV = dyn_cast<ConstantVector>(V)))
|
H A D | ConstantFolding.cpp | 103 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 D | NVPTXGenericToNVVM.cpp | 230 } else if (isa<ConstantVector>(C) || isa<ConstantArray>(C) || 271 if (isa<ConstantVector>(C)) {
|
H A D | NVPTXAsmPrinter.cpp | 1890 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 D | R600TextureIntrinsicsReplacer.cpp | 131 Value *SwizzleMask = ConstantVector::get(Mask);
|
/freebsd-10-stable/contrib/llvm/tools/llvm-stress/ |
H A D | llvm-stress.cpp | 189 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 D | CGBuiltin.cpp | 1637 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 D | CGExpr.cpp | 1091 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 D | CGExprScalar.cpp | 918 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 D | CGDecl.cpp | 708 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 D | InstCombineSimplifyDemanded.cpp | 936 // 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 D | InstCombineVectorOps.cpp | 514 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 D | InstCombineMulDivRem.cpp | 114 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 D | BBVectorize.cpp | 2304 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 D | ExecutionEngine.cpp | 866 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 D | AsmPrinter.cpp | 1765 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 D | CPPBackend.cpp | 764 } 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 D | PatternMatch.h | 181 /// m_APInt - Match a ConstantInt or splatted ConstantVector, binding the 731 isa<ConstantVector>(RHS)) &&
|
/freebsd-10-stable/contrib/llvm/include/llvm-c/ |
H A D | Core.h | 1124 macro(ConstantVector) \ 1562 * Create a ConstantVector from values. 1564 * @see llvm::ConstantVector::get()
|