reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/ADT/APInt.h
  654   static APInt getSplat(unsigned NewLen, const APInt &V);

References

lib/CodeGen/GlobalISel/CombinerHelper.cpp
  898     APInt SplatVal = APInt::getSplat(NumBits, Scalar);
  910     APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01));
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
13182         SignMask = APInt::getSplat(IntVT.getSizeInBits(), SignMask);
13280         SignMask = APInt::getSplat(IntVT.getSizeInBits(), SignMask);
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
 2550     APInt MaskHi4 = APInt::getSplat(Sz, APInt(8, 0xF0));
 2551     APInt MaskHi2 = APInt::getSplat(Sz, APInt(8, 0xCC));
 2552     APInt MaskHi1 = APInt::getSplat(Sz, APInt(8, 0xAA));
 2553     APInt MaskLo4 = APInt::getSplat(Sz, APInt(8, 0x0F));
 2554     APInt MaskLo2 = APInt::getSplat(Sz, APInt(8, 0x33));
 2555     APInt MaskLo1 = APInt::getSplat(Sz, APInt(8, 0x55));
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 5634     APInt Val = APInt::getSplat(NumBits, C->getAPIntValue());
 5653     APInt Magic = APInt::getSplat(NumBits, APInt(8, 0x01));
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 6183       DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), dl, VT);
 6185       DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), dl, VT);
 6187       DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), dl, VT);
 6189       DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), dl, VT);
lib/Target/X86/X86ISelLowering.cpp
 6176       UndefElts = APInt::getSplat(NumElts, UndefElts);
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  277   APInt Mask55 = APInt::getSplat(Len, APInt(8, 0x55));
  278   APInt Mask33 = APInt::getSplat(Len, APInt(8, 0x33));
  279   APInt Mask0F = APInt::getSplat(Len, APInt(8, 0x0F));
  280   APInt Mask01 = APInt::getSplat(Len, APInt(8, 0x01));
lib/Transforms/InstCombine/InstCombineCalls.cpp
 2869       APInt DemandedElts1 = APInt::getSplat(VWidth,
 2878       APInt DemandedElts2 = APInt::getSplat(VWidth,
tools/clang/lib/CodeGen/PatternInit.cpp
   42         Ty, llvm::APInt::getSplat(BitWidth, llvm::APInt(64, IntValue)));
   61       Payload = llvm::APInt::getSplat(BitWidth, Payload);
unittests/ADT/APIntTest.cpp
 1532   EXPECT_EQ(ValA, APInt::getSplat(8, ValA));
 1533   EXPECT_EQ(APInt(64, 0x0101010101010101ULL), APInt::getSplat(64, ValA));
 1536   EXPECT_EQ(APInt(4, 0xD), APInt::getSplat(4, ValB));
 1537   EXPECT_EQ(APInt(15, 0xDB6D), APInt::getSplat(15, ValB));