/external/llvm/lib/IR/ |
D | Constants.cpp | 245 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 …]
|
D | AutoUpgrade.cpp | 299 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/ |
D | APIntTest.cpp | 803 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/ |
D | InstCombineShifts.cpp | 439 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); in FoldShiftByConstant() 475 Mask = ConstantVector::getSplat(VT->getNumElements(), Mask); in FoldShiftByConstant()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 481 static Constant *getSplat(unsigned NumElts, Constant *Elt); 778 static Constant *getSplat(unsigned NumElts, Constant *Elt);
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 546 static APInt getSplat(unsigned NewLen, const APInt &V) { in getSplat() function
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 2905 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()
|
D | SelectionDAG.cpp | 4047 APInt Val = APInt::getSplat(NumBits, C->getAPIntValue()); in getMemsetValue() 4063 APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01)); in getMemsetValue()
|
D | DAGCombiner.cpp | 9198 SignMask = APInt::getSplat(IntVT.getSizeInBits(), SignMask); in visitFNEG() 9303 SignMask = APInt::getSplat(IntVT.getSizeInBits(), SignMask); in visitFABS()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 2314 StoreVal = ConstantVector::getSplat(NumElts, StoreVal); in RewriteMemIntrinUserOfAlloca()
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 2159 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/ |
D | ValueTracking.cpp | 1517 KnownZero |= APInt::getSplat(Ty->getPrimitiveSizeInBits(), SignBit); in computeKnownBitsFromOperator()
|
D | InstructionSimplify.cpp | 635 return ConstantVector::getSplat(V->getType()->getVectorNumElements(), in stripAndComputeConstantOffsets()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4882 return ConstantVector::getSplat(End, Val); in getConstantVector()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 3350 Identity = ConstantVector::getSplat(VF, Iden); in vectorizeLoop()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 13522 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()
|