| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Constants.cpp | 401 C = ConstantVector::getSplat(VTy->getElementCount(), C); in getIntegerValue() 418 return ConstantVector::getSplat(VTy->getElementCount(), in getAllOnesValue() 520 delete static_cast<ConstantVector *>(C); in deleteConstant() 790 return ConstantVector::get(NewC); in replaceUndefsWith() 824 return ConstantVector::get(NewC); in mergeUndefsWith() 1363 ConstantVector::ConstantVector(VectorType *T, ArrayRef<Constant *> V) in ConstantVector() function in ConstantVector 1370 Constant *ConstantVector::get(ArrayRef<Constant*> V) { in get() 1697 void ConstantVector::destroyConstantImpl() { in destroyConstantImpl() 1707 if (const ConstantVector *CV = dyn_cast<ConstantVector>(this)) in getSplatValue() 2477 Idx = ConstantVector::getSplat(EltCount, Idx); in getGetElementPtr() [all …]
|
| H A D | ConstantFold.cpp | 78 return ConstantVector::get(Result); in BitCastConstantVector() 414 return ConstantVector::getSplat( in ConstantFoldCastInstruction() 427 return ConstantVector::get(res); in ConstantFoldCastInstruction() 536 if (ConstantVector *CondV = dyn_cast<ConstantVector>(Cond)) { in ConstantFoldSelectInstruction() 562 return ConstantVector::get(Result); in ConstantFoldSelectInstruction() 713 return ConstantVector::get(Result); in ConstantFoldInsertElementInstruction() 768 return ConstantVector::get(Result); in ConstantFoldShuffleVectorInstruction() 861 return ConstantVector::get(Result); in ConstantFoldUnaryInstruction() 1217 return ConstantVector::getSplat( in ConstantFoldBinaryInstruction() 1853 return ConstantVector::getSplat( in ConstantFoldCompareInstruction() [all …]
|
| H A D | ConstantsContext.h | 407 template <> struct ConstantInfo<ConstantVector> { 408 using ValType = ConstantAggrKeyType<ConstantVector>;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | ValueList.cpp | 200 } else if (isa<ConstantVector>(UserC)) { in resolveConstantForwardRefs() 201 NewC = ConstantVector::get(NewOps); in resolveConstantForwardRefs()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Value.def | 87 HANDLE_CONSTANT(ConstantVector) 105 HANDLE_CONSTANT_MARKER(ConstantAggregateLastVal, ConstantVector)
|
| H A D | Constants.h | 493 class ConstantVector final : public ConstantAggregate { 494 friend struct ConstantAggrKeyType<ConstantVector>; 497 ConstantVector(VectorType *T, ArrayRef<Constant *> Val);
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-diff/ |
| H A D | DifferenceEngine.cpp | 444 if (isa<ConstantVector>(L)) { in equivalentAsOperands() 445 const ConstantVector *CVL = cast<ConstantVector>(L); in equivalentAsOperands() 446 const ConstantVector *CVR = cast<ConstantVector>(R); in equivalentAsOperands()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 250 return ConstantVector::get(Result); in FoldBitCast() 296 return ConstantVector::get(Result); in FoldBitCast() 509 if (isa<ConstantArray>(C) || isa<ConstantVector>(C) || in ReadDataFromGlobal() 1183 assert(isa<ConstantVector>(C)); in ConstantFoldConstantImpl() 1184 return ConstantVector::get(Ops); in ConstantFoldConstantImpl() 2358 if (isa<ConstantVector>(Operands[0]) || in ConstantFoldScalarCall1() 2700 if ((isa<ConstantVector>(Operands[0]) || in ConstantFoldScalarCall2() 3049 return ConstantVector::get(NewElements); in ConstantFoldFixedVectorCall() 3070 return ConstantVector::get(NCs); in ConstantFoldFixedVectorCall() 3089 return ConstantVector::get(NCs); in ConstantFoldFixedVectorCall() [all …]
|
| H A D | VectorUtils.cpp | 782 return ConstantVector::get(Mask); in createBitMaskForGaps() 944 if (auto *CV = dyn_cast<ConstantVector>(Mask)) in possiblyDemandedEltsInMask()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 252 return ConstantVector::get(VectorValue); in getRandomValue() 429 return PT->push_back(ConstantVector::getAllOnesValue(Ty)); in Act() 432 return PT->push_back(ConstantVector::getNullValue(Ty)); in Act() 519 Constant *Mask = ConstantVector::get(Idxs); in Act()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/Utils/ |
| H A D | Local.h | 65 OpC = ConstantVector::getSplat(
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandVectorPredication.cpp | 87 auto *ConstVec = dyn_cast<ConstantVector>(MaskVal); in isAllTrueMask() 187 return ConstantVector::get(ConstElems); in createStepVector()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 336 const ConstantVector *LV = cast<ConstantVector>(L); in cmpConstants() 337 const ConstantVector *RV = cast<ConstantVector>(R); in cmpConstants()
|
| H A D | ValueMapper.cpp | 513 if (isa<ConstantVector>(C)) in mapValue() 514 return getVM()[V] = ConstantVector::get(Ops); in mapValue()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 1132 Constant *NewCV = ConstantVector::get(Elts); in SimplifyDemandedVectorElts() 1368 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(0))) { in SimplifyDemandedVectorElts() 1375 if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(1))) { in SimplifyDemandedVectorElts() 1419 if (auto *CV = dyn_cast<ConstantVector>(Sel->getCondition())) { in SimplifyDemandedVectorElts() 1520 if (auto *CV = dyn_cast<ConstantVector>(II->getOperand(2))) in SimplifyDemandedVectorElts()
|
| H A D | InstructionCombining.cpp | 931 if (ConstantVector *CV = dyn_cast<ConstantVector>(V)) { in dyn_castNegVal() 1733 Constant *NewC = ConstantVector::get(NewVecC); in foldVectorBinop() 4033 if (!isa<ConstantVector>(U) && !isa<ConstantExpr>(U)) in prepareICWorklistFromFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngine.cpp | 918 const ConstantVector *CV = dyn_cast<ConstantVector>(C); in getConstantValue() 1138 if (const ConstantVector *CP = dyn_cast<ConstantVector>(Init)) { in InitializeMemory()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXGenericToNVVM.cpp | 219 if (isa<ConstantVector>(C)) { in remapConstantVectorOrConstantAggregate()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 412 return ConstantVector::get(ConstantVec); in simplifyX86varShift() 427 auto ShiftVec = ConstantVector::get(ShiftVecAmts); in simplifyX86varShift() 627 return ConstantVector::get(Args); in simplifyX86extrq() 784 return ConstantVector::get(Args); in simplifyX86insertq()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/ |
| H A D | InstCombiner.h | 354 return ConstantVector::get(Out); in getSafeVectorConstantForBinop()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfiler.cpp | 425 if (auto *Vector = dyn_cast<ConstantVector>(Mask)) { in instrumentMaskedLoadOrStore()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | EarlyCSE.cpp | 867 auto *Vec0 = dyn_cast<ConstantVector>(Mask0); in isNonTargetIntrinsicMatch() 868 auto *Vec1 = dyn_cast<ConstantVector>(Mask1); in isNonTargetIntrinsicMatch()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.cpp | 1235 VF.isScalar() ? Indices.back() : ConstantVector::get(Indices); in execute() 1330 Iden = ConstantVector::getSplat(State.VF, IdenC); in execute()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDecl.cpp | 890 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) || in canEmitInitWithFewStoresAfterBZero() 928 isa<llvm::ConstantVector>(Init) || isa<llvm::BlockAddress>(Init) || in emitStoresForInitAfterBZero() 1310 return llvm::ConstantVector::get(Values); in replaceUndef()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 994 return ConstantVector::getSplat(VecTy->getElementCount(), Zero); in getNullValue() 1002 return ConstantVector::getSplat(VecTy->getElementCount(), Minus1); in getFullValue()
|