/external/llvm/lib/IR/ |
AutoUpgrade.cpp | 299 Value *Res = ConstantVector::getSplat(NumElts, Builder.getInt8(0)); 314 Res = Builder.CreateShuffleVector(Res, Op, ConstantVector::get(Idxs)); 336 Value *Res = ConstantVector::getSplat(NumElts, Builder.getInt8(0)); 351 Res = Builder.CreateShuffleVector(Op, Res, ConstantVector::get(Idxs)); 466 Constant *MinusOne = ConstantVector::getSplat(NumElts, Builder.getInt64(-1)); 580 Rep = Builder.CreateShuffleVector(Op0, Op1, ConstantVector::get(Idxs)); 600 Rep = Builder.CreateShuffleVector(Op1, UndefV, ConstantVector::get(Idxs)); 626 Rep = Builder.CreateShuffleVector(Op0, Rep, ConstantVector::get(Idxs2)); 647 Rep = Builder.CreateShuffleVector(Op0, UndefV, ConstantVector::get(Idxs)); 681 Rep = Builder.CreateShuffleVector(Op0, Op0, ConstantVector::get(Idxs)) [all...] |
Constants.cpp | 56 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) 82 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) 116 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) 138 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) 160 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this) [all...] |
ConstantFold.cpp | 69 return ConstantVector::get(Result); 150 // Handle ConstantVector and ConstantAggregateVector. 158 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); 567 if ((isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) && 579 return ConstantVector::get(res); 733 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { 756 return ConstantVector::get(Result); [all...] |
ConstantsContext.h | 363 template <> struct ConstantInfo<ConstantVector> { 364 typedef ConstantAggrKeyType<ConstantVector> ValType;
|
/external/llvm/include/llvm/IR/ |
Constants.h | 459 /// ConstantVector - Constant Vector Declarations 461 class ConstantVector : public Constant { 462 friend struct ConstantAggrKeyType<ConstantVector>; 463 ConstantVector(const ConstantVector &) = delete; 470 ConstantVector(VectorType *T, ArrayRef<Constant *> Val); 472 // ConstantVector accessors 479 /// getSplat - Return a ConstantVector with the specified constant in each 504 struct OperandTraits<ConstantVector> : 505 public VariadicOperandTraits<ConstantVector> { [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDILPeepholeOptimizer.cpp | 755 ConstantVector *AndMaskVec = dyn_cast<ConstantVector>(AndMask); 756 ConstantVector *ShrValVec = dyn_cast<ConstantVector>(ShrVal); 786 newMaskConst = ConstantVector::get(maskVals); 787 shiftValConst = ConstantVector::get(shiftVals); 861 negOneConst = ConstantVector::get(negOneVals); 903 newMaskConst = ConstantVector::get(newMaskVals); 904 newShiftConst = ConstantVector::get(newShiftVals); [all...] |
/external/llvm/lib/Target/NVPTX/ |
NVPTXGenericToNVVM.cpp | 233 } else if (isa<ConstantVector>(C) || isa<ConstantArray>(C) || 274 if (isa<ConstantVector>(C)) {
|
/external/llvm/lib/Target/AMDGPU/ |
R600TextureIntrinsicsReplacer.cpp | 131 Value *SwizzleMask = ConstantVector::get(Mask);
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineShifts.cpp | 328 else if (ConstantVector *CV = dyn_cast<ConstantVector>(Op1)) 439 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); 475 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); [all...] |
InstCombineVectorOps.cpp | 524 ConstantVector::get(Mask)); 719 ConstantVector::get(MaskValues)); [all...] |
InstCombineSimplifyDemanded.cpp | [all...] |
InstCombineCalls.cpp | 393 return ConstantVector::get(Args); 449 ConstantAggregateZero::get(ShufTy), ConstantVector::get(ShuffleMask)); 530 ConstantVector::get(ShuffleMask)); 555 return ConstantVector::get(Args); [all...] |
InstCombineMulDivRem.cpp | 130 return ConstantVector::get(Elts); [all...] |
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 211 return ConstantVector::get(VectorValue); 378 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); 380 return PT->push_back(ConstantVector::getNullValue(Ty)); 458 Constant *Mask = ConstantVector::get(Idxs);
|
/external/llvm/lib/Analysis/ |
ConstantFolding.cpp | 108 return FoldBitCast(ConstantVector::get(Ops), DestTy, DL); 112 if (!isa<ConstantDataVector>(C) && !isa<ConstantVector>(C)) 155 if (!isa<ConstantVector>(C) && // FIXME: Remove ConstantVector. 195 return ConstantVector::get(Result); 230 return ConstantVector::get(Result); 360 if (isa<ConstantArray>(C) || isa<ConstantVector>(C) || [all...] |
CostModel.cpp | 129 if (isa<ConstantVector>(V) || isa<ConstantDataVector>(V)) {
|
/external/llvm/lib/Transforms/Utils/ |
ValueMapper.cpp | 158 if (isa<ConstantVector>(C)) 159 return VM[V] = ConstantVector::get(Ops);
|
/external/llvm/lib/Transforms/Vectorize/ |
BBVectorize.cpp | [all...] |
LoopVectorize.cpp | [all...] |
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | [all...] |
/external/llvm/lib/Transforms/IPO/ |
MergeFunctions.cpp | 728 const ConstantVector *LV = cast<ConstantVector>(L); 729 const ConstantVector *RV = cast<ConstantVector>(R); [all...] |
/external/llvm/unittests/IR/ |
ConstantsTest.cpp | 423 Constant *CDV = ConstantVector::get(Vals); 431 Constant *CDV = ConstantVector::get(Vals);
|
InstructionsTest.cpp | 308 Constant *C2xi32a = ConstantVector::get(ConstVa); 309 Constant *C2xi32b = ConstantVector::get(ConstVb);
|
/external/llvm/lib/CodeGen/ |
CodeGenPrepare.cpp | [all...] |
/external/llvm/lib/Target/X86/Utils/ |
X86ShuffleDecode.cpp | 412 } else if (auto *CV = dyn_cast<ConstantVector>(C)) {
|