Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DConstants.cpp245 C = ConstantVector::getSplat(VTy->getNumElements(), C); in getIntegerValue()
262 return ConstantVector::getSplat(VTy->getNumElements(), in getAllOnesValue()
551 return ConstantVector::getSplat(VTy->getNumElements(), in getTrue()
563 return ConstantVector::getSplat(VTy->getNumElements(), in getFalse()
586 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
611 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
662 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
676 return ConstantVector::getSplat(VTy->getNumElements(), C); in get()
687 return ConstantVector::getSplat(VTy->getNumElements(), C); in getNaN()
698 return ConstantVector::getSplat(VTy->getNumElements(), C); in getNegativeZero()
[all …]
DAutoUpgrade.cpp299 Value *Res = ConstantVector::getSplat(NumElts, Builder.getInt8(0)); in UpgradeX86PSLLDQIntrinsics()
336 Value *Res = ConstantVector::getSplat(NumElts, Builder.getInt8(0)); in UpgradeX86PSRLDQIntrinsics()
466 Constant *MinusOne = ConstantVector::getSplat(NumElts, Builder.getInt64(-1)); in UpgradeIntrinsicCall()
/external/llvm/unittests/ADT/
DAPIntTest.cpp803 EXPECT_EQ(ValA, APInt::getSplat(8, ValA)); in TEST()
804 EXPECT_EQ(APInt(64, 0x0101010101010101ULL), APInt::getSplat(64, ValA)); in TEST()
807 EXPECT_EQ(APInt(4, 0xD), APInt::getSplat(4, ValB)); in TEST()
808 EXPECT_EQ(APInt(15, 0xDB6D), APInt::getSplat(15, ValB)); in TEST()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp439 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); in FoldShiftByConstant()
475 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); in FoldShiftByConstant()
/external/llvm/include/llvm/IR/
DConstants.h481 static Constant *getSplat(unsigned NumElts, Constant *Elt);
778 static Constant *getSplat(unsigned NumElts, Constant *Elt);
/external/llvm/include/llvm/ADT/
DAPInt.h546 static APInt getSplat(unsigned NewLen, const APInt &V) { in getSplat() function
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp2905 SDValue Mask55 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), in ExpandBitCount()
2907 SDValue Mask33 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), in ExpandBitCount()
2909 SDValue Mask0F = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), in ExpandBitCount()
2911 SDValue Mask01 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), in ExpandBitCount()
DSelectionDAG.cpp4047 APInt Val = APInt::getSplat(NumBits, C->getAPIntValue()); in getMemsetValue()
4063 APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01)); in getMemsetValue()
DDAGCombiner.cpp9198 SignMask = APInt::getSplat(IntVT.getSizeInBits(), SignMask); in visitFNEG()
9303 SignMask = APInt::getSplat(IntVT.getSizeInBits(), SignMask); in visitFABS()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp2314 StoreVal = ConstantVector::getSplat(NumElts, StoreVal); in RewriteMemIntrinUserOfAlloca()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp2159 Value* SV = llvm::ConstantVector::getSplat(nElts, C); in EmitNeonSplat()
5099 Value *SV = llvm::ConstantVector::getSplat(VTy->getNumElements(), cst); in EmitAArch64BuiltinExpr()
5128 Value* SV = llvm::ConstantVector::getSplat(VTy->getNumElements(), in EmitAArch64BuiltinExpr()
/external/llvm/lib/Analysis/
DValueTracking.cpp1517 KnownZero |= APInt::getSplat(Ty->getPrimitiveSizeInBits(), SignBit); in computeKnownBitsFromOperator()
DInstructionSimplify.cpp635 return ConstantVector::getSplat(V->getType()->getVectorNumElements(), in stripAndComputeConstantOffsets()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4882 return ConstantVector::getSplat(End, Val); in getConstantVector()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3350 Identity = ConstantVector::getSplat(VF, Iden); in vectorizeLoop()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp13522 C = ConstantVector::getSplat(NumElts, C); in LowerFABSorFNEG()
19564 SDValue And = GetMask(Srl, APInt::getSplat(Len, APInt(8, 0x55))); in LowerVectorCTPOPBitmath()
19568 SDValue AndLHS = GetMask(V, APInt::getSplat(Len, APInt(8, 0x33))); in LowerVectorCTPOPBitmath()
19570 SDValue AndRHS = GetMask(Srl, APInt::getSplat(Len, APInt(8, 0x33))); in LowerVectorCTPOPBitmath()
19576 V = GetMask(Add, APInt::getSplat(Len, APInt(8, 0x0F))); in LowerVectorCTPOPBitmath()