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

Declarations

include/llvm/IR/Constants.h
  517   static Constant *getSplat(unsigned NumElts, Constant *Elt);

References

include/llvm/Analysis/Utils/Local.h
   65         OpC = ConstantVector::getSplat(IntPtrTy->getVectorNumElements(), OpC);
lib/Analysis/InstructionSimplify.cpp
  670     return ConstantVector::getSplat(V->getType()->getVectorNumElements(),
lib/CodeGen/CodeGenPrepare.cpp
 6426       return ConstantVector::getSplat(End, Val);
lib/IR/ConstantFold.cpp
 2179                ? ConstantVector::getSplat(
lib/IR/Constants.cpp
  338     C = ConstantVector::getSplat(VTy->getNumElements(), C);
  355   return ConstantVector::getSplat(VTy->getNumElements(),
  627     return ConstantVector::getSplat(VTy->getNumElements(), TrueC);
  635     return ConstantVector::getSplat(VTy->getNumElements(), FalseC);
  658     return ConstantVector::getSplat(VTy->getNumElements(), C);
  682     return ConstantVector::getSplat(VTy->getNumElements(), C);
  727     return ConstantVector::getSplat(VTy->getNumElements(), C);
  739     return ConstantVector::getSplat(VTy->getNumElements(), C);
  752     return ConstantVector::getSplat(VTy->getNumElements(), C);
  763     return ConstantVector::getSplat(VTy->getNumElements(), C);
  774     return ConstantVector::getSplat(VTy->getNumElements(), C);
  785     return ConstantVector::getSplat(VTy->getNumElements(), C);
  796     return ConstantVector::getSplat(VTy->getNumElements(), C);
  844     return ConstantVector::getSplat(VTy->getNumElements(), C);
 2051       Idx = ConstantVector::getSplat(NumVecElts, Idx);
 2688   return ConstantVector::getSplat(NumElts, V);
lib/Transforms/InstCombine/InstCombineShifts.cpp
  704             Mask = ConstantVector::getSplat(VT->getNumElements(), Mask);
  739             Mask = ConstantVector::getSplat(VT->getNumElements(), Mask);
lib/Transforms/Vectorize/LoopVectorize.cpp
 1717                        ? ConstantVector::getSplat(VF, cast<Constant>(Mul))
 3688       Identity = ConstantVector::getSplat(VF, Iden);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 4337   Value* SV = llvm::ConstantVector::getSplat(nElts, C);
 8364     Value *SV = llvm::ConstantVector::getSplat(VTy->getNumElements(), cst);
 8393     Value* SV = llvm::ConstantVector::getSplat(VTy->getNumElements(),
unittests/FuzzMutate/OperationsTest.cpp
   95   Constant *v8i8 = ConstantVector::getSplat(8, i8);
   96   Constant *v4f16 = ConstantVector::getSplat(4, f16);