Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp317 C = ConstantVector::getSplat(VTy->getNumElements(), C); in getIntegerValue()
334 return ConstantVector::getSplat(VTy->getNumElements(), in getAllOnesValue()
595 return ConstantVector::getSplat(VTy->getNumElements(), TrueC); in getTrue()
603 return ConstantVector::getSplat(VTy->getNumElements(), FalseC); in getFalse()
626 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
650 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
695 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
707 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
720 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
731 return ConstantVector::getSplat(VTy->getNumElements(), C); in getNaN()
[all …]
DConstantFold.cpp2083 ? ConstantVector::getSplat( in ConstantFoldGetElementPtr()
2314 CurrIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
2318 PrevIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
2324 Factor = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
/external/llvm/lib/IR/
DConstants.cpp244 C = ConstantVector::getSplat(VTy->getNumElements(), C); in getIntegerValue()
261 return ConstantVector::getSplat(VTy->getNumElements(), in getAllOnesValue()
530 return ConstantVector::getSplat(VTy->getNumElements(), in getTrue()
542 return ConstantVector::getSplat(VTy->getNumElements(), in getFalse()
565 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
589 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
636 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
650 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
661 return ConstantVector::getSplat(VTy->getNumElements(), C); in getNaN()
672 return ConstantVector::getSplat(VTy->getNumElements(), C); in getNegativeZero()
[all …]
DAutoUpgrade.cpp886 Constant *MinusOne = ConstantVector::getSplat(NumElts, Builder.getInt64(-1)); in UpgradeIntrinsicCall()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_misc.cpp197 return ConstantVector::getSplat(mVWidth, cast<ConstantInt>(C(i))); in VIMMED1()
202 return ConstantVector::getSplat(mVWidth16, cast<ConstantInt>(C(i))); in VIMMED1_16()
207 return ConstantVector::getSplat(mVWidth, cast<ConstantInt>(C(i))); in VIMMED1()
212 return ConstantVector::getSplat(mVWidth16, cast<ConstantInt>(C(i))); in VIMMED1_16()
217 return ConstantVector::getSplat(mVWidth, cast<ConstantFP>(C(i))); in VIMMED1()
222 return ConstantVector::getSplat(mVWidth16, cast<ConstantFP>(C(i))); in VIMMED1_16()
227 return ConstantVector::getSplat(mVWidth, cast<ConstantInt>(C(i))); in VIMMED1()
232 return ConstantVector::getSplat(mVWidth16, cast<ConstantInt>(C(i))); in VIMMED1_16()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/FuzzMutate/
DOperationsTest.cpp96 Constant *v8i8 = ConstantVector::getSplat(8, i8); in TEST()
97 Constant *v4f16 = ConstantVector::getSplat(4, f16); in TEST()
/external/llvm/unittests/ADT/
DAPIntTest.cpp831 EXPECT_EQ(ValA, APInt::getSplat(8, ValA)); in TEST()
832 EXPECT_EQ(APInt(64, 0x0101010101010101ULL), APInt::getSplat(64, ValA)); in TEST()
835 EXPECT_EQ(APInt(4, 0xD), APInt::getSplat(4, ValB)); in TEST()
836 EXPECT_EQ(APInt(15, 0xDB6D), APInt::getSplat(15, ValB)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp902 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
926 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
975 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
993 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp440 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); in FoldShiftByConstant()
476 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); in FoldShiftByConstant()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstants.h514 static Constant *getSplat(unsigned NumElts, Constant *Elt);
789 static Constant *getSplat(unsigned NumElts, Constant *Elt);
/external/llvm/include/llvm/IR/
DConstants.h487 static Constant *getSplat(unsigned NumElts, Constant *Elt);
744 static Constant *getSplat(unsigned NumElts, Constant *Elt);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp449 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); in FoldShiftByConstant()
484 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); in FoldShiftByConstant()
DInstCombineCalls.cpp2749 APInt DemandedElts1 = APInt::getSplat(VWidth, in visitCallInst()
2758 APInt DemandedElts2 = APInt::getSplat(VWidth, in visitCallInst()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.h274 return llvm::ConstantVector::getSplat(vector_size(), scalar_value); in GetConstantFloat()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp1457 EXPECT_EQ(ValA, APInt::getSplat(8, ValA)); in TEST()
1458 EXPECT_EQ(APInt(64, 0x0101010101010101ULL), APInt::getSplat(64, ValA)); in TEST()
1461 EXPECT_EQ(APInt(4, 0xD), APInt::getSplat(4, ValB)); in TEST()
1462 EXPECT_EQ(APInt(15, 0xDB6D), APInt::getSplat(15, ValB)); in TEST()
/external/spirv-llvm/lib/SPIRV/
DOCL20ToSPIRV.cpp1111 auto ZeroVec = ConstantVector::getSplat(3, in visitCallGetImageSize()
1432 ConstantVector::getSplat(VecArgWidth, getInt32(M, 0)), "", CI); in visitCallScalToVec()
DSPIRVReader.cpp1243 NewVec = ConstantVector::getSplat(vecSize, CA); in expandOCLBuiltinWithScalarArg()
1245 NewVec = ConstantVector::getSplat(vecSize, in expandOCLBuiltinWithScalarArg()
1250 ConstantVector::getSplat(vecSize, getInt32(M, 0)), "", CI); in expandOCLBuiltinWithScalarArg()
/external/llvm/include/llvm/ADT/
DAPInt.h546 static APInt getSplat(unsigned NewLen, const APInt &V) { in getSplat() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h550 static APInt getSplat(unsigned NewLen, const APInt &V) { in getSplat() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h654 static APInt getSplat(unsigned NewLen, const APInt &V);
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp2648 SDValue Mask55 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), in ExpandBitCount()
2650 SDValue Mask33 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), in ExpandBitCount()
2652 SDValue Mask0F = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), in ExpandBitCount()
2654 SDValue Mask01 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), in ExpandBitCount()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp2724 SDValue Mask55 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), in ExpandBitCount()
2726 SDValue Mask33 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), in ExpandBitCount()
2728 SDValue Mask0F = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), in ExpandBitCount()
2730 SDValue Mask01 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), in ExpandBitCount()
/external/swiftshader/src/Reactor/
DLLVMReactor.cpp275 one = llvm::ConstantVector::getSplat( in lowerRCP()
294 llvm::Value *y = llvm::ConstantVector::getSplat( in lowerVectorShl()
303 llvm::Value *y = llvm::ConstantVector::getSplat( in lowerVectorAShr()
312 llvm::Value *y = llvm::ConstantVector::getSplat( in lowerVectorLShr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DAPInt.cpp521 APInt APInt::getSplat(unsigned NewLen, const APInt &V) { in getSplat() function in APInt
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1891 ConstantVector::getSplat(VF, ConstantInt::getSigned(Start->getType(), in createVectorIntInductionPHI()
3556 Identity = ConstantVector::getSplat(VF, Iden); in vectorizeLoop()

12