Home
last modified time | relevance | path

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

123

/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder_misc.cpp137 return ConstantVector::getSplat(mVWidth, cast<ConstantInt>(C(i))); in VIMMED1()
139 return ConstantVector::getSplat(ElementCount(mVWidth, false), cast<ConstantInt>(C(i))); in VIMMED1()
141 return ConstantVector::getSplat(ElementCount::get(mVWidth, false), cast<ConstantInt>(C(i))); in VIMMED1()
148 return ConstantVector::getSplat(mVWidth16, cast<ConstantInt>(C(i))); in VIMMED1_16()
150 return ConstantVector::getSplat(ElementCount(mVWidth16, false), cast<ConstantInt>(C(i))); in VIMMED1_16()
152 … return ConstantVector::getSplat(ElementCount::get(mVWidth16, false), cast<ConstantInt>(C(i))); in VIMMED1_16()
159 return ConstantVector::getSplat(mVWidth, cast<ConstantInt>(C(i))); in VIMMED1()
161 return ConstantVector::getSplat(ElementCount(mVWidth, false), cast<ConstantInt>(C(i))); in VIMMED1()
163 return ConstantVector::getSplat(ElementCount::get(mVWidth, false), cast<ConstantInt>(C(i))); in VIMMED1()
170 return ConstantVector::getSplat(mVWidth16, cast<ConstantInt>(C(i))); in VIMMED1_16()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/utils/
Dhlo_utils.h40 static ElementsAttr getSplat(Builder* b, RankedTensorType ty, T constant) { in getSplat() function
62 static ElementsAttr getSplat(Builder* b, Value val, T constant) { in getSplat() function
63 return getSplat(b, val.getType().cast<RankedTensorType>(), constant); in getSplat()
/external/llvm-project/clang/lib/CodeGen/
DPatternInit.cpp42 Ty, llvm::APInt::getSplat(BitWidth, llvm::APInt(64, IntValue))); in initializationPatternFor()
59 Payload = llvm::APInt::getSplat(BitWidth, Payload); in initializationPatternFor()
/external/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp293 APInt Mask55 = APInt::getSplat(Len, APInt(8, 0x55)); in tryToRecognizePopCount()
294 APInt Mask33 = APInt::getSplat(Len, APInt(8, 0x33)); in tryToRecognizePopCount()
295 APInt Mask0F = APInt::getSplat(Len, APInt(8, 0x0F)); in tryToRecognizePopCount()
296 APInt Mask01 = APInt::getSplat(Len, APInt(8, 0x01)); in tryToRecognizePopCount()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombine.cpp278 APInt Mask55 = APInt::getSplat(Len, APInt(8, 0x55)); in tryToRecognizePopCount()
279 APInt Mask33 = APInt::getSplat(Len, APInt(8, 0x33)); in tryToRecognizePopCount()
280 APInt Mask0F = APInt::getSplat(Len, APInt(8, 0x0F)); in tryToRecognizePopCount()
281 APInt Mask01 = APInt::getSplat(Len, APInt(8, 0x01)); in tryToRecognizePopCount()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp367 C = ConstantVector::getSplat(VTy->getNumElements(), C); in getIntegerValue()
384 return ConstantVector::getSplat(VTy->getNumElements(), in getAllOnesValue()
678 return ConstantVector::getSplat(VTy->getNumElements(), TrueC); in getTrue()
686 return ConstantVector::getSplat(VTy->getNumElements(), FalseC); in getFalse()
709 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
733 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
778 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
790 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
803 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
814 return ConstantVector::getSplat(VTy->getNumElements(), C); in getNaN()
[all …]
/external/llvm-project/llvm/lib/IR/
DConstants.cpp389 C = ConstantVector::getSplat(VTy->getElementCount(), C); in getIntegerValue()
406 return ConstantVector::getSplat(VTy->getElementCount(), in getAllOnesValue()
822 return ConstantVector::getSplat(VTy->getElementCount(), TrueC); in getTrue()
830 return ConstantVector::getSplat(VTy->getElementCount(), FalseC); in getFalse()
853 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
877 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
906 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
918 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
931 return ConstantVector::getSplat(VTy->getElementCount(), C); in get()
942 return ConstantVector::getSplat(VTy->getElementCount(), C); in getNaN()
[all …]
DConstantFold.cpp65 return ConstantVector::getSplat(DstTy->getElementCount(), in BitCastConstantVector()
585 return ConstantVector::getSplat( in ConstantFoldCastInstruction()
958 return ConstantVector::getSplat(MaskEltCount, Elt); in ConstantFoldShuffleVectorInstruction()
1071 return ConstantVector::getSplat(VTy->getElementCount(), Elt); in ConstantFoldUnaryInstruction()
1446 return ConstantVector::getSplat( in ConstantFoldBinaryInstruction()
2080 return ConstantVector::getSplat( in ConstantFoldCompareInstruction()
2352 ? ConstantVector::getSplat( in ConstantFoldGetElementPtr()
2587 CurrIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
2591 PrevIdx = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
2597 Factor = ConstantDataVector::getSplat( in ConstantFoldGetElementPtr()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/Utils/
DLocal.h66 OpC = ConstantVector::getSplat(IntIdxTy->getVectorNumElements(), OpC);
/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 …]
/external/llvm-project/llvm/include/llvm/Analysis/Utils/
DLocal.h65 OpC = ConstantVector::getSplat(
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/IR/
Dhlo_utils.td28 "hlo::getSplat(&$_builder, $0, " # value # ")">;
/external/llvm-project/llvm/unittests/FuzzMutate/
DOperationsTest.cpp95 Constant *v8i8 = ConstantVector::getSplat(ElementCount::getFixed(8), i8); in TEST()
96 Constant *v4f16 = ConstantVector::getSplat(ElementCount::getFixed(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/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/functionpasses/
Dlower_x86.cpp559 auto vi32Scale = ConstantVector::getSplat(numElem, cast<ConstantInt>(i32Scale)); in VGATHER_EMU()
561 …auto vi32Scale = ConstantVector::getSplat(ElementCount(numElem, false), cast<ConstantInt>(i32Sca… in VGATHER_EMU()
563 …auto vi32Scale = ConstantVector::getSplat(ElementCount::get(numElem, false), cast<ConstantInt>(i… in VGATHER_EMU()
/external/llvm-project/llvm/unittests/IR/
DVerifierTest.cpp60 Constant *CV = ConstantVector::getSplat(ElementCount::getFixed(2), CI); in TEST()
DPatternMatch.cpp1497 Constant *CSplatU32Max = ConstantVector::getSplat(EC, CU32Max); in TEST_F()
1498 Constant *CSplatU32Zero = ConstantVector::getSplat(EC, CU32Zero); in TEST_F()
1499 Constant *CSplatU32DeadBeef = ConstantVector::getSplat(EC, CU32DeadBeef); in TEST_F()
1521 Constant *CSplatF32NaN = ConstantVector::getSplat(EC, CF32NaN); in TEST_F()
1522 Constant *CSplatF32Zero = ConstantVector::getSplat(EC, CF32Zero); in TEST_F()
1523 Constant *CSplatF32Pi = ConstantVector::getSplat(EC, CF32Pi); in TEST_F()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp908 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
932 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
982 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
1000 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp913 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
937 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
987 cnval = ConstantDataVector::getSplat(getVecSize(FInfo), cnval); in fold_pow()
1005 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/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-10.0/llvm/include/llvm/IR/
DConstants.h517 static Constant *getSplat(unsigned NumElts, Constant *Elt);
793 static Constant *getSplat(unsigned NumElts, Constant *Elt);
/external/llvm-project/llvm/lib/Target/X86/
DX86InstCombineIntrinsic.cpp1431 APInt::getSplat(VWidth, APInt(2, (Imm & 0x01) ? 2 : 1)); in instCombineIntrinsic()
1440 APInt::getSplat(VWidth, APInt(2, (Imm & 0x10) ? 2 : 1)); in instCombineIntrinsic()
1919 APInt SubMask = APInt::getSplat(VWidth, APInt(2, 0x1)); in simplifyDemandedVectorEltsIntrinsic()
1923 APInt AddMask = APInt::getSplat(VWidth, APInt(2, 0x2)); in simplifyDemandedVectorEltsIntrinsic()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.h278 return llvm::ConstantVector::getSplat( in GetConstantFloat()
/external/llvm-project/llvm/include/llvm/IR/
DConstants.h526 static Constant *getSplat(ElementCount EC, Constant *Elt);
802 static Constant *getSplat(unsigned NumElts, Constant *Elt);

123